Displaying 1 result from an estimated 1 matches for "ashapira".
Did you mean:
shapira
2012 Dec 06
1
daemontools service provider doesn't support "restart" parameter?
...nd
...
notify => Service[''bamboo-agent'']
...
But the service keeps being restarted using "svc -t ..."
As far as I follow the documents this is supposed to work
(http://docs.puppetlabs.com/references/2.7.latest/type.html#service)
but as far as I follow the code in
ashapira@buildeng-puppet:/usr/lib/ruby/gems/1.8/gems/puppet-2.7.20/lib/puppet/provider/service/daemontools.rb
it''s not supported:
def restart
svc "-t", self.service
end
(i.e. not looking at restartcmd)
Am I missing something or is it a bug?
How can I get it to work with Puppet 2...