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 --- puppet::status: 'running' but the tests aren't showing anything: # hiera puppet::status nil # puppet lookup puppet::status The hiera call makes sense because it doesn't have access to host fact, as I understand it. The puppet lookup command should have worked, though, right? Any hints/tips/suggestions greatly appreciated. Doug O'Leary -- 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/d7754606-219a-49f3-9065-4f3bd52855b3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.