[chef] updating just one override


Chronological Thread 
  • From: "Florian Hehlen" < >
  • To: < >
  • Subject: [chef] updating just one override
  • Date: Tue, 27 Aug 2013 10:29:58 +0200

Hi,

 

I currently use a command similar to the one below at the end of my build to update my uat environment.

 

knife exec -E "environments.transform('name:uat') { |n| n.override_attributes 'svr'=>{'myapp'=>{'version'=>'%build.number%'}}}"

 

It works fine although I have noticed that this call replaces all of my overridden attributes rather than just the one I have specified in the call. Is there a way to modify just one override attribute?

 

Cheers,

Florian




Archive powered by MHonArc 2.6.16.

§