Caution: puppet agent --test will return non-zero exit code if any resources needed changing.
If in doubt, prefer puppet agent --one-time --no-daemonize (typos notwithstanding). On 11/14/2011 01:01 PM, John Kennedy wrote: > puppet agent --test > ANSW=$? Otherwise, I'm stumped, this shouldn't happen. You could try and execute puppet in a subshell and see if the rest of the script is run then. ( puppet agent --test ) Cheers, Felix -- You received this message because you are subscribed to the Google Groups "Puppet Users" 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-users?hl=en.
