Re: [Puppet Users] hiera "environmentss" question

2012-05-03 Thread Ramin K
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

Re: [Puppet Users] hiera "environmentss" question

2012-05-03 Thread Guy Matz
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,

Re: [Puppet Users] hiera "environmentss" question

2012-05-02 Thread Gary Larizza
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

Re: [Puppet Users] hiera "environmentss" question

2012-05-02 Thread R.I.Pienaar
- 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

Re: [Puppet Users] hiera "environmentss" question

2012-05-02 Thread Ramin K
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

Re: [Puppet Users] hiera "environmentss" question

2012-05-02 Thread Marek Dohojda
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

Re: [Puppet Users] hiera "environmentss" question

2012-05-02 Thread Gary Larizza
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} >>

Re: [Puppet Users] hiera "environmentss" question

2012-05-02 Thread Ramin K
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

[Puppet Users] hiera "environmentss" question

2012-05-02 Thread Guy Matz
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: