Hi folks,

The question I have is regarding to Service resource on Red Hat systems. I
have the following:

service { [ "anacron", "atd" ]:
       ensure => stopped,
        enable => false,
        hasrestart => true,
        hasstatus => true,
  }

It runs fine, disabling the service while the system is up. Debugging it, I
noticed that it run the following:
debug: Service[atd](provider=redhat): Executing '/sbin/service atd status'
debug: Puppet::Type::Service::ProviderRedhat: Executing '/sbin/chkconfig
atd'

The idea is to disable it completely, so it does not come back in the next
reboot. By running '/sbin/chkconfig atd', that does not happen. So, the
correct command, I think, would be '/sbin/chkconfig atd off'.

Is there any way to accomplish this?

thanks,
-fred

-fred

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