*using sudo:* ~> sudo puppet apply -e ''file { "/tmp/adhoc": content => "Written from puppet on $hostname\n" }'' Error: Cached facts for awsomepuppet failed: Could not find terminus puppetdb for indirection facts Error: Could not run: Could not retrieve facts for awsomepuppet: Could not find terminus puppetdb for indirection facts *other users:* ~> puppet apply -e ''file { "/tmp/adhoc": content => "Written from puppet on $hostname\n" }'' Notice: Compiled catalog for awsomepuppet in environment production in 0.20 seconds Notice: Finished catalog run in 0.18 seconds ~> ruby -v ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux] ~> sudo ruby -v ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux] ~> cat /tmp/puppetdbtest Written from puppet on awsomepuppet I am currently looking for a resolution to the "Could not find terminus puppetdb for indirection facts" message. Any guidance? -- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/e0cc867d-ba68-4892-8ff5-32d0356dbb87%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
Felix Frank
2013-Dec-09 16:26 UTC
Re: [Puppet Users] puppet terminus: different results for sudo
Hi, the effect of "root behaves differently than other users" is a sign that your problem can indeed be found in /etc/puppet/puppet.conf, the config file that puppet uses when run as root, whereas other users prefer ~/.puppet/puppet.conf. What I''m saying is, you may want to deconfigure puppetdb in your puppet.conf. HTH, Felix On 12/05/2013 07:45 PM, machete wrote:> > I am currently looking for a resolution to the "Could not find terminus > puppetdb for indirection facts" message. Any guidance?-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/52A5EF1C.5030407%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.
Felix Frank
2013-Dec-09 16:27 UTC
Re: [Puppet Users] puppet terminus: different results for sudo
Sorry, didn''t see that had been resolved in another thread. Don''t make so many threads please ;) On 12/09/2013 05:26 PM, Felix Frank wrote:> What I''m saying is, you may want to deconfigure puppetdb in your > puppet.conf.-- 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+unsubscribe@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/52A5EF64.8000600%40alumni.tu-berlin.de. For more options, visit https://groups.google.com/groups/opt_out.