Dear community, I use puppet to deploy iptables on every server. This is working fine.
In the manifest I defined an iptables service which leads to my init script. The thing is each time I run puppet I got : notice: /Stage[main]/Iptables/Service[netfilter]/ensure: ensure changed 'stopped' to 'running' I would like to add a status command to my startup script in order to reduce the number of iptables restart. I wasn't able to find out what return code puppet was waiting for a running service ? If iptables is running does the script should return 0 ? If not running it should return 1 ? Then I'll add hasstatus => true, to my service. Regards Hugo -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-users@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.