- From: "John E. Vincent (lusis)" <
>
- To:
- Subject: [chef] Re: Re: Re: Examples for newbies
- Date: Wed, 22 Jun 2011 10:31:12 -0400
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:reply-to:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type; b=KH+esZHNkyErEz5kZenUX5n3G2o5CHnEfgVrvB/035wndqqFFezJi0VNCs3BONWWXX 6CswyVnE3sks3YABiSdb2y0qj50CsExuaci2/AJZb8+BiA3UCsKV6SpNB3udt3K40tBa rMW56m/++egIXXrpc4GV6M3ernZC3kqXM/vOs=
I replied privately by mistake. Here's my original reply:
In that case I would have the NTP cookbook have a sane default
(probably the ones for DR) and then override those attributes at the
role level. So have a role called "production" that overrides all the
settings for the various cookbooks. I'll try and gist something up for
you.
On Wed, Jun 22, 2011 at 10:29 AM, ItsMikeE
<
>
wrote:
>
I have servers in two physical locations (production and DR)
>
I want to distribute two different ntp.conf files as firewall rules stop me
>
from using common NTP servers.
>
>
I am trying to work out
>
1) If I should use roles, environments or data bags to control which server
>
gets which config file
>
2) I was going to use two different config files, but maybe injecting
>
different
>
server names is the way to go
>
>
Hypothetical Roundabouting might not be a good way to go forward, but it's a
>
great name for a band!
>
Archive powered by MHonArc 2.6.16.