[chef] Re: Template correct but file not


Chronological Thread 
  • From: Tristan Sloughter < >
  • To:
  • Subject: [chef] Re: Template correct but file not
  • Date: Thu, 6 Jan 2011 10:27:31 -0600
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=EvdnA2eNpTtwq1ySvyCu5INIDMhSbymaYM8NlyNBY4SYWvkBJvQXZwO4ltav0ma+Ex qL6BNTL+/ssIgUlSk9OkLfx+rjYKSPJWKC5uxni2lAXTxmzKPIyAm6Q+YPkjamH2GBqB LKN1AxxZiWxrfOmYNzYP0Mgb3H6GKhqCj4jMk=

A new oddity I noticed related to this. If the recipe hangs (I just happened to discover this since I accidentally placed the wrong recipe before the ones that are creating the incorrect file which created the wrong config file causing this recipe to hang before completion) and I look at the file it creates, it is CORRECT!

I know, I know, this is insane. But its really happening.. Once I correct the recipes so the one that hangs completes I find it has the old wrong file again :(, I've tried this many times now to make sure it is really happening.

Tristan

On Wed, Jan 5, 2011 at 4:38 PM, Tristan Sloughter < "> > wrote:
OK, should be my last problem for a while! I see the template cached file underĀ /var/chef/cache/cookbooks/ and it has a piece like this:

/erlexec -smp enable -init_debug

But when the file is written to disk from the template (and this is how the file was before I updated the template and uploaded to the repo) is:

/erlexec -init_debug

How is this possible??

Tristan




Archive powered by MHonArc 2.6.16.

§