- From: Daniel DeLeo <
>
- To: Indra k <
>
- Cc: Jens Skott <
>, "
" <
>
- Subject: [chef] Re: Re:
- Date: Fri, 10 Oct 2014 11:44:37 -0700
On Friday, October 10, 2014 at 1:53 AM, Indra k wrote:
>
I already added that module but still it shows like this:
>
>
ERROR: Exception handlers complete
>
[2014-09-26T10:45:35+01:00] FATAL: Stacktrace dumped to
>
/var/chef-solo/cache/chef-stacktrace.out
>
[2014-09-26T10:45:35+01:00] FATAL: NoMethodError: undefined method
>
`helpers' for Chef::Resource::Template
>
~
>
So that only i disable that module and run it.
>
>
Thanks,
>
indra
Have you modified anything else? Does this reproduce with a simple example,
like a recipe with just one template resource using the `helpers’ function?
From your stack trace, it looks like you’re using 11.14.4, which has the
method `helpers’ defined here:
https://github.com/opscode/chef/blob/11.14.4/lib/chef/resource/template.rb#L169
(the feature was added in 11.0.0). I don’t recall any prior bug reports
about this feature not working so you must have some unique set of conditions
causing this to not work. In any case, the cookbook you’re using depends on
this functionality so it won’t work if you comment that line.
--
Daniel DeLeo
- [chef], Indra k, 10/09/2014
- <Possible follow-up(s)>
- [chef], Indra k, 10/15/2014
Archive powered by MHonArc 2.6.16.