- From: Noah Kantrowitz <
>
- To: Dave Urschatz <
>
- 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 11:13:45 -0800
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)
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
Archive powered by MHonArc 2.6.16.