diff --git a/facts/4.0/freebsd-11-x86_64.facts b/facts/4.0/freebsd-11-x86_64.facts index b47579ee..3dd8a004 100644 --- a/facts/4.0/freebsd-11-x86_64.facts +++ b/facts/4.0/freebsd-11-x86_64.facts @@ -315,6 +315,7 @@ } ], "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:a3:ff:85", "mtu": 1500, "netmask": "255.255.255.0", @@ -353,6 +354,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:a3:ff:85", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.0/freebsd-12-x86_64.facts b/facts/4.0/freebsd-12-x86_64.facts index c34c8025..9f600c47 100644 --- a/facts/4.0/freebsd-12-x86_64.facts +++ b/facts/4.0/freebsd-12-x86_64.facts @@ -315,6 +315,7 @@ } ], "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:cc:5d:60", "mtu": 1500, "netmask": "255.255.255.0", @@ -353,6 +354,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:cc:5d:60", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.0/freebsd-13-x86_64.facts b/facts/4.0/freebsd-13-x86_64.facts index b97d5611..63b37f92 100644 --- a/facts/4.0/freebsd-13-x86_64.facts +++ b/facts/4.0/freebsd-13-x86_64.facts @@ -315,6 +315,7 @@ } ], "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:37:c2:4d", "mtu": 1500, "netmask": "255.255.255.0", @@ -353,6 +354,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:37:c2:4d", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.0/rocky-8-x86_64.facts b/facts/4.0/rocky-8-x86_64.facts index f29906b1..b1c94fde 100644 --- a/facts/4.0/rocky-8-x86_64.facts +++ b/facts/4.0/rocky-8-x86_64.facts @@ -351,6 +351,7 @@ } ], "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:0e:f4:43", "mtu": 1500, "netmask": "255.255.255.0", @@ -371,6 +372,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:0e:f4:43", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.1/freebsd-11-x86_64.facts b/facts/4.1/freebsd-11-x86_64.facts index 720c481e..8073306e 100644 --- a/facts/4.1/freebsd-11-x86_64.facts +++ b/facts/4.1/freebsd-11-x86_64.facts @@ -353,6 +353,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:a3:ff:85", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.1/freebsd-12-x86_64.facts b/facts/4.1/freebsd-12-x86_64.facts index d0597eaa..09483aa3 100644 --- a/facts/4.1/freebsd-12-x86_64.facts +++ b/facts/4.1/freebsd-12-x86_64.facts @@ -353,6 +353,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:cc:5d:60", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.1/freebsd-13-x86_64.facts b/facts/4.1/freebsd-13-x86_64.facts index ea8a4dd8..866e6726 100644 --- a/facts/4.1/freebsd-13-x86_64.facts +++ b/facts/4.1/freebsd-13-x86_64.facts @@ -353,6 +353,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:37:c2:4d", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.1/rocky-8-x86_64.facts b/facts/4.1/rocky-8-x86_64.facts index 9fa3be3d..8502653a 100644 --- a/facts/4.1/rocky-8-x86_64.facts +++ b/facts/4.1/rocky-8-x86_64.facts @@ -371,6 +371,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:0e:f4:43", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.2/amazon-2022-x86_64.facts b/facts/4.2/amazon-2022-x86_64.facts index 588e9ba8..7f8f470c 100644 --- a/facts/4.2/amazon-2022-x86_64.facts +++ b/facts/4.2/amazon-2022-x86_64.facts @@ -434,6 +434,7 @@ } ], "ip": "172.17.0.7", + "ip6": "fe80::a00:27ff:fe25:1d85", "netmask": "255.255.0.0", "network": "172.17.0.0" } @@ -441,6 +442,7 @@ "netmask": "255.255.0.0", "mac": "02:42:ac:11:00:07", "ip": "172.17.0.7", + "ip6": "fe80::a00:27ff:fe25:1d85", "network": "172.17.0.0" }, "kernelrelease": "5.10.103-0-virt", diff --git a/facts/4.2/freebsd-11-x86_64.facts b/facts/4.2/freebsd-11-x86_64.facts index 42d79d28..58105a71 100644 --- a/facts/4.2/freebsd-11-x86_64.facts +++ b/facts/4.2/freebsd-11-x86_64.facts @@ -137,6 +137,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:a3:ff:85", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.2/freebsd-12-x86_64.facts b/facts/4.2/freebsd-12-x86_64.facts index 93a49a96..61ac7f44 100644 --- a/facts/4.2/freebsd-12-x86_64.facts +++ b/facts/4.2/freebsd-12-x86_64.facts @@ -137,6 +137,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:cc:5d:60", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.2/freebsd-13-x86_64.facts b/facts/4.2/freebsd-13-x86_64.facts index d3078e41..df57de70 100644 --- a/facts/4.2/freebsd-13-x86_64.facts +++ b/facts/4.2/freebsd-13-x86_64.facts @@ -353,6 +353,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:37:c2:4d", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.2/rocky-8-x86_64.facts b/facts/4.2/rocky-8-x86_64.facts index ec8d5fcb..2461749d 100644 --- a/facts/4.2/rocky-8-x86_64.facts +++ b/facts/4.2/rocky-8-x86_64.facts @@ -371,6 +371,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:0e:f4:43", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.3/freebsd-13-x86_64.facts b/facts/4.3/freebsd-13-x86_64.facts index caa92ee6..e1906575 100644 --- a/facts/4.3/freebsd-13-x86_64.facts +++ b/facts/4.3/freebsd-13-x86_64.facts @@ -314,6 +314,7 @@ } ], "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:a0:78:05", "mtu": 1500, "netmask": "255.255.255.0", @@ -352,6 +353,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:a0:78:05", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.4/freebsd-13-x86_64.facts b/facts/4.4/freebsd-13-x86_64.facts index 9241ca94..09fed6c3 100644 --- a/facts/4.4/freebsd-13-x86_64.facts +++ b/facts/4.4/freebsd-13-x86_64.facts @@ -312,6 +312,7 @@ } ], "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:37:c2:4d", "mtu": 1500, "netmask": "255.255.255.0", @@ -350,6 +351,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:37:c2:4d", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.5/freebsd-12-x86_64.facts b/facts/4.5/freebsd-12-x86_64.facts index 07b3f534..9fff4f82 100644 --- a/facts/4.5/freebsd-12-x86_64.facts +++ b/facts/4.5/freebsd-12-x86_64.facts @@ -314,6 +314,7 @@ } ], "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:cc:5d:60", "mtu": 1500, "netmask": "255.255.255.0", @@ -352,6 +353,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:cc:5d:60", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.5/freebsd-13-x86_64.facts b/facts/4.5/freebsd-13-x86_64.facts index 7d2ee0d3..ba7f3916 100644 --- a/facts/4.5/freebsd-13-x86_64.facts +++ b/facts/4.5/freebsd-13-x86_64.facts @@ -314,6 +314,7 @@ } ], "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:a0:78:05", "mtu": 1500, "netmask": "255.255.255.0", @@ -352,6 +353,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:a0:78:05", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/facts/4.5/gentoo-2-x86_64.facts b/facts/4.5/gentoo-2-x86_64.facts index 2d2ef310..8cbbf8e4 100644 --- a/facts/4.5/gentoo-2-x86_64.facts +++ b/facts/4.5/gentoo-2-x86_64.facts @@ -314,6 +314,7 @@ ], "duplex": "full", "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:19:48:6c", "mtu": 1500, "netmask": "255.255.255.0", @@ -344,6 +345,7 @@ } }, "ip": "10.0.2.15", + "ip6": "fe80::a00:27ff:fe25:1d85", "mac": "08:00:27:19:48:6c", "mtu": 1500, "netmask": "255.255.255.0", diff --git a/spec/facts_spec.rb b/spec/facts_spec.rb index 1c5082e2..45af3603 100644 --- a/spec/facts_spec.rb +++ b/spec/facts_spec.rb @@ -83,6 +83,7 @@ it 'contains newer networking facts hash' do if Gem::Version.new(content['facterversion']) >= Gem::Version.new('3.0.0') expect(content['networking']['ip']).to not_be_nil.and not_be_empty + expect(content['networking']['ip6']).to not_be_nil.and not_be_empty expect(content['networking']['hostname']).to eq('foo') expect(content['networking']['domain']).to eq('example.com') expect(content['networking']['fqdn']).to eq('foo.example.com')