----- Original Message ----- > From: "Rob Nelson" <rnels...@gmail.com> > To: "puppet-users" <puppet-users@googlegroups.com> > Sent: Friday, 20 May, 2016 21:36:25 > Subject: Re: [Puppet Users] puppet server 4: hiera set up?
> Doug, > > You could add --trace to see where it's looking. I would also try tossing > something into common, which requires NO facts, to ensure base hiera > functionality before moving on to tiers dependent upon fact values. > > > Rob Nelson > rnels...@gmail.com > > On Fri, May 20, 2016 at 3:11 PM, dkoleary <dkole...@olearycomputers.com> > wrote: > >> Hey; >> >> Before dumping a bunch of data into hiera data files, I wanted to run a >> quick check to verify functionality. This seems to be set up so I'm >> suspecting my test isn't valid. Could someone take a peek and confirm for >> me? >> >> This is the set up: >> >> # h >> pm >> >> # puppet config print hiera_config >> /etc/puppetlabs/puppet/hiera.yaml >> >> # cat /etc/puppetlabs/puppet/hiera.yaml >> --- >> :backends: >> - yaml >> :hierarchy: >> - "hosts/%{facts.hostname}" >> - "environments/%{facts.environment}" >> - "host_env/%{facts.env}" >> - "os/%{facts.osfamily}" >> - common >> :yaml: >> :datadir: /etc/puppetlabs/code/hieradata >> >> # facter hostname >> pm >> >> # cat /etc/puppetlabs/code/hieradata/hosts/pm my guess is this should be pm.yaml -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/344859018.727155.1463773353025.JavaMail.zimbra%40devco.net. For more options, visit https://groups.google.com/d/optout.