Hello everyone,
I’m running :
Foreman : 1.16.0-1
Foreman Proxy : 1.16.0-1
Puppetserver : 5.3.0-1stretch
Mysql : 5.7.20-1debian9
Problems :
The facts into external nodes YAML and host facts are not the same. Into the host facts tab i can see that my puppetserver use ENC to report facts to my foreman. Everything is ok into this tab :
Blockquote
networkinginterfaces docker0 Puppet 6 days ago
networkinginterfaces eno1 Puppet 26 days ago
networkinginterfaces eno1.xxx Puppet 26 days ago
networkinginterfaces eno1.x Puppet 26 days ago
networkinginterfaces eno2 Puppet 26 days ago
networkinginterfaces eno2.xxx Puppet 26 days ago
networkinginterfaces eno2.x Puppet 26 days ago
networkinginterfaces lo Puppet 26 days ago
networkinginterfaces lo:xx Puppet 26 days ago
networkinginterfaces lo:xxx Puppet 26 days ago
But i can’t retrieve my information with the YAML tab or with the command line :
sudo -u puppet /etc/puppetlabs/puppet/node.rb {host}
parameters:
foreman_subnets: []
foreman_interfaces:
- ip: xxx.xxx.xxx.xxx
ip6:
mac: xxx
name:
attrs:
mtu: 1500
netmask6: ‘xx:xx’
netmask: 255.255.0.0
network6: ‘fe80::’
network: xxx:xxx:xxx:xxx
virtual: false
link: true
identifier: docker0
managed: false
primary: false
provision: false
subnet:
subnet6:
tag:
attached_to:
type: Interface - ip: xx:xx:xx:xx
ip6:
mac: xx
name:
attrs:
mtu: 1500
netmask6: ‘xx:xx’
netmask: 255.255.255.0
network6: ‘xxx’
network: xxx.xxx.xxx.xxx
virtual: false
link: true
identifier: eno1.5
managed: false
primary: false
provision: false
subnet:
subnet6:
tag:
attached_to:
type: Interface - ip: xxx
ip6:
mac: xx:xx
name:
attrs:
mtu: 1500
netmask6: ‘xxxx’
netmask: 255.255.255.0
network6: ‘xxx’
network: xxx.xxx.xxx.xxx
virtual: false
link: true
identifier: eno2.5
managed: false
primary: false
provision: false
subnet:
subnet6:
tag:
attached_to:
type: Interface - ip: xxx.xxx.xxx.xxx
ip6:
mac:
name: xxxxxx
attrs:
netmask: 255.255.255.255
network: xxx.xxx.xxx.xxx
virtual: false
link: true
identifier: lo:xx
managed: true
primary: true
provision: true
subnet:
subnet6:
tag:
attached_to:
type: Interface
domainname: xxx
root_pw: “xxx”
foreman_config_groups: []
puppetmaster: xxxxxx
puppet_ca: xxxxxx
foreman_env: XX
classes:
xxx_xxx:
environment: XX
I check the foreman option and i set to yes : Update subnets from facts
I check into my DB everything is OK, fact are present with the correct values.
I can’t run my puppent agent without those facts.
Thank’s for your help.