Hmm..yep. Same here. I need to go think some more.
Thanks!
Leam
On Tue, Dec 2, 2014 at 3:38 PM, Tony Thayer wrote:
> I was able to get my test to work by passing "hiera admins ::fqdn=`facter
> fqdn`"
> The --debug flag clued me in to the fact that it wasn't even looking in the
> nodes folder.
>
I was able to get my test to work by passing "hiera admins ::fqdn=`facter
fqdn`"
The --debug flag clued me in to the fact that it wasn't even looking in the
nodes folder.
On Tuesday, December 2, 2014 11:15:24 AM UTC-8, leam hall wrote:
>
> Hey Tony,
>
> Only one hiera.yaml, this is PE 3. I'm i
Hey Tony,
Only one hiera.yaml, this is PE 3. I'm in a big company that gets
touchy about sharing hostnames. Really what I did was "mv global.json
node/`facter fqdn`.json". I've also ensured the pe-puppet group has
access to the file.
Leam
On Tue, Dec 2, 2014 at 2:00 PM, Tony Thayer wrote:
> D
Do you still have two separate hiera.yaml configuration files? One lives in
/etc and the one puppet uses is in /etc/puppet. I often forget to replace
the one in /etc with a symlink to the one in /etc/puppet.
What is the actual filename of your node's .json file?
On Tuesday, December 2, 2014 10:
Hey Tony,
I made both changes but still getting "nil" for the admin list.
Leam
On Tue, Dec 2, 2014 at 1:32 PM, Tony Thayer wrote:
> You have declared a full folder path instead of a relative one.
> Change "/node/%{fqdn}" to "node/%{fqdn}" and it should work.
> Also as an aside, I would move you
You have declared a full folder path instead of a relative one.
Change "/node/%{fqdn}" to "node/%{fqdn}" and it should work.
Also as an aside, I would move your defaults to the end of the lookup list.
The lookup should go from most specific to least specific.
- Tony
On Tuesday, December 2, 2014