/var/lib/puppet/.puppet ?!

Hi folks!
Anyone seen this before . . ? I can't tell why, but for some reason my
puppet runs through foreman are posting their yaml files to the wrong
dir, /var/lib/puppet/.puppet . . . so, for example, a facts file is
ending up in
/var/lib/puppet/.puppet/var/yaml/facts/utest.collmedia.net.yaml which
can't be found by node.rb. It should be going to
/var/lib/puppet/yaml/facts/

i've done a lot of grep'ing for .puppet but haven't found a source . .
. any thoughts would be appreciated!

Thanks,
Guy

~/.puppet is usually used when Puppet runs as a non-root user, though in
this case it's a bit more complex as the puppetmaster runs as non-root,
but doesn't use ~/.puppet.

Which version of Puppet? v3 changed some initialisation details, so you
might need to update config.ru if you've upgraded.

Can you pastebin puppet.conf and config.ru (if you use passenger)?

··· On 12/06/13 22:25, Guy Matz wrote: > Hi folks! > Anyone seen this before . . ? I can't tell why, but for some reason my > puppet runs through foreman are posting their yaml files to the wrong > dir, /var/lib/puppet/.puppet . . . so, for example, a facts file is > ending up in > /var/lib/puppet/.puppet/var/yaml/facts/utest.collmedia.net.yaml which > can't be found by node.rb. It should be going to > /var/lib/puppet/yaml/facts/ > > i've done a lot of grep'ing for .puppet but haven't found a source . . > . any thoughts would be appreciated!


Dominic Cleal
Red Hat Engineering

Thanks a lot, Dominic! Please have a look at http://pastebin.com/usgTbKGi

I did upgrade to puppet v3 after installing foreman . . . Should I run
the foreman installer again?

Thanks again,
Guy

··· On 06/13/2013 04:19 AM, Dominic Cleal wrote: > On 12/06/13 22:25, Guy Matz wrote: >> Hi folks! >> Anyone seen this before . . ? I can't tell why, but for some reason my >> puppet runs through foreman are posting their yaml files to the wrong >> dir, /var/lib/puppet/.puppet . . . so, for example, a facts file is >> ending up in >> /var/lib/puppet/.puppet/var/yaml/facts/utest.collmedia.net.yaml which >> can't be found by node.rb. It should be going to >> /var/lib/puppet/yaml/facts/ >> >> i've done a lot of grep'ing for .puppet but haven't found a source . . >> . any thoughts would be appreciated! > ~/.puppet is usually used when Puppet runs as a non-root user, though in > this case it's a bit more complex as the puppetmaster runs as non-root, > but doesn't use ~/.puppet. > > Which version of Puppet? v3 changed some initialisation details, so you > might need to update config.ru if you've upgraded. > > Can you pastebin puppet.conf and config.ru (if you use passenger)? >

Thank again. My googling finally hit the answer here: http://serverfault.com/questions/473029/puppet-using-var-lib-puppet-puppet-as-default-config-dir

··· On 06/13/2013 04:19 AM, Dominic Cleal wrote:

On 12/06/13 22:25, Guy Matz wrote:

Hi folks!
Anyone seen this before . . ? I can’t tell why, but for some reason my
puppet runs through foreman are posting their yaml files to the wrong
dir, /var/lib/puppet/.puppet . . . so, for example, a facts file is
ending up in
/var/lib/puppet/.puppet/var/yaml/facts/utest.collmedia.net.yaml which
can’t be found by node.rb. It should be going to
/var/lib/puppet/yaml/facts/

i’ve done a lot of grep’ing for .puppet but haven’t found a source . .
. any thoughts would be appreciated!

~/.puppet is usually used when Puppet runs as a non-root user, though in
this case it’s a bit more complex as the puppetmaster runs as non-root,
but doesn’t use ~/.puppet.

Which version of Puppet? v3 changed some initialisation details, so you
might need to update config.ru if you’ve upgraded.

Can you pastebin puppet.conf and config.ru (if you use passenger)?