On Wednesday, October 10, 2012 at 6:27 PM, Sean OMeara wrote:
Would making the "name" attribute in cookbook metadata mandatory helpmitigate this kind of confusion? It's normally inferred by thedirectory name in which the cookbook is contained, which is a realbummer 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_nodeRename the cookbook to 'jenkins' instead of 'chef-jenkins'..--AJOn 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.04Cookbook 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] doI have all the attributes in the role already - any suggestions?
Archive powered by MHonArc 2.6.16.