Hello,It's common to temporarily disable a service while performing certain changes:# recipe[monit::default]service :monit do# ...action [:enable, :start]end# recipe[myapp::deploy]service :monit doaction [:stop]end# deploy happens ...service :monit doaction [:start]endI'd like to know if anybody has a good pattern for triggering start/stop actions for a service without duplicating the resource within a recipe. Alternative methods to achieve the same effect are welcome!Thanks,
--Jeremy Voorhis
Archive powered by MHonArc 2.6.16.