li jackie
2014-Aug-13 02:37 UTC
[Puppet Users] puppet can't get the right service status from centos5.3
<https://lh4.googleusercontent.com/-2j8w2ZuysAU/U-rOEIf5WGI/AAAAAAAAAIQ/oE2NS4B_-oQ/s1600/AEB7B4B0-75CF-4074-B133-02610CDDC042.png>why puppet think the service is running? <https://lh4.googleusercontent.com/-2j8w2ZuysAU/U-rOEIf5WGI/AAAAAAAAAIQ/oE2NS4B_-oQ/s1600/AEB7B4B0-75CF-4074-B133-02610CDDC042.png>/sbin/service puppet status or /etc/init.d/puppet status return the right status and exit code <https://lh4.googleusercontent.com/-2j8w2ZuysAU/U-rOEIf5WGI/AAAAAAAAAIQ/oE2NS4B_-oQ/s1600/AEB7B4B0-75CF-4074-B133-02610CDDC042.png>because of this, i have always get a changed message: <https://lh4.googleusercontent.com/-2j8w2ZuysAU/U-rOEIf5WGI/AAAAAAAAAIQ/oE2NS4B_-oQ/s1600/AEB7B4B0-75CF-4074-B133-02610CDDC042.png> fff <https://lh4.googleusercontent.com/-2j8w2ZuysAU/U-rOEIf5WGI/AAAAAAAAAIQ/oE2NS4B_-oQ/s1600/AEB7B4B0-75CF-4074-B133-02610CDDC042.png> Notice: /Stage[main]/Puppet/Service[puppet]/ensure: ensure changed 'running' to 'stopped' my cluser show a rule: almost all centos 5.3 have this issue. 5.8 and above 6 havn't -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/8121ac9a-3a54-4e3c-9246-0198d29294a8%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.