[chef] Re: Re: RE: Re: RE: Re: Custom LWRP Initialise Error


Chronological Thread 
  • From: Kevin Bridges < >
  • To:
  • Subject: [chef] Re: Re: RE: Re: RE: Re: Custom LWRP Initialise Error
  • Date: Wed, 30 Jul 2014 15:02:21 -0600

I'm hitting the same question with the notifies resource and can provide a code sample/error message.

https://gist.github.com/cyberswat/a963b6def502356dee42 shows an example provider, resource and a wrapper recipe that can call the notifies without issue.  Moving the notifies call into the provider, as illustrated in https://gist.github.com/cyberswat/8cb36e7f6fc6bb42cad3, causes the error.

Seems like I'm not including something I should be, but it escapes me.

On Wed, Jul 30, 2014 at 8:21 AM, Julian C. Dunn < " target="_blank"> > wrote:
On Mon, Jul 28, 2014 at 4:36 AM, ">
< "> > wrote:
> 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?)

Yes, it's possible. Can you post the exact error you are getting along
with the code?

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

§