- From: Gregory Patmore <
>
- To:
- Subject: [chef] Re: Re: Feature test vs platform test
- Date: Tue, 28 Jan 2014 13:55:57 -0500
There's a few stacks out there that have installed upstart, but still have the init setup installed.
To frame the discussion some, I'm trying to adjust the application_nodejs cookbook to remove the hard dependancy on ubuntu+upstart
I've been researching, and so far I'm thinking that maybe the node["chef_client"]["init_style"] variable may be my best bet?
I'm not too familiar with the chef_client object from the recipe perspective, so unless someone can point me somewhere, I'd have to test the behavior from within an LWRP.
To be fair, the cookbook worked for me anyway on Centos 6.3, but without the upstart configuration file getting dropped off. I just don't want anyone to rely on all the features being executed as expected so I'm trying to implement a branching in the provider that adheres to the original functionality but branches for non-upstart installations.
Archive powered by MHonArc 2.6.16.