[chef] Re: running powershell Not-if statements


Chronological Thread 
  • From: Ranjib Dey < >
  • To:
  • Subject: [chef] Re: running powershell Not-if statements
  • Date: Mon, 30 Jan 2012 14:48:50 +0530

i think, the not_if "" variety would take stuff that can be run in command line, while the not_if{} variety will take pure ruby stuff that evaluates into true or false, so you need to model your resource such that it can be leveraged by either of these two form to make it idempotent.

regards
ranjib

On Mon, Jan 30, 2012 at 2:35 PM, Madhurranjan Mohaan < "> > wrote:
Hi Experts,

I am trying to run a few powershell "Not_if" statements and they don't work . WIndows works with any statement that would work on Windows command line but not things that run through powershell( is what I have seen). Can you tell me if you have experienced and solved this issue?

Thanks

Ranjan




Archive powered by MHonArc 2.6.16.

§