On 18 June 2014 14:10, <[email protected]> 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 [email protected]. > 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/CAFWLKddv75ovMwp4wLm-%2Biyog2puEYM0BtEwWW82_Om3ap1VsA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
