Thx for info Le 29 févr. 2012 17:41, "Gary Larizza" <[email protected]> a écrit :
> I believe running puppet agent with -t or --test will turn on > --detailed-exitcode which provides extended non-zero exit codes (2 for > resource changes, 4 for transaction failures) > http://projects.puppetlabs.com/issues/4968 > > > > On Wed, Feb 29, 2012 at 2:46 AM, Antidot SAS <[email protected]> wrote: > >> Hi everyone, >> >> >> Is that normal that when I have some puppet actions made but with no >> error the return status is not "0": >> >> [root@XXXXXXXX]:/var/spool/mail # puppet agent -t --verbose >> info: Retrieving plugin >> info: Loading facts in root_home >> info: Loading facts in meminbytes >> info: Loading facts in facter_dot_d >> info: Loading facts in root_home >> info: Loading facts in meminbytes >> info: Loading facts in facter_dot_d >> info: Caching catalog for XXXXXXXXXXXXXXXXXXx >> info: Applying configuration version '1330512050' >> notice: /Stage[main]/Common::Mail/Service[sendmail]/ensure: ensure >> changed 'stopped' to 'running' >> notice: Finished catalog run in 7.96 seconds >> [root@lnk4c-cks01]:/var/spool/mail # echo $? >> 2 >> >> >> >> >> >> -- >> 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. >> > > > > -- > > Gary Larizza > Professional Services Engineer > Puppet Labs > > -- > 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. > -- 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.
