Re: [Puppet Users] Re: puppet 3 hiera configs hiding somewhere

2013-03-28 Thread Philip Brown
On Thu, Mar 28, 2013 at 12:42 AM, Keith Burdis wrote: > >> That doesnt quite work as-is, eh? >> Because I need to know how to set the client hostname, > > You could use: > > # hiera --debug philcheck:value hostname=$(facter hostname) > Thank you! That, along with -c /etc/puppet/hiera.yaml, help

Re: [Puppet Users] Re: puppet 3 hiera configs hiding somewhere

2013-03-28 Thread Keith Burdis
On 28 Mar 2013 01:22, "Philip Brown" wrote: > > On Wed, Mar 27, 2013 at 2:10 PM, Nick Fagerlund > wrote: ... > to keith's suggestion, of > > >Also you can use the hiera command-line utility [1] to test - for example: > > > > # hiera --debug philcheck::value > > That doesnt quite work as-is, eh?

Re: [Puppet Users] Re: puppet 3 hiera configs hiding somewhere

2013-03-28 Thread Keith Burdis
Yes, perhaps try: # chown -R puppet:puppet /etc/puppet /var/lib/puppet - Keith On 28 Mar 2013 05:27, "Nick Fagerlund" wrote: > > > On Wednesday, March 27, 2013 6:22:05 PM UTC-7, Philip Brown wrote: >> >> >> nope, nothing. >> I tried your suggestion of explicitly setting it. >> It gets ignor

Re: [Puppet Users] Re: puppet 3 hiera configs hiding somewhere

2013-03-27 Thread Nick Fagerlund
On Wednesday, March 27, 2013 6:22:05 PM UTC-7, Philip Brown wrote: > > > nope, nothing. > I tried your suggestion of explicitly setting it. > It gets ignored. > > Oh wait, I just had another idea. File ownership/permissions? If you wrote it as root and it's only accessible to root, puppet mas

Re: [Puppet Users] Re: puppet 3 hiera configs hiding somewhere

2013-03-27 Thread Nick Fagerlund
On Wednesday, March 27, 2013 6:22:05 PM UTC-7, Philip Brown wrote: > > > > nope, nothing. > I tried your suggestion of explicitly setting it. > It gets ignored. > Weird. I'm out of ideas at this point. > Would be real nice if there was some way to strace the puppetmaster > demon doing its

Re: [Puppet Users] Re: puppet 3 hiera configs hiding somewhere

2013-03-27 Thread Philip Brown
On Wed, Mar 27, 2013 at 2:10 PM, Nick Fagerlund wrote: > First off, check Puppet's hiera_config setting > (http://docs.puppetlabs.com/references/3.1.1/configuration.html#hieraconfig) > -- is there a value in your puppet.conf? nope, nothing. I tried your suggestion of explicitly setting it. It ge

[Puppet Users] Re: puppet 3 hiera configs hiding somewhere

2013-03-27 Thread Nick Fagerlund
On Wednesday, March 27, 2013 11:29:30 AM UTC-7, Philip Brown wrote: > > > I set up a /etc/puppet/hiera.yaml, pointing to a special hieradata > directory...but clients were not seeing the values I populated. > First off, check Puppet's hiera_config setting (http://docs.puppetlabs.com/references