diff options
| author | Jacob Helwig <jacob@puppetlabs.com> | 2011-02-03 19:14:23 -0800 |
|---|---|---|
| committer | Jacob Helwig <jacob@puppetlabs.com> | 2011-02-03 19:14:23 -0800 |
| commit | ec4254dec20c8cc8ab9ef3065f4325ed52b9eacd (patch) | |
| tree | 1d847e457af83163dadd933632ab3af1eeedbddd /lib/puppet/application | |
| parent | 876d0503dd93329a73e7f335c10a47330d745293 (diff) | |
| parent | e10ba1ab720cb62b39b430104a55a987f4c37f31 (diff) | |
| download | puppet-ec4254dec20c8cc8ab9ef3065f4325ed52b9eacd.tar.gz puppet-ec4254dec20c8cc8ab9ef3065f4325ed52b9eacd.tar.xz puppet-ec4254dec20c8cc8ab9ef3065f4325ed52b9eacd.zip | |
Merge branch '2.6.next' into 2.6.x
* 2.6.next:
(#6018) Nick F's --help text for puppet inspect.
(#5823) document the not-an-API status of set_run_mode
(#5823) run mode can now be set dynamically...
(6114) Update the audit metaparameter for 2.6.5.
Fix for #5755 -- making zaml serialization robust over projected objects
(#4139) hook log autoflush into global defaults
Diffstat (limited to 'lib/puppet/application')
| -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? |
