-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

ere wrote:

| As you can see I first start crond and iptables, then execute puppet,
| and finally check the result.
| Crond stops, but not iptables even if that is what I (think I)
| specified in the manifest.

The problem is that by default the service type doesn't use the init
script to check the service's status.  Instead it look in the process
table for a process named "iptables", and if it doesn't find it, it
will assume the service is stopped.

You need to specify 'hasstatus => true' for it to work the right way.


        /Thomas Bellman
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkl4fDUACgkQDGpP8Cv3aqLjNQCdGTRN2V+K2Uciau0QqS8Vhz2B
FjcAn1FMXWOGX6stIgkXMG9UvZdoIqzS
=qpX2
-----END PGP SIGNATURE-----

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to