Hi all,

 

New Foreman user here.  I'm working on a distributed setup with many Puppet 
Masters and Foreman installed on its own server with no puppet master.  All 
servers involved have a puppet agent running on them and share a Puppet CA. 
 SSL communication is enabled.  I've installed a foreman proxy on my Puppet 
Master, but I cannot get facts to populate to foreman.  Reports are sending 
fine and node classification appears to work fine.  I don't receive any 
errors, but I can't seem to discover existing facts from hosts.   I've 
installed and configured the latest ENC script (node.rb) and the yaml files 
are getting created, but the files are empty except for the hostname.  
Also, I never see an entry in the foreman logs for POST "/api/hosts/facts" 
which 
I'm sure is a red flag, but I cannot figure out why its happening. 

 

Foreman 1.15.3

Puppet 4.5 

All on RHEL 7.3

 

Should Puppet core facts appear in these yaml files?  How do I get core 
facts to populate to Foreman?  Any guidance would be great.


Example of yaml files being created:

---

classes: []

parameters:

  puppetmaster: ''

  root_pw:

  foreman_subnets: []

  foreman_interfaces:

  - ip:

    ip6:

    mac:

    name: lbtslp000439.corptools.sidclab

    attrs: {}

    virtual: false

    link: true

    identifier:

    managed: true

    primary: true

    provision: true

    subnet:

    subnet6:

    tag:

    attached_to:

    type: Interface

  foreman_config_groups: []

-- 
You received this message because you are subscribed to the Google Groups 
"Foreman users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to foreman-users+unsubscr...@googlegroups.com.
To post to this group, send email to foreman-users@googlegroups.com.
Visit this group at https://groups.google.com/group/foreman-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to