Issue #21951 has been reported by lee hanel.

----------------------------------------
Bug #21951: catalog failures should cause an exit status other than 0
https://projects.puppetlabs.com/issues/21951

* Author: lee hanel
* Status: Unreviewed
* Priority: Normal
* Assignee: 
* Category: 
* Target version: 
* Affected Puppet version: 3.2.3
* Keywords: 
* Branch: 
----------------------------------------
When using the --detailed-exitcodes option, and preforming the following:

{code}
bundle exec puppet apply  --detailed-exitcodes -e 'notify { "foo": require => 
Notify[foo] }'
/dev/mem: Permission denied
Notice: Compiled catalog for blah in environment production in 0.04 seconds
/dev/mem: Permission denied
Error: Could not apply complete catalog: Found 1 dependency cycle:
(Notify[foo] => Notify[foo])
Try the '--graph' option and opening the resulting '.dot' file in OmniGraffle 
or GraphViz
Notice: Finished catalog run in 0.02 seconds
lhanel@Blah:~/git/puppet$ echo $?
0
{code}
puppet should exit with an exit code OTHER than 0

http://projects.puppetlabs.com/issues/14652


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://projects.puppetlabs.com/my/account

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/puppet-bugs.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to