You could also test to see if post-command is run. On Jul 16, 2010, at 12:47 PM, R.I.Pienaar wrote:
> > ----- "Yushu" <yao.yu...@gmail.com> wrote: > >> Hi Experts, >> >> I'm running "puppetd --no-daemonize --debug --onetime". >> Is there a way to figure out if the one time run is success? >> I couldn't do it by looking at the return value, it return 0 when >> "err: skipping run" >> >> Success meaning All definitions are applied and nothing failed. >> >> I can of course grep for "err:" but I'm just wondering is there an >> official way of doing this? >> > > slightly less hacky though still hacky is to just add --summarize to the > command line and parse that output. > -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.