[chef] strange behavior in chef-server


Chronological Thread 
  • From: Gilles Devaux < >
  • To:
  • Subject: [chef] strange behavior in chef-server
  • Date: Wed, 3 Mar 2010 19:31:13 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:content-type:content-transfer-encoding:subject:date:message-id :to:mime-version:x-mailer; b=NPc69tlxUv2m4uoA5f+abTFpBJJHp28br6Db9JaQlLQ5oz9aVt9i5LpY2seUBpizja 7sDi/avUpV7Bzf/HW2/OZjlU1O33Si/6+E4EMv7Ve9Yk1Ze7JPwzpFhoEdpIyliEcrwB fzVnGIdhx+z6xNIBmCjP4mDoPywsHS5Wt7zTg=

Hi,

I am running chef 0.8.4 on both server and client and I see the following 
behaviors:

- updating attributes in a role, uploading to the server and launching 
chef-client does not trigger the templates to be regenerated, only a 
modification of the 'source' file seems to trigger it.

- The server seems to send strange arguments:

override_attributes "haproxy" => { 
                      :backends => [
                        { :name => "ws1", :ip => "IP" },
                        { :name => "ws2", :ip => "IP2" }
                      ],
                      :listenip => 'IP'
                    }

is passed as:
"haproxy"=>{"listenip"=>"173.203.240.198", "check"=>"check.txt", 
"backends"=>[{"name"=>"ws1", "ip"=>"IP1"}, {"name"=>"ws1", "ip"=>"IP1"}]}

and

"haproxy"=>{"listenip"=>"173.203.240.198", "backends"=>{"0"=>{"name"=>"ws1", 
"ip"=>"IP1"}, "1"=>{"name"=>"ws2", "ip"=>"IP2"}}}}

in another section, I haven't been able to isolate the parent, the dump is 
too big and I have format errors.

Thanks

--Gilles




Archive powered by MHonArc 2.6.16.

§