How do I combine --noop and --detailed-exitcodes ?
I'd like to disable the puppet agent and roll out changes manually. I'm only managing a few servers. However, to ensure things are kept up to date, I'd like to schedule a cron job which will notify me if there are changes outstanding.
I did some research and figured I could probably try something like
puppet agent --test --noop --detailed-exitcodes. However, that always exits
puppet agent --test --detailed-exitcodes does produces a meaningful exit code.
Short of grepping the output of
puppet agent --test --noop is there a more elegant way to achieve my goal?