- From: Bryan McLellan <
>
- To:
- Cc:
- Subject: [chef] Re: Re: Re: client registered to mulltiple chef servers
- Date: Wed, 30 Nov 2011 12:43:56 -0500
On Wed, Nov 30, 2011 at 12:35 PM,
<
>
wrote:
>
O/s and application are handled by different groups
That's pretty interesting that the two groups would each run their own
server. I presume that both servers would be used to manage the node
over time, which provides an interesting possible conflict situation.
What happens if the OS group removes a package for security reasons
that the application group depends on and reinstalls? How do you
troubleshoot a problem like that?
In any case, as mentioned you certainly can. Create two configuration
files in /etc/chef, one called "os-client.rb" and one called
"app-client.rb" and specify a different client_key in each of them,
such as "/etc/app/os-client.pem" and "/etc/chef/app-client.pem". When
you run chef-client, however you decide to (manually, cron,
daemonized) be sure so specify the "-c" flag and which configuration
file you would like to be used.
Bryan
Archive powered by MHonArc 2.6.16.