On Mon, Nov 9, 2009 at 5:27 PM, Douglas Garstang
<doug.garst...@gmail.com> wrote:
>
> So, I noticed that when adding a service to puppet, puppet is running
> a chkconfig <service>. However, as far as I can tell, puppet should be
> running a chkconfig --add <service>, otherwise the symlinks don't get
> created from the service in /etc/rc.d/rc6.d back to the service in
> /etc/init.d. As as a result, the service is not stopped on shut down.
>
> I must be missing something here... Anyone?

I'm not a redhat expert by any means.... but here goes:

the redhat service provider:

calls "chkconfig <service>" to check whether or not a given service is enabled.
calls "chkconfig <service> off" to disable a given service
calls "chkconfig <service> on" to enable a given service

Does that make things clearer? It's only calling chkconfig <service>
when checking whether or not the service is enabled.

>
> Doug
>
> >
>



-- 
nigel

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