Update Salt Master configuration template #1582
Annotations
9 errors
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L4
Scenario: install foreman-proxy applies with no errors
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_153326461.7alBiP.pp
Last 10 lines of output were:
�[mNotice: /Stage[main]/Foreman_proxy::Module::Registration/Foreman_proxy::Module[registration]/Foreman_proxy::Settings_file[registration]/File[/etc/foreman-proxy/settings.d/registration.yml]/content: content changed '{sha256}0ff33aa71af9054db8c2c1a498ef8dfc869976d812105ee5c2d90579ab25fdf3' to '{sha256}1c4f7110c2a4933b802919017e614d7354b310533967402255a2581a32d0fb9c'
�[mNotice: /Stage[main]/Foreman_proxy::Module::Registration/Foreman_proxy::Module[registration]/Foreman_proxy::Settings_file[registration]/File[/etc/foreman-proxy/settings.d/registration.yml]/group: group changed 'root' to 'foreman-proxy'
�[mNotice: /Stage[main]/Foreman_proxy::Module::Registration/Foreman_proxy::Module[registration]/Foreman_proxy::Settings_file[registration]/File[/etc/foreman-proxy/settings.d/registration.yml]/mode: mode changed '0644' to '0640'
Info: Foreman_proxy::Settings_file[registration]: Scheduling refresh of Class[Foreman_proxy::Service]
Info: Class[Foreman_proxy::Config]: Scheduling refresh of Class[Foreman_proxy::Service]
Info: Class[Foreman_proxy::Service]: Scheduling refresh of Service[foreman-proxy]
�[mNotice: /Stage[main]/Foreman_proxy::Service/Service[foreman-proxy]: Triggered 'refresh' from 1 event
Info: Class[Foreman_proxy::Service]: Scheduling refresh of Class[Foreman_proxy::Register]
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 8.77 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/dns_spec.rb:8
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
Scenario: install foreman-proxy applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_153340752.nalP4L.pp
Last 10 lines of output were:
Error: Execution of '/usr/sbin/named-checkconf /etc/bind/zones.conf20241022-6616-jt4kx8' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf
Error: /Stage[main]/Dns::Config/Concat[/etc/bind/zones.conf]/File[/etc/bind/zones.conf]/ensure: change from 'absent' to 'file' failed: Execution of '/usr/sbin/named-checkconf /etc/bind/zones.conf20241022-6616-jt4kx8' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf
Info: Computing checksum on file /etc/bind/named.conf
Info: /Stage[main]/Dns::Config/Concat[/etc/bind/named.conf]/File[/etc/bind/named.conf]: Filebucketed /etc/bind/named.conf to puppet with sum b2e8347dd7442eb1f1452e40fa47331694c8660d3f0a4ad41500c0f020d38930
Error: Execution of '/usr/sbin/named-checkconf /etc/bind/named.conf20241022-6616-jlza8r' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf
Error: /Stage[main]/Dns::Config/Concat[/etc/bind/named.conf]/File[/etc/bind/named.conf]/content: change from '{sha256}b2e8347dd7442eb1f1452e40fa47331694c8660d3f0a4ad41500c0f020d38930' to '{sha256}f79c20c31aaed9ee8c81d0b583cb664e665d9c62d3b466f75de064d769130bc8' failed: Execution of '/usr/sbin/named-checkconf /etc/bind/named.conf20241022-6616-jlza8r' returned 1: Error: Could not execute posix command: No such file or directory - /usr/sbin/named-checkconf
�[mNotice: /Stage[main]/Dns::Service/Service[bind9]: Dependency File[/etc/bind/zones.conf] has failures: true
�[mNotice: /Stage[main]/Dns::Service/Service[bind9]: Dependency File[/etc/bind/named.conf] has failures: true
Warning: /Stage[main]/Dns::Service/Service[bind9]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 1.23 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/dns_spec.rb:8
|
Run tests:
spec/acceptance/dns_spec.rb#L20
Scenario: install foreman-proxy forward dns Command "dig +short SOA example.com @localhost" stdout is expected to match /ubuntu2004-64-puppet8.example.com\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/
Failure/Error: its(:stdout) { is_expected.to match(/#{host_inventory['fqdn']}\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/) }
expected ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" to match /ubuntu2004-64-puppet8.example.com\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/
Diff:
@@ -1,6 +1,11 @@
-/ubuntu2004-64-puppet8.example.com\. root\.example\.com\. \d+ 86400 3600 604800 3600\n/
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; no servers could be reached
|
Run tests:
spec/acceptance/dns_spec.rb#L29
Scenario: install foreman-proxy forward dns Command "dig +short A integration.example.com @localhost" stdout is expected to eq "192.0.2.100\n"
Failure/Error: its(:stdout) { is_expected.to eq("192.0.2.100\n") }
expected: "192.0.2.100\n"
got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n"
(compared using ==)
Diff:
@@ -1,6 +1,11 @@
-192.0.2.100
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; no servers could be reached
|
Run tests:
spec/acceptance/dns_spec.rb#L38
Scenario: install foreman-proxy forward dns Command "dig +short A integration.example.com @localhost" stdout is expected to eq ""
Failure/Error: its(:stdout) { is_expected.to eq('') }
expected: ""
got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n"
(compared using ==)
Diff:
@@ -1,6 +1,12 @@
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; no servers could be reached
|
Run tests:
spec/acceptance/dns_spec.rb#L44
Scenario: install foreman-proxy reverse dns Command "dig +short SOA 2.0.192.in-addr.arpa @localhost" stdout is expected to match /ubuntu2004-64-puppet8.example.com\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/
Failure/Error: its(:stdout) { is_expected.to match(/#{host_inventory['fqdn']}\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/) }
expected ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n" to match /ubuntu2004-64-puppet8.example.com\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/
Diff:
@@ -1,6 +1,11 @@
-/ubuntu2004-64-puppet8.example.com\. root\.2\.0\.192\.in-addr\.arpa\. \d+ 86400 3600 604800 3600\n/
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; no servers could be reached
|
Run tests:
spec/acceptance/dns_spec.rb#L53
Scenario: install foreman-proxy reverse dns Command "dig +short -x 192.0.2.100 @localhost" stdout is expected to eq "integration.example.com.\n"
Failure/Error: its(:stdout) { is_expected.to eq("integration.example.com.\n") }
expected: "integration.example.com.\n"
got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n"
(compared using ==)
Diff:
@@ -1,6 +1,11 @@
-integration.example.com.
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; no servers could be reached
|
Run tests:
spec/acceptance/dns_spec.rb#L62
Scenario: install foreman-proxy reverse dns Command "dig +short -x 192.0.2.100 @localhost" stdout is expected to eq ""
Failure/Error: its(:stdout) { is_expected.to eq('') }
expected: ""
got: ";; communications error to 127.0.0.1#53: connection refused\n;; communications error to 127.0.0.1#53...ed\n;; communications error to 127.0.0.1#53: connection refused\n;; no servers could be reached\n\n"
(compared using ==)
Diff:
@@ -1,6 +1,12 @@
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; communications error to 127.0.0.1#53: connection refused
+;; no servers could be reached
|
Run tests
Process completed with exit code 1.
|
Loading