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


Chronological Thread 
  • From: Maven User < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Jenkins cookbook(s) - recommendations
  • Date: Thu, 11 Oct 2012 11:37:45 -0400

I see this tho in the node_jnlp.rp recipe:

jenkins_node node[:jenkins][:node][:name] do
  description  node[:jenkins][:node][:description]
  executors    node[:jenkins][:node][:executors]
  remote_fs    node[:jenkins][:node][:home]
  labels       node[:jenkins][:node][:labels]
  mode         node[:jenkins][:node][:mode]
  launcher     "jnlp"
  mode         node[:jenkins][:node][:mode]
  availability node[:jenkins][:node][:availability]
end




On Wed, Oct 10, 2012 at 6:36 PM, Daniel DeLeo < " target="_blank"> > wrote:

On Wednesday, October 10, 2012 at 3:31 PM, 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?
It means what the error says, there is no resource type `jenkins_node`. Is there supposed to be a LWRP or resource definition that defines this?

-- 
Daniel DeLeo





Archive powered by MHonArc 2.6.16.

§