[chef] Re: Set node value from script output


Chronological Thread 
  • From: Noah Kantrowitz < >
  • To:
  • Subject: [chef] Re: Set node value from script output
  • Date: Mon, 27 Jun 2011 13:55:38 -0700


On Jun 27, 2011, at 1:46 PM, Matthew Drobnak wrote:

> I need the output of a script to set a node value, from inside a cookbook. 
> How would one do this?

You will have to call Chef::ShellOut (or something similar) from within a 
ruby_block resource.

--Noah


Archive powered by MHonArc 2.6.16.

§