I can't figure out what the *_command attributes are actually for.I think there's some outstanding bugs where the providers assume they know best, and really need to respect the resource attributes given by the user so that the user can override. Those are just bugs in the provider implementation. However, I don't have any good workaround suggestions other than submitting pull-requests and unfortunately don't have the bandwidth right now.
Setting init_command, start_command ... etc... to a value seems
pointless when the chosen underlying provider has all of its hardcoded
information that it uses.
service 'foo' do
init_command '/bin/true'
start_command '/bin/true'
action [:enable, :start]
end
==> "unable to locate the init.d script!"
Any ideas?
Archive powered by MHonArc 2.6.16.