- From: Dave Urschatz <
>
- To: Noah Kantrowitz <
>
- Cc: "
" <
>
- Subject: [chef-dev] RE: Re: Re: Chef Client, version 11.8.2: Fatal error loading LWRP when cookbook name contains hyphen
- Date: Wed, 12 Feb 2014 19:29:46 +0000
- Accept-language: en-US, en-CA
relay_common_cookbook_component "componentX" do
Thanks Noah. That did the trick!
Dave
-----Original Message-----
From: Noah Kantrowitz
[mailto:
Sent: Wednesday, February 12, 2014 2:14 PM
To: Dave Urschatz
Cc:
Subject: Re: [chef-dev] Re: Re: Chef Client, version 11.8.2: Fatal error
loading LWRP when cookbook name contains hyphen
That isn't valid Chef syntax, it would need to be
my_common_cookbook_component 'somename' do
action :create
end
On Feb 12, 2014, at 11:10 AM, Dave Urschatz
<
>
wrote:
>
Sorry replying to list now:
>
Thanks Noah.
>
>
With this change it still fails but differently.
>
>
>
node-3.test.lab 24>> my_common_cookbook_component do
>
node-3.test.lab 25: action :create
>
node-3.test.lab 26: end
>
node-3.test.lab 27:
>
node-3.test.lab 28: else
>
node-3.test.lab 29: Chef::Log.error("OS=#{node[:platform]} is not
>
supported.")
>
node-3.test.lab 30: end
>
node-3.test.lab 31:
>
node-3.test.lab 32:
>
node-3.test.lab 33:
>
node-3.test.lab
>
node-3.test.lab
>
node-3.test.lab
>
node-3.test.lab [2014-02-12T14:02:25-05:00] ERROR: Running exception
>
handlers node-3.test.lab [2014-02-12T14:02:25-05:00] ERROR: Exception
>
handlers complete node-3.test.lab [2014-02-12T14:02:25-05:00] FATAL:
>
Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
>
node-3.test.lab Chef Client failed. 0 resources updated
>
node-3.test.lab [2014-02-12T14:02:25-05:00] ERROR: You must supply a
>
name when declaring a my_common_cookbook_component resource
>
node-3.test.lab [2014-02-12T14:02:25-05:00] FATAL:
>
Chef::Exceptions::ChildConvergeError: Chef run process exited
>
unsuccessfully (exit code 1)
Archive powered by MHonArc 2.6.16.