Any ideas on what is wrong with this setup and why the puppet master is not even executing the external_nodes or logging any errors ?
Hi everyone,I've been bashing my head in the wall for several days now trying to find out why puppet isn't loading the class from enc. I've setup the enc from puppet-dashboard which returns:[root@v-test-mng-01 puppet-dashboard]# /usr/bin/env PUPPET_DASHBOARD_URL=http://v-test-mng-01:3000 /usr/share/puppet-dashboard/bin/external_node---- name: v-test-tst-01.domain.netparameters: {}classes:- test- name: v-test-mng-01.domain.netparameters: {}classes: []
however when i run puppet agent --test --debug --no-daemonize -v on v-test-tst-01 the class is not loaded. If a look in the /var/lib/puppet/classes.txt on the agent i only see an entry for settings, but not the test class. Permissions to the /usr/share/puppet-dashboard/bin/external_node are [-rwxr-xr-x 1 puppet puppet 1453 Sep 12 04:43 /usr/share/puppet-dashboard/bin/external_node].The test module is as fallows:test/manifests/init.ppclass test ($var='default') {notify {$var:}}The puppet config file is :[main]# The Puppet log directory.# The default value is '$vardir/log'.logdir = /var/log/puppetserver= v-test-mng-01.domain.net# 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/sslautosign=trueenvironment = production[agent]# 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/localconfigreport = true[master]node_terminus = execexternal_nodes = /usr/bin/env PUPPET_DASHBOARD_URL=http://v-test-mng-01:3000 /usr/share/puppet-dashboard/bin/external_nodessl_client_header = SSL_CLIENT_S_Dssl_client_verify_header = SSL_CLIENT_VERIFYstoreconfigs = truedbadapter = mysqldbname = puppetdbuser = puppetdbpassword = xxxxdbserver = localhostdbsocket = /var/lib/mysql/mysql.sockreports = http,store,logreporturl = http://localhost:3000/reports/uploadIf i create the site.pp and add the node definition there everything works fine.The dashboard is on the same machine as the puppet master (v-test-mng-01 in my case). If i run: puppet master --configprint external_nodes
/usr/bin/env PUPPET_DASHBOARD_URL=http://v-test-mng-01:3000 /usr/share/puppet-dashboard/bin/external_node
I'm using puppet 3.0 RC6 and dashboard 1.2.11 with Ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]I'm running out of ideas on how to get this working so any idea or help would be appreciated.The output from the agent run is attached.
So just in case you have the same problem: