[Pkg-puppet-devel] Bug#515660: Bug#515660: Bug#515660: service type stops working with Debian's insserv
Micah Anderson
micah at riseup.net
Thu Aug 6 14:59:50 UTC 2009
* martin f krafft <madduck at debian.org> [2009-07-29 06:13-0400]:
>
> class cron {
I'm not sure it is a good idea to create a class called 'cron' with a
service 'cron' and package 'cron' and not get into namesapce problems
with the cron native-type.
This may have something to do with your problem, but I confess, I am
failing to see what your problem is:
> With insserv installed, puppet thinks services are not properly
> installed when in fact they are:
The following clears and then sets the startup links:
> debug: Puppet::Type::Service::ProviderDebian: Executing
> '/usr/sbin/update -rc.d -f cron remove'
> debug: Puppet::Type::Service::ProviderDebian: Executing
> '/usr/sbin/update -rc.d cron defaults'
> notice: //Node[default]/cron/Service[cron]/enable: enable changed
> 'false' to 'true'
> But cron is enabled:
Isn't that what you want it to be? Isn't that what the above puppet
commands did? I would expect cron to be enabled after that run.
You are saying that puppet thinks that services are not properly
installed, but then you are surprised when they are? I'm pretty confused
what the problem is.
If I were to take a guess, I would guess that your problem is that on
every run puppet is doing this state change (setting cron/enable from
false to true). Is that what you are experiencing?
micah
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 835 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-puppet-devel/attachments/20090806/d707eca0/attachment.pgp>
More information about the Pkg-puppet-devel
mailing list