[chef] Re: Re: Re: Re: Re: Re: Jenkins cookbook(s) - recommendations


Chronological Thread 
  • From: Jamie Winsor < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Jenkins cookbook(s) - recommendations
  • Date: Wed, 10 Oct 2012 18:29:01 -0700

I have this ticket created regarding this issue: http://tickets.opscode.com/browse/CHEF-3490

-- 
Jamie Winsor
@resetexistence
https://github.com/reset

On Wednesday, October 10, 2012 at 6:27 PM, Sean OMeara wrote:

Would making the "name" attribute in cookbook metadata mandatory help
mitigate this kind of confusion? It's normally inferred by the
directory name in which the cookbook is contained, which is a real
bummer when dealing with LWRPs.

On Wed, Oct 10, 2012 at 6:37 PM, AJ Christensen < "> > wrote:
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.

§