[chef] Re: Problem with roles not updating


Chronological Thread 
  • From: Arjuna Christensen < >
  • To:
  • Subject: [chef] Re: Problem with roles not updating
  • Date: Tue, 4 Aug 2009 22:18:03 +1200

Yo!

On 4/08/2009, at 10:08 PM, Jose Luis Gordo Romero wrote:

Hi!

I have a problem with chef 0.7.4, I create/modify roles and run rake install on chef server (seems updated correctly):

ubuntu.json
         362 100%  353.52kB/s    0:00:00 (xfer#2, to-check=5/8)
ubuntu.rb
         279 100%  272.46kB/s    0:00:00 (xfer#3, to-check=4/8)
webserverbase.json
         420 100%  410.16kB/s    0:00:00 (xfer#4, to-check=3/8)
webserverbase.rb
         326 100%  318.36kB/s    0:00:00 (xfer#5, to-check=2/8)
webserverphp.json
         272 100%  265.62kB/s    0:00:00 (xfer#6, to-check=1/8)
webserverphp.rb
         258 100%  251.95kB/s    0:00:00 (xfer#7, to-check=0/8)


But in the webui (or directly on the couchdb database) is not appearing and can't be used by chef-client. Sometimes restarting the couchdb or apache (I can't reproduce the behaviour), it's appears.

The chef server currently requires a restart to pick up new roles via rake install. If you're running Chef under Passenger, this means Apache should be restarted.

I've been thinking of hooking into Merb's file watching behaviour to have it reload cookbooks and roles automatically - what do you think?


Have you seen the same?

Many thanks in advance.
Jose Luis Gordo

-- 
AJ Christensen, Software Engineer




Archive powered by MHonArc 2.6.16.

§