Nigel Kersten: > Can you use the "basic" service provider with fully-specified > start/stop/restart commands to achieve what you need?
Are you suggesting that I override the start command to a noop, and make sure the restart command works in that scenario? Thinking that over, it has potential. I suppose it would refrain from starting a crashed service, but it would pass the test in type/provider.rb that's been causing me grief: # Basically just a synonym for restarting. Used to respond # to events. def refresh # Only restart if we're actually running if (@parameters[:ensure] || newattr(:ensure)).retrieve == :running provider.restart else debug "Skipping restart; service is not running" end end I think I'll continue to use the fully-specified provider to gain the enablement features among other things. Thank you, that seems eminently sensible! -- You are not entitled to your opinions. -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@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.