Issue #16215 has been reported by Yves Jans.
----------------------------------------
Bug #16215: Wrong agent exit code on bad URI
https://projects.puppetlabs.com/issues/16215
Author: Yves Jans
Status: Unreviewed
Priority: Normal
Assignee:
Category: agent
Target version:
Affected Puppet version: 2.7.19
Keywords:
Branch:
We use the --detailed-exitcodes option to catch issues with automated scripts.
It seems like the exit code on a bad URI isn't working.
To reproduce:
file {
'/tmp/files':
owner => 'root',
group => 'root',
mode => '0640',
source => '/tmp/source',
recurse => true,
}
ls /tmp/source
badfile\ [en].odt file1 file2
puppet apply /tmp/test.pp --detailed-exitcodes
err: /Stage[main]//File[/tmp/files]: Failed to generate additional resources
using 'eval_generate: Parameter source failed: Could not understand source
file:/tmp/source/badfile [en].odt: bad URI(is not URI?):
file:/tmp/source/badfile%20[en].odt
notice: Finished catalog run in 1.37 seconds
echo $?
0
puppet -V
2.7.19
--
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 post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/puppet-bugs?hl=en.