Hello,

I would like to build a script, which notifies me, when a production host 
notices, that there change on a host, based on the Puppet exit codes 
without executing it.

This doesn't returns a code. According to several posts on the web it 
should work. (I know that --test should also inherit --detailed-exitcode). 
But it didn't work for me:
puppet agent --test --noop --detailed-exitcode

I'd like to avoid to build a bash wrapper around it if Puppet provides 
already the function to dry-run and return an exit code, so I can build it 
entirely in Ruby.

Would really appreciate it if somebody could help.

Best regards,
Felix

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/puppet-users/-/N01BOTmDwV4J.
To post to this group, send email to puppet-users@googlegroups.com.
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to