Always remember Chef is ruby.
I have a site-cookbook nginx cookbook with attribute file
include_attribute "nginx::nginx" #make sure of the load order
node[:nginx][:configure_flags] << "--with-http_stub_status_module" #add
--Gilles
On Sun, Apr 25, 2010 at 10:09 AM, Roger Rohrbach < > wrote:Joshua,
Thanks. I'll try that. But I humbly submit that Chef can do better. DRY,
DRY, DRY. It'd be great to have syntax like:
append_attribute "nginx" => {"configure_flags" =>
"--with-http_realip_module"}
(That's probably not what it'd look like, but you get the idea.)
R.
Archive powered by MHonArc 2.6.16.