Seems that this might be a puppet problem more than a Foreman problem and 
though I have gotten some good help on the foreman list, I may be able to find 
an answer here.

Puppet 2.6.9 (master/clients)
Foreman 0.3
Ruby 1.87 (REE)
puppet & foreman using apache & passenger (8140 puppet, 8142 foreman)

Basically, using foreman for ENC...

puppet.conf (master)

  external_nodes = /etc/puppet/node.rb
  node_terminus  = exec

If I use http URL's, I have no problems. Clients get catalogs, get 
configurations, update, report to log & foreman.

If I use https URL's, my puppet clients get an error, can't get catalog but 
they do still report to log & foreman and the web application works fine.

ERROR specifically is...
  Could not retrieve catalog from remote server: Error 400 on SERVER: Could not 
find node 'ubuntu.ttinet'; cannot compile

Now I don't have a problem getting the catalog via curl...

curl -k https://ubuntu.ttinet:8142/node/ubuntu.ttinet?format=yml
--- 
  parameters: 
    puppetmaster: ubuntu.ttinet
    hostgroup: puppetmaster
    apt::key: 7F0CEB10
  classes: 
    - sudoers::hostgroup
    - subversion
    - postfix
    - ntp
    - git
    - etc
    - apt
    - sudoers
    - ldap::configure
    - ldap::client_install
    - mysql
    - apache::service
    - gems::passenger
    - apache
    - firebird
    - mongodb
  environment: production

and I could even sort of substitute this methodology in foreman's ENC retrieval 
code section except that it fails miserably if the node doesn't exist rather 
than have puppetmaster supply the 'default node' classes.

-- 
Craig White ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~  craig.wh...@ttiltd.com
1.800.869.6908 ~~~~~~~~~~~~~~~~~~~~~~~~~~~ www.ttiassessments.com 

Need help communicating between generations at work to achieve your desired 
success? Let us help!

-- 
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.

Reply via email to