In regard to: Re: [Puppet Users] how to resolve hostnames to IP addresses...:
Did you choose foo_data_webfarm_http_servers as the "top level" hiera
name for any particular reason, such as how hiera is going to work in
puppet 3 with parameterized classes?
I have no real knowledge of how that's
On Aug 9, 2012, at 5:42 PM, Tim Mooney
wrote:
> In regard to: Re: [Puppet Users] how to resolve hostnames to IP addresses...:
>
>> if you're using hiera, why not something like:
[…]
heh yeah,
okay, so, well, uh... I didn't say it was a GOOD idea ;)
> Thanks for the fully-formed example Wolf.
In regard to: Re: [Puppet Users] how to resolve hostnames to IP addresses...:
if you're using hiera, why not something like:
foo_data_webfarm_http_servers:
foo1.example.com: {
ip: '1.2.3.4',
port: '80',
}
foo2.example.com: {
ip: '2.3.4.5',
port: '80',
}
foo_data_webfarm_https_se
On Thursday, August 9, 2012 4:18:17 PM UTC-5, Wolf Noble wrote:
>
> if you're using hiera, why not something like:
>
>
> foo_data_webfarm_http_servers:
> foo1.example.com: {
> ip: '1.2.3.4',
> port: '80',
> }
>
[...]
Because that duplicates the data, which you then need to kee
if you're using hiera, why not something like:
foo_data_webfarm_http_servers:
foo1.example.com: {
ip: '1.2.3.4',
port: '80',
}
foo2.example.com: {
ip: '2.3.4.5',
port: '80',
}
foo_data_webfarm_https_servers:
foo1.example.com: {
ip: '1.2.3.4',
port: '443',
}
f
Environment: puppet 2.7.14 on both master and all clients. We're also
using puppetlabs-stdlib and hiera, if that matters.
I know this is really more of a ruby/erb question, but I've been searching
for a couple hours and haven't turned up anything relatively close to what
I'm trying to do, and I