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 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.