- From: AJ Christensen <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Jenkins cookbook(s) - recommendations
- Date: Thu, 11 Oct 2012 11:37:21 +1300
You've saved the cookbook as chef-jenkins when it is actually jenkins,
so the LWRP is being created as (probably) chef-jenkins_node
Rename the cookbook to 'jenkins' instead of 'chef-jenkins'..
--AJ
On 11 October 2012 11:31, Maven User
<
>
wrote:
>
I keep hitting this:
>
>
================================================================================
>
>
Recipe Compile Error in
>
/var/chef/cache/cookbooks/chef-jenkins/recipes/node_jnlp.rb
>
>
================================================================================
>
NameError
>
---------
>
>
Cannot find a resource for jenkins_node on ubuntu version 12.04
>
>
Cookbook Trace:
>
---------------
>
>
/var/chef/cache/cookbooks/chef-jenkins/recipes/node_jnlp.rb:44:in
>
`from_file'
>
>
>
It just highlights this line:
>
>
44>> jenkins_node node[:jenkins][:node][:name] do
>
>
I have all the attributes in the role already - any suggestions?
Archive powered by MHonArc 2.6.16.