Displaying 1 result from an estimated 1 matches for "doesnotexit".
Did you mean:
doesnotexist
2014 Mar 10
0
when a puppet exec resource contains several "single commands", puppet exec only fails if the last exec command fails
exec {'test':
command => "/bin/ls /doesnotexit",
}
fails as expected:
Error: /bin/ls /doesnotexit returned 1 instead of one of [0]
Error: /Stage[main]//Exec[test]/returns: change from notrun to 0 failed:
/bin/ls /doesnotexit returned 1 instead of one of [0]
However,
exec {'test':
command => "/bin/ls /doesnotexit; /b...