I tried also just /usr/share/puppet-dashboard/bin/external_node it act the same way. I add node:, I hope I did it in the right way because I did not find it in the document - also not work. If I'm not adding any 'node: ', It should work for all the nodes the same. Am I right? or it must appear in the output?
Also I have another warning that I did not mention in my previous email, which I consider as warning: Gem::Specification#installation_path called from /usr/share/puppet-dashboard/config/../vendor/rails/railties/lib/rails/vendor_gem_source_index.rb:93. NOTE: Gem::Specification#installation_path is deprecated, use base_dir. It will be removed on or after 2011-10-01. I tried to solve this warning in the past - with no success. Thank you. On Wednesday, June 18, 2014 5:10:43 PM UTC+3, RichT wrote: > > > > > On 18 June 2014 14:10, <shlo....@gmail.com <javascript:>> wrote: > >> >> Hi, >> >> I still can make the ENC work on my puppet server. >> >> General: >> Puppet server: 3.3.1 Puppet agent: 2.7.25 >> The server run Passenger on Apache, so the puppetmaster run from apache >> and not by himself. >> >> I have in /etc/puppet/puppet.conf : >> [master] >> mode_terminus = exec >> >> >> external_nodes = >> >> /usr/bin/env >> >> PUPPET_DASHBOARD_URL=http://user:pass@localhost:3000 >> >> /usr/share/puppet-dashboard/bin/external_node >> >> > Once again why do you have all that in your external_nodes > > ? > eg what is "/usr/bin/env" doing, what is "PUPPET_DASHBOARD_URL=http:// > > user:pass@localhost:3000" doing for you? > > Why not just external_nodes = /usr/share/puppet-dashboard/ > > bin/external_node > > > Is your external_nodes script executable by puppet? > > > Did you add the "node: <certname>" bit to your YAML output as suggested? > > > -- > > Ritchie > >> script details: >> The file external_node contain perl, all the directories and >> the external_node itself have the permission 755. >> >> I did: >> * When I run the perl script locally (as a regular script from the >> command line – not with puppet) on the puppet server it run okay and give >> the YAML output I sent in my previous emails. >> * looking for errors in messages log and apache log – nothing >> look suspicious. But the warning: >> - [warn] RSA server certificate is a CA certificate >> (BasicConstraints: CA == TRUE !?) >> - YAML in network requests is deprecated and will be removed in a >> future version. >> * Also tried to make syntax error in my perl script external_node – got >> no error in the logs. >> >> What make me think maybe: >> * puppet it not running external_node script at all. >> * ENC have problems when it Passenger & Apache? >> >> Thanks for all the people who answer me. >> >> -- >> 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...@googlegroups.com <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/puppet-users/4c5248b8-35c3-4013-8556-1fd7626682f0%40googlegroups.com >> >> <https://groups.google.com/d/msgid/puppet-users/4c5248b8-35c3-4013-8556-1fd7626682f0%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/52cb308a-6843-41a3-b700-cdaa3efc82a1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.