- From: Adam Jacob <
>
- To:
- Subject: [chef] Re: Re: Re: Re: Re: Re: Setting up a node from command line?
- Date: Tue, 15 Dec 2009 12:56:12 -0800
On Tue, Dec 15, 2009 at 12:48 AM, Matthew King
<
>
wrote:
>
Is a json file even necessary just to create a node? Does 'chef-client
>
-t token' only create the registration? If so, why? Seems fairly
>
intuitive that it'd create an empty node also.
Right - it will create a node with an empty run list by default.
>
Also, as a shortcut, you can take advantage of a bashism to avoid
>
needlessly creating a temp file:
>
>
chef-client -j <(echo '{"recipes": [ ]}') -t "token"
Nice!
Adam
--
Opscode, Inc.
Adam Jacob, CTO
T: (206) 508-7449 E:
Archive powered by MHonArc 2.6.16.