[chef] Re: RE: Re: LWRP inside LWRP Execution Question


Chronological Thread 
  • From: Daniel DeLeo < >
  • To:
  • Subject: [chef] Re: RE: Re: LWRP inside LWRP Execution Question
  • Date: Tue, 19 Nov 2013 08:48:18 -0800


On Tuesday, November 19, 2013 at 5:29 AM, Wes Parish wrote:

Thanks for the quick reply Daniel. Unfortunately, I have tried the use_inline_resources without success. I don't believe I am having issues with notifications, but instead with LWRP resources not even executing. I have tested this code on both Chef 10.18.2 and Chef 11.4.4 with the same results. I have also tried creating a HWRP in the libraries directory of my cookbook with the same problems. Any other ideas?
I can’t figure out anything else from your code. You could try running it with -ldebug.
 

Suggestions for wrapping existing code (both native resources and LWRPs) to execute as a different user would be helpful as well if there are any examples out there that take a different route (other than fork, change uid / gid and eval() a command string).
That’s how you should do it. This article may be informative (even if the tone is a little aggro): http://timetobleed.com/5-things-you-dont-know-about-user-ids-that-will-destroy-you/
 

Thanks!
Wes



-- 
Daniel DeLeo




Archive powered by MHonArc 2.6.16.

§