logo       

Re: Specifying geographic related facts: msg#00224

sysutils.puppet.user

Subject: Re: Specifying geographic related facts

We did this by writing a custom fact to examine the IP address, as each
site is on a different subnet. It's working well for us.

Matt

-----Original Message-----
From: puppet-users-bounces@xxxxxxxxxxx
[mailto:puppet-users-bounces@xxxxxxxxxxx] On Behalf Of Vladimir
Sent: Friday, 12 October 2007 7:40 AM
To: Puppet User Discussion
Subject: [Puppet-users] Specifying geographic related facts

Let's say I have two different geographic sites. They are pretty much
identical ie. each site has a machine called web1 which is a web server,

etc. Except there are couple site-specific settings ie. outgoing DNS
servers are different, SSL certs are different etc.

On the puppetmaster I can put in a file called e.g.

/etc/sideid

which would uniquely identify a site ie. siteX or siteY. How would I on
the managed nodes get these fact propagated so that

- siteX-web1 gets certificate for web1.siteX.domain.com
- siteY-web1 gets certificate for web1.siteY.domain.com

The key is that I want to keep these sites nearly identical without
needing to generate bunch of configuration duplication.

Thanks,

Vladimir
_______________________________________________
Puppet-users mailing list
Puppet-users@xxxxxxxxxxx
https://mail.madstop.com/mailman/listinfo/puppet-users


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise