Re: [Puppet Users] Hiera Lookups Fail with variables

2016-07-19 Thread Rob Nelson
If the value is nil, then it skips that tier entirely. On Tuesday, July 19, 2016, John Baird wrote: > I was using calling_class as an example. %{calling_module} used to work, > but now does not. Are you aware of what should be used instead? Things > like %{::hostname} do not work either. > >

Re: [Puppet Users] Hiera Lookups Fail with variables

2016-07-19 Thread Rob Nelson
That is correct, when those values are not found, hiera doesn't search those tiers at all. The debug information could be more helpful about it, though. Rob Nelson rnels...@gmail.com On Tue, Jul 19, 2016 at 1:27 PM, Gavin Williams wrote: > John > > I'm pretty sure when you're running hiera on

Re: [Puppet Users] Hiera Lookups Fail with variables

2016-07-19 Thread Gavin Williams
John I'm pretty sure when you're running hiera on the command line, you need to 'provide' the fact values. See https://docs.puppet.com/hiera/3.2/command_line.html#fact-sources HTH Gav On Tuesday, 19 July 2016 18:14:55 UTC+1, John Baird wrote: > > All files should be readable as they are eithe

Re: [Puppet Users] Hiera Lookups Fail with variables

2016-07-19 Thread John Baird
All files should be readable as they are either 755 or 644. Even if they don't exist, hiera should still attempt to "Search" that path and show me what directories it is searching when doing so with debug on. Since it is not showing the directories with variables, it, for some reason, is skip

Re: [Puppet Users] Hiera Lookups Fail with variables

2016-07-19 Thread Rob Nelson
It cannot find the files. Do they exist and are they readable to the user you are running hiera/the puppet master service as? On Monday, July 18, 2016, John Baird wrote: > Attempting to use hiera to hold all of my node-specific variables. It has > been some time since I have run a puppet server