Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Puppet 8 support #222

Merged
merged 2 commits into from
Nov 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"requirements": [
{
"name": "puppet",
"version_requirement": ">= 7.0.0 < 8.0.0"
"version_requirement": ">= 7.0.0 < 9.0.0"
}
],
"operatingsystem_support": [
Expand Down
4 changes: 2 additions & 2 deletions spec/acceptance/basic_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

describe 'Simple installation' do
interface = 'eth0'
config_file = fact('osfamily') == 'Archlinux' ? '/etc/dhcpd.conf' : '/etc/dhcp/dhcpd.conf'
config_file = fact('os.family') == 'Archlinux' ? '/etc/dhcpd.conf' : '/etc/dhcp/dhcpd.conf'

it_behaves_like 'an idempotent resource' do
let(:manifest) do
Expand All @@ -18,7 +18,7 @@
mask => $interface['netmask'],
}

dhcp::host { $facts['fqdn']:
dhcp::host { $facts['networking']['fqdn']:
ip => $interface['ip'],
mac => $interface['mac'],
}
Expand All @@ -37,7 +37,7 @@
mac = fact("networking.interfaces.#{interface}.mac")

describe command("dhcping -c #{ip} -h #{mac} -s #{ip}") do
its(:stdout) {

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Debian 10

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Debian 11

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Debian 11

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 8

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Distro Puppet - Fedora 38

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 18.04

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Distro Puppet - Fedora 37

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 18.04

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 8

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 20.04

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 20.04

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Debian 10

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 40 in spec/acceptance/basic_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Distro Puppet - Archlinux rolling

Simple installation Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"
pending('This is broken in docker containers')
is_expected.to match("Got answer from: #{ip}")
}
Expand Down
2 changes: 1 addition & 1 deletion spec/acceptance/nameservers_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

describe 'with empty nameservers list' do
interface = 'eth0'
config_file = fact('osfamily') == 'Archlinux' ? '/etc/dhcpd.conf' : '/etc/dhcp/dhcpd.conf'
config_file = fact('os.family') == 'Archlinux' ? '/etc/dhcpd.conf' : '/etc/dhcp/dhcpd.conf'

it_behaves_like 'an idempotent resource' do
let(:manifest) do
Expand Down Expand Up @@ -33,7 +33,7 @@
mac = fact("networking.interfaces.#{interface}.mac")

describe command("dhcping -c #{ip} -h #{mac} -s #{ip}") do
its(:stdout) {

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Debian 10

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Debian 11

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Debian 11

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 8

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Distro Puppet - Fedora 38

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 18.04

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Distro Puppet - Fedora 37

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 18.04

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 8

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 20.04

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 20.04

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Debian 10

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 36 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Distro Puppet - Archlinux rolling

with empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"
pending('This is broken in docker containers')
is_expected.to match("Got answer from: #{ip}")
}
Expand Down Expand Up @@ -72,7 +72,7 @@
mac = fact("networking.interfaces.#{interface}.mac")

describe command("dhcping -c #{ip} -h #{mac} -s #{ip}") do
its(:stdout) {

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 7

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Debian 10

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 7

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Debian 11

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 9

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Debian 11

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 8

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Distro Puppet - Fedora 38

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 18.04

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Distro Puppet - Fedora 37

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 18.04

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - CentOS 9

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - CentOS 8

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 7 - Ubuntu 20.04

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Ubuntu 20.04

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Puppet 8 - Debian 10

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"

Check warning on line 75 in spec/acceptance/nameservers_spec.rb

View workflow job for this annotation

GitHub Actions / Puppet / Distro Puppet - Archlinux rolling

with a non-empty nameservers list Command "dhcping -c 172.17.0.2 -h 02:42:ac:11:00:02 -s 172.17.0.2" stdout is expected to match "Got answer from: 172.17.0.2" Failure/Error: is_expected.to match("Got answer from: #{ip}") expected "" to match "Got answer from: 172.17.0.2"
pending('This is broken in docker containers')
is_expected.to match("Got answer from: #{ip}")
}
Expand Down