opscode/chef — pull request #271 by guilhem (2012-04-23 00:23:31+00:00)
Title: Add parameters to service resource

Parameters is REALLY useful when we use upstart.

I have, at least, 2 examples tinc ( https://github.com/Youscribe/tinc-cookbook/blob/master/recipes/default.rb ) and ceph.

For the moment I must use something like this :
start_command "initctl start tinc NETWORK=\"#{network}\" || initctl status tinc NETWORK=\"#{network}\""
stop_command "initctl stop tinc NETWORK=\"#{network}\""
reload_command "initctl reload tinc NETWORK=\"#{network}\""
restart_command "initctl restart tinc NETWORK=\"#{network}\""