diff options
author | James Turnbull <james@lovedthanlost.net> | 2009-05-27 22:49:16 +1000 |
---|---|---|
committer | James Turnbull <james@lovedthanlost.net> | 2009-05-27 22:49:16 +1000 |
commit | 3ec3f915306dac13370f64795c399df97fc2d992 (patch) | |
tree | c8c409137c5cdccccd1b68c6d14b3ec2602dd1b9 /lib | |
parent | f98d49f2d20ed52cd33504c5d0ef97d0edf9107f (diff) | |
download | puppet-3ec3f915306dac13370f64795c399df97fc2d992.tar.gz puppet-3ec3f915306dac13370f64795c399df97fc2d992.tar.xz puppet-3ec3f915306dac13370f64795c399df97fc2d992.zip |
Fixed #2280 - Detailed exit codes fix
Diffstat (limited to 'lib')
-rw-r--r-- | lib/puppet/application/puppet.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/puppet/application/puppet.rb b/lib/puppet/application/puppet.rb index ce88a6868..ee848a503 100644 --- a/lib/puppet/application/puppet.rb +++ b/lib/puppet/application/puppet.rb @@ -81,7 +81,7 @@ Puppet::Application.new(:puppet) do transaction = catalog.apply status = 0 - if not Puppet[:noop] and options[:detailed_exits] then + if not Puppet[:noop] and options[:detailed_exitcodes] then transaction.generate_report status |= 2 if transaction.report.metrics["changes"][:total] > 0 status |= 4 if transaction.report.metrics["resources"][:failed] > 0 |