Issue #2712 has been updated by John Bollinger.

James Turnbull wrote:
> I am happpy to include as a potential feature.  It shouldn't be too hard to 
> come up with generic attributes and a feature to support start/stop 
> priorities and runlevels.

May I suggest that runlevels be supported by extending the values understood 
for the "enable" property?  That could simultaneously address the deficiency in 
Service's current model for that property (that it's a scalar, not an array).  
It is not necessary to make it accept an actual Puppet array value (though that 
could work); it would be sufficient for it to accept a digit string indicating 
in exactly which levels the service should be enabled.

Example:

service { "sshd":
    # The SSH daemon is enabled in runlevels 3, 4, and 5,
    # and disabled in all other runlevels:
    enable => "345",
}


----------------------------------------
Feature #2712: Support start and stop priorities and runlevels for services
http://projects.reductivelabs.com/issues/2712

Author: Robert Foreman
Status: Accepted
Priority: Normal
Assigned to: 
Category: service
Target version: 
Affected version: 0.25.0
Keywords: 
Branch: 


Support start and stop priorities and runlevels for services.

1.  For RHEL it would involve managing the chkconfig line in the init script 
and using chkconfig reset.
2.  For Debian/Ubuntu this would be update-rc.d
3.  For Solaris/SMF this would be milestones and svcadm
4.  For runit this would be runsvchdir and sv


-- 
You have received this notification because you have either subscribed to it, 
or are involved in it.
To change your notification preferences, please click here: 
http://reductivelabs.com/redmine/my/account

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Bugs" 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-bugs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to