I'm trying to make puppet disable and stop some services on a bunch of Debian boxes, but I'm running into some problems. The puppet server is running 2.6.4, downloaded from puppetlabs.com, the Deb5 clients do as well, while the Deb6 clients use 2.6.2 as shipped in the Deb6 repos(though I did try 2.6.4 on one Deb6 box just to rule that out, no difference).
Debian 5/Lenny: Things mostly work fine here, the exception being nfs-common which won't be shutdown. I assume this is because puppet runs ps -ef to try to find the process rather than using the init script. I can work around this by providing more parameters for the nfs-common service in the manifest, but I'm still curious why Puppet won't just use the init script when the service provider is Debian? Debian 6/Squeeze: Same thing with stopping nfs-common here. Disabling services doesn't work at all though. "puppet agent -t -d" says it's running f.e "/usr/sbin/update-rc.d -f nfs-common remove", this command works fine if I run it on the command line, so I really have no idea why it doesn't work. Though unless I'm missing something a saner way to disable services would be to run "update-rc.d $service disable" in Debian 6, though I suppose maybe this simply isn't implemented yet since Squeeze isn't released yet? If so, does anyone know if this is in the works for say 2.6.5? On that note I've noticed that puppet will claim to run the same update-rc.d command under Debian 5 while it really doesn't seem to, since under Deb5 it will actually change the S links to K links, whereas "update-rc.d -f $service" remove" will remove the rcX.d symlinks alltogether. Anyways, I guess in the end what I would really like is some clarification on how this all works under Debian so I will know what to expect. I did find some bugs filed against older puppet versions running on Debian, but nothing against 2.6. Thanks. Johan -- 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.
