Hello All,

     So I finally got around to start to cut over node definitions
from standard flat files to external nodes (foreman), and getting
error message: "Error 400 on SERVER: Could not find node 'nodename';
cannot compile" - So basically it can't pick up the node from the
external node config.

When I test the fetching of the yaml file it seems to work as I get a
result back: i.g:
curl  -k https://foreman/node/nodename?format=yml

---
parameters:
  puppetmaster: puppet
classes: []

environment: ""



##############################################################################################
This is my puppet.conf:


[main]
    vardir = /var/lib/puppet
    logdir = /var/log/puppet
    rundir = /var/run/puppet
    reports= log,foreman,rrdgraph,store
    clientyamldir = /var/lib/puppet/yaml/node
    pluginsync = true
    external_nodes = /etc/puppet/external_node.rb
    node_terminus = exec

[puppetmasterd]
    ssl_client_header = SSL_CLIENT_S_DN
    ssl_client_verify_header = SSL_CLIENT_VERIFY
    modulepath = $confdir/modules
    templatedir = /etc/puppet/manifests/templates
    #clientyamldir = /var/lib/puppet/yaml/node
    reportdir = /var/lib/puppet/reports
    storeconfigs = true
    dbadapter = mysql
    dbuser = app_puppet
    dbpassword = xxxxxxxxxxxxxx
    dbserver = localhost
    dbsocket = /sql/mysql/mysql.sock
    rrddir = /var/lib/puppet/rrd
    rrdinterval = $runinterval
    rrdgraph = true

[puppetd]
    classfile = $vardir/classes.txt
    report = true
    localconfig = $vardir/localconfig

Any ideas?

Thanks,

Henry

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en.

Reply via email to