diff options
author | Jesse Wolfe <jes5199@gmail.com> | 2011-02-03 16:39:48 -0800 |
---|---|---|
committer | Jesse Wolfe <jes5199@gmail.com> | 2011-02-03 16:39:48 -0800 |
commit | c469f99301563c899dcca43e81ae14a8580931fc (patch) | |
tree | 8131cc4e9064a3a4a996f89179bdd0d6fbe0b40c | |
parent | 69600bea8a5cc30162d6f07f5e2fc1b701081a8a (diff) | |
parent | f108f0330623f643343709b29921608b6c76874a (diff) | |
download | puppet-c469f99301563c899dcca43e81ae14a8580931fc.tar.gz puppet-c469f99301563c899dcca43e81ae14a8580931fc.tar.xz puppet-c469f99301563c899dcca43e81ae14a8580931fc.zip |
Merge branch 'docs/2.6.next/inspect-help' into 2.6.next
-rw-r--r-- | lib/puppet/application/inspect.rb | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/lib/puppet/application/inspect.rb b/lib/puppet/application/inspect.rb index 77e8476a2..52ef97530 100644 --- a/lib/puppet/application/inspect.rb +++ b/lib/puppet/application/inspect.rb @@ -19,6 +19,59 @@ class Puppet::Application::Inspect < Puppet::Application end end + def help + puts <<-HELP ; exit # XXX + +SYNOPSIS +======== + +Prepare and submit an inspection report to the puppet master. + + +USAGE +===== + + puppet inspect + + +DESCRIPTION +=========== + +This command uses the cached catalog from the previous run of 'puppet +agent' to determine which attributes of which resources have been +marked as auditable with the 'audit' metaparameter. It then examines +the current state of the system, writes the state of the specified +resource attributes to a report, and submits the report to the puppet +master. + +Puppet inspect does not run as a daemon, and must be run manually or from cron. + + +OPTIONS +======= + +Any configuration setting which is valid in the configuration file is +also a valid long argument, e.g. '--server=master.domain.com'. See the +configuration file documentation at +http://docs.puppetlabs.com/references/latest/configuration.html for +the full list of acceptable settings. + + +AUTHOR +====== + +Puppet Labs + + +COPYRIGHT +========= + +Copyright (c) 2011 Puppet Labs, LLC +Licensed under the GNU General Public License version 2 + + HELP + end + def setup exit(Puppet.settings.print_configs ? 0 : 1) if Puppet.settings.print_configs? |