- From: Noah Kantrowitz <
>
- To:
- Cc:
- Subject: [chef] Re: "Just" register a Chef node ?
- Date: Sun, 12 Jul 2015 09:17:40 -0700
On Jul 12, 2015, at 9:09 AM, o haya
<
>
wrote:
>
Hi,
>
>
Assuming the machine already:
>
>
- Has the Chef client software installed
>
- Has client.pem removed
>
- Has client.rb with "node_name" being empty
>
>
Does Chef provide a way/tool to remotely cause that machine to be
>
registered as a Chef node (initiated from a centralized machine)?
>
>
This would be for both Windows-based and Linux (CENTOS-/Redhat-) based
>
machines.
>
>
I know that we can do "knife bootstrap", but in our case, we don't want to
>
push the Chef client software to the node machines, but rather want to
>
pre-provision the node machines with the Chef client software and just be
>
able to cause the node machines to register as Chef nodes. Something like
>
having a "knife bootstrap", but where the bootstrap process would not
>
include pushing the Chef client software to the node machine(s), would be
>
perfect.
Knife bootstrap is already idempotent, if chef-client is present on the
machine it will not reinstall it. If you are working with something like an
autoscaling, you can use the validator key bootstraps. Get the key for your
org's validator client and put it in something like /etc/chef/validator.pem,
and set the validator key path and client name in your client.rb when you
bake your images. The first time chef-client runs it will use this to
register with the server automatically.
--Noah
Attachment:
signature.asc
Description: Message signed with OpenPGP using GPGMail
- [chef] "Just" register a Chef node ?, o haya, 07/12/2015
- [chef] Re: "Just" register a Chef node ?, Noah Kantrowitz, 07/12/2015
- [chef] Re: "Just" register a Chef node ?, Andrew Brown, 07/12/2015
- [chef] Re: "Just" register a Chef node ?, Tracy Phillips, 07/13/2015
- [chef] Re: "Just" register a Chef node ?, Nico Kadel-Garcia, 07/15/2015
- [chef] RE: "Just" register a Chef node ?, Benzinger, Dennis, 07/15/2015
Archive powered by MHonArc 2.6.16.