echec
root@opium:~# puppet agent -vt
info: Retrieving plugin
info: Loading facts in /var/lib/puppet/lib/facter/puppet_vardir.rb
info: Loading facts in /var/lib/puppet/lib/facter/root_home.rb
info: Loading facts in /var/lib/puppet/lib/facter/pe_version.rb
info: Loading facts in /var/lib/puppet/lib/facter/concat_basedir.rb
err: Could not retrieve catalog from remote server: Error 400 on SERVER: Must pass address to April_nagios::Host[opium.lan.april-int] at /etc/puppet/modules/april_nagios/manifests/init.pp:132 on node opium.lan.april-int
warning: Not using cache on failed catalog
err: Could not retrieve catalog; skipping run
pourtant
root@opium:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether 00:23:54:7b:db:f9 brd ff:ff:ff:ff:ff:ff
inet 192.168.3.1/24 brd 192.168.3.255 scope global eth0
inet 192.168.3.110/24 brd 192.168.3.255 scope global secondary eth0
inet6 fe80::223:54ff:fe7b:dbf9/64 scope link
valid_lft forever preferred_lft forever
3: eth2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 1000
link/ether f8:d1:11:10:3d:58 brd ff:ff:ff:ff:ff:ff
inet 172.28.220.193/24 brd 172.28.220.255 scope global eth2
inet6 fe80::fad1:11ff:fe10:3d58/64 scope link
valid_lft forever preferred_lft forever
5: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UNKNOWN qlen 100
link/none
inet 192.168.0.26 peer 192.168.0.25/32 scope global tun0
mais
root@opium:~# facter | grep address
macaddress => 00:23:54:7b:db:f9
macaddress_eth0 => 00:23:54:7b:db:f9
macaddress_eth2 => f8:d1:11:10:3d:58
pourquoi n'y a-t-il pas d'adresse IP comme sur
root@ns1:~# facter | grep address
ipaddress => 192.168.1.19
ipaddress_dummy0 => 192.168.1.19
ipaddress_eth0 => 88.191.250.4
ipaddress_tun0 => 192.168.0.22
macaddress => c2:32:53:1d:3f:95
macaddress_dummy0 => c2:32:53:1d:3f:95
macaddress_eth0 => 00:13:72:fb:07:ab
macaddress_eth1 => 00:10:18:15:dd:4e
macaddress_eth2 => 00:10:18:15:dd:1c
macaddress_eth3 => 00:13:72:fb:07:a9
alors que la version est
ii facter 1.6.9-2~bpo60+2