- From: "Van Fossan,Randy" <
>
- To: <
>
- Subject: [chef] RE: Re: Re: bootstrap client passing recipe attributes
- Date: Wed, 18 Jan 2012 10:51:13 -0500
I also would like to know how to pass attributes to a node in the
bootstrap phase. If I can figure out how to do this, I could pass the
final IP parameters and hostname via attributes.
This would be handy for a server that is freshly deployed coming up on a
DHCP assigned address and then prior to running the chef-client cookbook
recipe in the bootstrap command, the host's name and network parameters
could be configured.
Thanks
Randy
-----Original Message-----
From: Kelly Goedert
[mailto:
Sent: Wednesday, January 18, 2012 4:29 AM
To:
Subject: [chef] Re: Re: bootstrap client passing recipe attributes
Hi,
The value is a username in a network server. In some of my recipes I
have to connect to a cvs server I have and checkout some modules. The
attribute would be a username on the cvs server. I am creating recipes
to setup a developer machine, and one of the things I want to do is
checkout all cvs modules that a particular user will need. So, if I am
bootstrapping a chef client on a machine for Adam, and he works on
projects 1, 2, and 3 I would like to check them out on the process,
though I need Adam's username on the cvs server.
And that is the attribute I want to pass.
On Tue, Jan 17, 2012 at 5:34 PM, Adam Jacob
<
>
wrote:
>
How does the value get determined, Kelly?
>
>
Adam
>
>
---
>
Opscode, Inc.
>
Adam Jacob, Chief Customer Officer
>
T: (206) 619-7151 E:
>
>
>
On Jan 17, 2012, at 7:42 AM, Kelly Goedert wrote:
>
>
> Hi,
>
>
>
> I have a recipe that uses an attribute that will be different for
>
> every node/client. Is there a way I can pass this attribute value on
>
> the knife bootstrap command?
>
>
>
> Thanks
>
>
>
> Kelly
>
Archive powered by MHonArc 2.6.16.