[chef] power shell and chef


Chronological Thread 
  • From: Sascha Bates < >
  • To:
  • Subject: [chef] power shell and chef
  • Date: Tue, 21 Feb 2012 19:50:14 -0600
  • Authentication-results: mr.google.com; spf=pass (google.com: domain of designates 10.60.14.5 as permitted sender) ; dkim=pass

Can anyone point me to some example chef code using not_if/only_if on windows/powershell blocks?  I have some ideas but I'm not sure they're very good.  I need to set up a service and make sure I don't kick off a reboot or anything crazy every time chef runs. 

Learning powershell syntax at the same time I'm wrangling chef for windows is not advised, but really, who am I kidding?  When would I have bothered otherwise?

Sascha



Archive powered by MHonArc 2.6.16.

§