[chef] Set node attrs at compile-time from pure-ruby code in a recipe


Chronological Thread 
  • From: Jeff Blaine < >
  • To:
  • Subject: [chef] Set node attrs at compile-time from pure-ruby code in a recipe
  • Date: Mon, 22 Jul 2013 16:00:29 -0400

Does anyone have a quick example showing how to set a node attribute from within (our) Ruby code that is executing during the compile phase? Probably very simple to do, but I'm in uncharted territory here and not a Ruby-as-primary-lang person.



Archive powered by MHonArc 2.6.16.

§