ohai 6.20.0.rc.1 → 6.20.0
Sign up to get free protection for your applications and to get access to all the features.
- data/docs/man/man1/ohai.1 +86 -18
- data/lib/ohai/version.rb +1 -1
- metadata +5 -5
data/docs/man/man1/ohai.1
CHANGED
@@ -1,23 +1,91 @@
|
|
1
|
-
|
2
|
-
.TH OHAI "1" "April 2009" "ohai" "User Commands"
|
1
|
+
.TH "OHAI" "1" "Ohai 6.20.0" "" "ohai"
|
3
2
|
.SH NAME
|
4
|
-
ohai \-
|
5
|
-
.
|
6
|
-
.
|
7
|
-
|
8
|
-
.
|
9
|
-
|
10
|
-
|
3
|
+
ohai \- The man page for the ohai command line tool.
|
4
|
+
.
|
5
|
+
.nr rst2man-indent-level 0
|
6
|
+
.
|
7
|
+
.de1 rstReportMargin
|
8
|
+
\\$1 \\n[an-margin]
|
9
|
+
level \\n[rst2man-indent-level]
|
10
|
+
level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
11
|
+
-
|
12
|
+
\\n[rst2man-indent0]
|
13
|
+
\\n[rst2man-indent1]
|
14
|
+
\\n[rst2man-indent2]
|
15
|
+
..
|
16
|
+
.de1 INDENT
|
17
|
+
.\" .rstReportMargin pre:
|
18
|
+
. RS \\$1
|
19
|
+
. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
|
20
|
+
. nr rst2man-indent-level +1
|
21
|
+
.\" .rstReportMargin post:
|
22
|
+
..
|
23
|
+
.de UNINDENT
|
24
|
+
. RE
|
25
|
+
.\" indent \\n[an-margin]
|
26
|
+
.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
27
|
+
.nr rst2man-indent-level -1
|
28
|
+
.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
|
29
|
+
.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
|
30
|
+
..
|
31
|
+
.\" Man page generated from reStructuredText.
|
32
|
+
.
|
33
|
+
.sp
|
34
|
+
Ohai is a tool that is used to detect attributes on a node, and then provide these attributes to the chef\-client at the start of every chef\-client run. Ohai is required by the chef\-client and must be present on a node. The types of attributes Ohai collects include:
|
35
|
+
.INDENT 0.0
|
36
|
+
.IP \(bu 2
|
37
|
+
Platform details
|
38
|
+
.IP \(bu 2
|
39
|
+
Networking usage
|
40
|
+
.IP \(bu 2
|
41
|
+
Memory usage
|
42
|
+
.IP \(bu 2
|
43
|
+
Processor usage
|
44
|
+
.IP \(bu 2
|
45
|
+
Kernel data
|
46
|
+
.IP \(bu 2
|
47
|
+
Host names
|
48
|
+
.IP \(bu 2
|
49
|
+
Fully qualified domain names
|
50
|
+
.IP \(bu 2
|
51
|
+
Other configuration details
|
52
|
+
.UNINDENT
|
53
|
+
.sp
|
54
|
+
Attributes that are collected by Ohai are automatic attributes, in that these attributes are used by the chef\-client to ensure that these attributes remain unchanged after the chef\-client is done configuring the node.
|
55
|
+
.sp
|
56
|
+
ohai is the command\-line interface for Ohai, a tool that is used to detect attributes on a node, and then provide these attributes to the chef\-client at the start of every chef\-client run.
|
57
|
+
.SH OPTIONS
|
58
|
+
.sp
|
59
|
+
This command has the following syntax:
|
60
|
+
.sp
|
61
|
+
.nf
|
62
|
+
.ft C
|
63
|
+
ohai OPTION
|
64
|
+
.ft P
|
65
|
+
.fi
|
66
|
+
.sp
|
67
|
+
This tool has the following options:
|
68
|
+
.INDENT 0.0
|
11
69
|
.TP
|
12
|
-
\fB\-d\
|
13
|
-
|
70
|
+
.B \fB\-d PATH\fP, \fB\-\-directory PATH\fP
|
71
|
+
The directory in which Ohai plugins are located. For example: \fB/etc/ohai/plugins\fP.
|
14
72
|
.TP
|
15
|
-
\fB\-f\
|
16
|
-
|
73
|
+
.B \fB\-f FILE_NAME\fP, \fB\-\-file FILE_NAME\fP
|
74
|
+
The file against which Ohai will run.
|
17
75
|
.TP
|
18
|
-
\fB\-
|
19
|
-
|
76
|
+
.B \fB\-h\fP, \fB\-\-help\fP
|
77
|
+
Shows help for the command.
|
20
78
|
.TP
|
21
|
-
\fB\-
|
22
|
-
|
23
|
-
.
|
79
|
+
.B \fB\-l LEVEL\fP, \fB\-\-log\-level LEVEL\fP
|
80
|
+
The level of logging that will be stored in a log file: \fBdebug\fP, \fBinfo\fP, \fBwarn\fP, \fBerror\fP, or \fBfatal\fP.
|
81
|
+
.TP
|
82
|
+
.B \fB\-L LOGLOCATION\fP, \fB\-\-logfile c\fP
|
83
|
+
The location in which log file output files will be saved. If this location is set to something other than \fBSTDOUT\fP, standard output logging will still be performed (otherwise there would be no output other than to a file).
|
84
|
+
.TP
|
85
|
+
.B \fB\-v\fP, \fB\-\-version\fP
|
86
|
+
The version of the chef\-client.
|
87
|
+
.UNINDENT
|
88
|
+
.SH AUTHOR
|
89
|
+
Opscode
|
90
|
+
.\" Generated by docutils manpage writer.
|
91
|
+
.
|
data/lib/ohai/version.rb
CHANGED
metadata
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ohai
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 6.20.0
|
5
|
-
prerelease:
|
4
|
+
version: 6.20.0
|
5
|
+
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Adam Jacob
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-10-
|
12
|
+
date: 2013-10-31 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: systemu
|
@@ -456,9 +456,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
456
456
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
457
457
|
none: false
|
458
458
|
requirements:
|
459
|
-
- - ! '
|
459
|
+
- - ! '>='
|
460
460
|
- !ruby/object:Gem::Version
|
461
|
-
version:
|
461
|
+
version: '0'
|
462
462
|
requirements: []
|
463
463
|
rubyforge_project:
|
464
464
|
rubygems_version: 1.8.23
|