summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Smith <tsmith@chef.io>2018-10-29 10:52:47 -0700
committerTim Smith <tsmith@chef.io>2018-10-29 10:52:47 -0700
commitf18b33c24a6c180fcf4fede84c67d13ba335602a (patch)
tree335f37c3810e4dcfd5cc5e56d9fc66b949e15e0d
parent26bc400af6b491c78c4d775b10314074f0925513 (diff)
downloadohai-misc_cleanup.tar.gz
Don't ship the outdated man page with Ohaimisc_cleanup
Signed-off-by: Tim Smith <tsmith@chef.io>
-rw-r--r--docs/man/man1/ohai.197
-rw-r--r--ohai.gemspec3
2 files changed, 1 insertions, 99 deletions
diff --git a/docs/man/man1/ohai.1 b/docs/man/man1/ohai.1
deleted file mode 100644
index 2a255eb7..00000000
--- a/docs/man/man1/ohai.1
+++ /dev/null
@@ -1,97 +0,0 @@
-.\" Man page generated from reStructuredText.
-.
-.TH "OHAI" "1" "Ohai 7.0.0" "" "ohai"
-.SH NAME
-ohai \- The man page for the ohai command line tool.
-.
-.nr rst2man-indent-level 0
-.
-.de1 rstReportMargin
-\\$1 \\n[an-margin]
-level \\n[rst2man-indent-level]
-level margin: \\n[rst2man-indent\\n[rst2man-indent-level]]
--
-\\n[rst2man-indent0]
-\\n[rst2man-indent1]
-\\n[rst2man-indent2]
-..
-.de1 INDENT
-.\" .rstReportMargin pre:
-. RS \\$1
-. nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin]
-. nr rst2man-indent-level +1
-.\" .rstReportMargin post:
-..
-.de UNINDENT
-. RE
-.\" indent \\n[an-margin]
-.\" old: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.nr rst2man-indent-level -1
-.\" new: \\n[rst2man-indent\\n[rst2man-indent-level]]
-.in \\n[rst2man-indent\\n[rst2man-indent-level]]u
-..
-.sp
-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. (Ohai is installed on a node as part of the chef\-client install process.)
-.sp
-The types of attributes Ohai collects include (but are not limited to):
-.INDENT 0.0
-.IP \(bu 2
-Platform details
-.IP \(bu 2
-Network usage
-.IP \(bu 2
-Memory usage
-.IP \(bu 2
-Processor usage
-.IP \(bu 2
-Kernel data
-.IP \(bu 2
-Host names
-.IP \(bu 2
-Fully qualified domain names
-.IP \(bu 2
-Other configuration details
-.UNINDENT
-.sp
-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.
-.sp
-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.
-.SH OPTIONS
-.sp
-This command has the following syntax:
-.INDENT 0.0
-.INDENT 3.5
-.sp
-.nf
-.ft C
-ohai OPTION
-.ft P
-.fi
-.UNINDENT
-.UNINDENT
-.sp
-This tool has the following options:
-.INDENT 0.0
-.TP
-.B \fBATTRIBUTE_NAME ATTRIBUTE NAME ...\fP
-Use to have Ohai show only output for named attributes.
-.TP
-.B \fB\-d PATH\fP, \fB\-\-directory PATH\fP
-The directory in which Ohai plugins are located. For example: \fB/etc/ohai/plugins\fP\&.
-.TP
-.B \fB\-h\fP, \fB\-\-help\fP
-Shows help for the command.
-.TP
-.B \fB\-l LEVEL\fP, \fB\-\-log_level LEVEL\fP
-The level of logging that will be stored in a log file.
-.TP
-.B \fB\-L LOGLOCATION\fP, \fB\-\-logfile c\fP
-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).
-.TP
-.B \fB\-v\fP, \fB\-\-version\fP
-The version of Ohai\&.
-.UNINDENT
-.SH AUTHOR
-Opscode
-.\" Generated by docutils manpage writer.
-.
diff --git a/ohai.gemspec b/ohai.gemspec
index 108b9fbf..422d9ef7 100644
--- a/ohai.gemspec
+++ b/ohai.gemspec
@@ -5,7 +5,6 @@ require "ohai/version"
Gem::Specification.new do |s|
s.name = "ohai"
s.version = Ohai::VERSION
- s.platform = Gem::Platform::RUBY
s.summary = "Ohai profiles your system and emits JSON"
s.description = s.summary
s.license = "Apache-2.0"
@@ -35,5 +34,5 @@ Gem::Specification.new do |s|
s.executables = %w{ohai}
s.require_path = "lib"
- s.files = %w{LICENSE README.md Gemfile Rakefile} + Dir.glob("*.gemspec") + Dir.glob("{docs,lib,spec}/**/*")
+ s.files = %w{LICENSE README.md Gemfile Rakefile} + Dir.glob("*.gemspec") + Dir.glob("{lib,spec}/**/*")
end