- From: Vladimir Skubriev <
>
- To:
- Subject: [chef] Re: Re: Where i can find chef server ip and hostname in a recipe for add variable to template
- Date: Wed, 29 May 2013 15:39:56 +0400
On 29.05.2013 15:37, Mukta Aphale
wrote:
"
type="cite">
One way is to set the values in your client node.
Do a knife node edit and add the values
chefserverip and chefserverhostname.
These will be accessible to all recipes.
You can also set recipe specific attributes.
This is not true way. I think this vars must be present by default
in chef runtime.
Set vars in node, environment, data bag, etc - is not true.
--
Best regards,
CVision Lab System Administrator
Vladmir Skubriev
|
Archive powered by MHonArc 2.6.16.