On 5/3/2012 9:45 AM, Guy Matz wrote:
Hmmm . . anyone have any idea why environment would not be getting
interpolated?
Cannot find datafile
/etc/puppetlabs/puppet/%{environment}/hieradata/10-host/gmatzpupnode.yaml
I have the following in my node's puppet.conf [agent] section:
environment = defa
Hmmm . . anyone have any idea why environment would not be getting
interpolated?
Cannot find datafile
/etc/puppetlabs/puppet/%{environment}/hieradata/10-host/gmatzpupnode.yaml
I have the following in my node's puppet.conf [agent] section:
environment = default
thanks again,
Guy
On Wed, May 2,
On Wed, May 2, 2012 at 2:51 PM, Ramin K wrote:
> On 5/2/2012 2:16 PM, Gary Larizza wrote:
>
>>I'm using the following which I copied from somewhere. Quotes might
>>be part of the missing magic. Also I'm not sure you'd want a - in
>>there either.
>>
>>:yaml:
>>:datadir: '/h
- Original Message -
> From: "Ramin K"
> To: puppet-users@googlegroups.com
> Sent: Wednesday, May 2, 2012 10:51:56 PM
> Subject: Re: [Puppet Users] hiera "environmentss" question
>
> On 5/2/2012 2:16 PM, Gary Larizza wrote:
> > I'm
On 5/2/2012 2:16 PM, Gary Larizza wrote:
I'm using the following which I copied from somewhere. Quotes might
be part of the missing magic. Also I'm not sure you'd want a - in
there either.
:yaml:
:datadir: '/home/puppet/environments/%{environment}/hieradata'
I would use
I can attest to the fact that it works fine here is my:
:yaml:
:datadir: '/etc/puppet/env/%{environment}/hieradata'
I am having no issues with that.
On Wed, May 2, 2012 at 2:57 PM, Guy Matz wrote:
> Hi! I am using environments in my puppet setup, and would like to do the
> same for h
On Wed, May 2, 2012 at 2:03 PM, Ramin K wrote:
> On 5/2/2012 1:57 PM, Guy Matz wrote:
>
>> Hi! I am using environments in my puppet setup, and would like to do
>> the same for hiera. I used to have this sort of hierarchy:
>> :hierarchy: - hosts/%{fqdn}
>> - domain/%{domain}
>>
On 5/2/2012 1:57 PM, Guy Matz wrote:
Hi! I am using environments in my puppet setup, and would like to do
the same for hiera. I used to have this sort of hierarchy:
:hierarchy: - hosts/%{fqdn}
- domain/%{domain}
- whatever/%{some_fact}
- common
Hi! I am using environments in my puppet setup, and would like to do the
same for hiera. I used to have this sort of hierarchy:
:hierarchy: - hosts/%{fqdn}
- domain/%{domain}
- whatever/%{some_fact}
- common
with a yaml datadir:
:yaml:
:datadir: