On Fri, Apr 27, 2012 at 9:15 PM, droog72 steve@gmail.com wrote:
Hi,
I have a Puppet Enterprise (2.0) puppetmaster running with Foreman,
and having trouble getting it working as an External Node Classifier.
In short, if I manually add a test client into site.pp, it will
retrieve the proper catalog / classes, but I would like to avoid
having to do that. I'm also using environments (production/testing/
development) as well, but think I have most of this configured
correctly -
on the puppetmaster's puppet.conf - I do have:
node_terminus = exec
external_nodes = /etc/puppetlabs/puppet/node.rb
node.rb does exist and is owned by pe-puppet, executable, etc. I've
verified I can view
the yaml for a test client using the script.
and I have stanzas for each environment in the master's puppet.conf -
[production]
modulepath=/etc/puppetlabs/puppet/production/modules
[testing]
...etc..
and the client's puppet.conf has :
environment = testing under the agent stanza.
Running: puppet agent --test --environment testing
will run, but doesn't apply any classes.
I'm not sure what else I may be missing? Thanks in advance.
beside checking your logs, you should also make sure you can run that
script as the puppetmaster user and not root.
Ohad
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to puppet-users@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.
--
You received this message because you are subscribed to the Google Groups
Puppet Users group.
To post to this group, send email to puppet-users@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.