setup going, mostly thanks to the excellent documentation and examples.
And only do this if the remote file has changed.
It seems Chef is running the “status” command twice. Is this necessary?
pasting this code in line, but it helps me illustrate.
If the resource has a ‘restart_command’ parameter set, run that.
Otherwise just stop, sleep, then start the service again.
like possibly the two actions are causing the provider to reload.
and marked it for 0.7.2 which is due in two weeks.
what I need: start if stopped, restart if started?