machete
2013-Dec-05 18:51 UTC
[Puppet Users] puppetdb terminus - different results using sudo
*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? Neither command is updating the puppetdb. -- 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/f710d9f3-da14-4109-a039-41f1c9278571%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.
machete
2013-Dec-05 19:11 UTC
[Puppet Users] Re: puppetdb terminus - different results using sudo
Resolved: Found this resolution. Thanks Scott Mcintyre --------------- Ran into the following error when setting up one of our new internal puppet servers with puppetdb. Oct 13 11:40:34 puppet puppet-master[27735]: Could not configure routes from /etc/puppet/routes.yaml: Could not find terminus puppetdb for indirection facts The solution is to build the gem yourself. Here is what I done, 1 2 3 4 5 6 git clone https://github.com/puppetlabs/puppetdb cd puppetdb cp contrib/gem/puppetdb-terminus.gemspec puppet/ cd puppet gem build puppetdb-terminus.gemspec gem install puppetdb-terminus-1.0.gem And puppet master starts now. On Thursday, December 5, 2013 1:51:05 PM UTC-5, machete wrote:> > *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? Neither command is > updating the puppetdb. >-- 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/b47a2262-bcce-4c6e-baaf-22e1f0388dd1%40googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.