diff options
| author | nfagerlund <nick.fagerlund@gmail.com> | 2011-07-15 10:52:37 -0700 |
|---|---|---|
| committer | nfagerlund <nick.fagerlund@gmail.com> | 2011-07-15 11:54:30 -0700 |
| commit | d02000bf0060045eb27649ce2b433dcac34a7827 (patch) | |
| tree | c1c1264f262a22e23b452d2146db372b60918c69 /lib/puppet/application/agent.rb | |
| parent | afc3616dc31f4a432410be4081a657726a257986 (diff) | |
| download | puppet-d02000bf0060045eb27649ce2b433dcac34a7827.tar.gz puppet-d02000bf0060045eb27649ce2b433dcac34a7827.tar.xz puppet-d02000bf0060045eb27649ce2b433dcac34a7827.zip | |
(#8401) Document that --detailed-exitcodes is a bitmask
The agent/apply/device man pages mentioned the 2 and 4 exit codes, but didn't
mention that they can combine to make 6 if there are both changes and failures.
This commit adds the missing information to all three man pages.
Reviewed-by: Matt Robinson <matt@puppetlabs.com>
Diffstat (limited to 'lib/puppet/application/agent.rb')
| -rw-r--r-- | lib/puppet/application/agent.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/puppet/application/agent.rb b/lib/puppet/application/agent.rb index f0442648b..ea7cbdfb5 100644 --- a/lib/puppet/application/agent.rb +++ b/lib/puppet/application/agent.rb @@ -187,10 +187,10 @@ configuration options can also be generated by running puppet agent with should always at least contain MD5, MD2, SHA1 and SHA256. * --detailed-exitcodes: - Provide transaction information via exit codes. If this is enabled, an - exit code of '2' means there were changes, and an exit code of '4' - means that there were failures during the transaction. This option - only makes sense in conjunction with --onetime. + Provide transaction information via exit codes. If this is enabled, an exit + code of '2' means there were changes, an exit code of '4' means there were + failures during the transaction, and an exit code of '6' means there were both + changes and failures. * --disable: Disable working on the local system. This puts a lock file in place, |
