[chef] Re: Re: Re: Re: Re: Re: Re: Re: command to run only part of run list one a node


Chronological Thread 
  • From: Manoj Thakkar < >
  • To:
  • Subject: [chef] Re: Re: Re: Re: Re: Re: Re: Re: command to run only part of run list one a node
  • Date: Fri, 6 Sep 2013 11:07:59 -0700

Sure,

I have a recipe for deploying war files to jboss , I use war file name and location to download it from as a parameter in the recipe.
The idea is to override those variables using the roles. 
So if i want to deploy a war file abc.war i call the abc role.

Does it make sense ? I am not sure if this is the best way to do it, even i am not impressed with this since i have to pass the role as a  parameter to chef client every time.

Thanks
Manoj



On Fri, Sep 6, 2013 at 9:13 AM, Daniel DeLeo < " target="_blank"> > wrote:

On Thursday, September 5, 2013 at 5:03 PM, Manoj wrote:

Thanks

The Reason is  all these roles use the same recipe and are overriding variables , is there a better way to do this ?
Can you explain this a bit more?


-- 
Daniel DeLeo





Archive powered by MHonArc 2.6.16.

§