- From: "
" <
>
- To: "
" <
>
- Subject: [chef] RE: Re: RE: Re: Custom LWRP Initialise Error
- Date: Mon, 28 Jul 2014 08:36:53 +0000
- Accept-language: en-GB, en-US
Thanks Julian, I've got it working now, I had to remove the first AWDllDrop
for it to pick the resource ok.
Another question I have, is it possible to use Chef resources within a custom
resource (such as calling batch for example?)
I have tried using just 'batch' then Chef::Resource::Batch but I've had no
success. I've had to move it to the default.rb now for it to work which is
not what I wanted to do.
I'm pretty sure this is a namespace issue with how I'm trying to call
batch, but all I get are 'unitialised class or method not recognised' errors.
Thanks
Chris
-----Original Message-----
From: Julian C. Dunn
[mailto:
Sent: 25 July 2014 01:39
To:
Subject: [chef] Re: RE: Re: Custom LWRP Initialise Error
On Thu, Jul 24, 2014 at 9:46 AM,
<
>
wrote:
>
Hi Julian,
>
Resource file is called dlldrop.rb, provider is the same name.
>
Cookbook is called AW_DllDrop
Hi Christopher,
The LWRP framework will create a class that's generated from a combination of
your cookbook name and resource name. So in this situation the generated
classname will be Chef::Resource::AWDllDropDllDrop (something like that, I
probably have the capitalization wrong)
- Julian
--
[ Julian C. Dunn
<
>
* Sorry, I'm ]
[ WWW:
http://www.aquezada.com/staff/julian * only Web 1.0 ]
[
gopher://sdf.org/1/users/keymaker/ * compliant! ]
[ PGP: 91B3 7A9D 683C 7C16 715F 442C 6065 D533 FDC2 05B9 ]
Archive powered by MHonArc 2.6.16.