[chef] Re: Re: Re: Re: Re: Template correct but file not


Chronological Thread 
  • From: Tristan Sloughter < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Template correct but file not
  • Date: Thu, 6 Jan 2011 10:57:19 -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=WnNmF4/YgqMnxs2ZbgQu/LycvQhNvYrGZvTc7zE4o2McNYBqlHr8ngNrFdgqUyNQeL 14ZclzCC11Ow3CTM8jSnjt9JngclsMoPYtoAhug4wXa7s0VVjOe8jcT2KG4WfFMzOcQP 1gESjx2AzEvRoZFX1ZQKEY7fk0uIqUNtI0QK4=

I see the problem, I get this if I run shef as a client:

/etc/chef/client.rb:85:in `from_file': undefined method `render_template' for module `Chef::Mixin::Template' (NameError)

On Thu, Jan 6, 2011 at 10:54 AM, Daniel DeLeo < "> > wrote:
On Thu, Jan 6, 2011 at 8:49 AM, Tristan Sloughter
> Hmm, I don't see anything. Tried with out -l debug and with. I can just
> append it to client.rb, right?

Shouldn't depend on the log level, since it's just printing directly
to stderr (so it assumes you're running chef-client in the
foreground). You can try changing the `STDERR.puts` to
`Chef::Log.error` to send the info through the logger.

Dan




Archive powered by MHonArc 2.6.16.

§