Hi all.
I'm trying to set up puppetmaster with external node classifier and multiple environments, and have found that the external nodes script is only run if I don't define any environments. Once I add an environment to the /etc/puppet/puppet.conf file, the external nodes script is no longer run. In my current setup I have the following puppet.conf file: -- code start -- [main] # Where Puppet stores dynamic and growing data. # The default value is '/var/puppet'. vardir = /var/lib/puppet # The Puppet log directory. # The default value is '$vardir/log'. logdir = /var/log/puppet # Where Puppet PID files are kept. # The default value is '$vardir/run'. rundir = /var/run/puppet # Where SSL certificates are kept. # The default value is '$confdir/ssl'. ssldir = $vardir/ssl environments = testing [puppetd] # The file in which puppetd stores a list of the classes # associated with the retrieved configuratiion. Can be loaded in # the separate ``puppet`` executable using the ``--loadclasses`` # option. # The default value is '$confdir/classes.txt'. classfile = $vardir/classes.txt # Where puppetd caches the local configuration. An # extension indicating the cache format is added automatically. # The default value is '$confdir/localconfig'. localconfig = $vardir/localconfig [puppetmasterd] ssl_client_header = SSL_CLIENT_S_DN ssl_client_verify_header = SSL_CLIENT_VERIFY certificate_revocation = false external_nodes = /usr/bin/python /etc/puppet/tools/extlookup-satellite.py node_terminus = exec [testing] manifest = /srv/puppet/testing/site.pp modulepath = /srv/puppet/testing/modules -- code start -- If I comment out the last three lines, the external nodes script is run (I've verified this by running "stat <externa-nodes-script>" before and after issuing a client request). I'm kind of stuck, so advice on how to debug this will be greatly apprecited. Best regards, Kenneth -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To post to this group, send email to puppet-us...@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.