migrate away from erb #280
Annotations
10 errors
Run tests:
spec/defines/stub_spec.rb#L22
unbound::stub on almalinux-8-x86_64 basic is expected to contain Concat::Fragment[unbound-stub-lab.example.com] with content supplied string
Failure/Error:
expect(subject).to contain_concat__fragment('unbound-stub-lab.example.com').with_content(
<<~ZONE
stub-zone:
name: "lab.example.com"
stub-addr: "::1"
stub-first: no
stub-no-cache: no
ZONE
)
expected that the catalogue would contain Concat::Fragment[unbound-stub-lab.example.com] with content set to supplied string
|
Run tests:
spec/defines/stub_spec.rb#L46
unbound::stub on almalinux-8-x86_64 unbound::address is expected to contain Concat::Fragment[unbound-stub-lab.example.com] with content supplied string
Failure/Error:
expect(subject).to contain_concat__fragment('unbound-stub-lab.example.com').with_content(
<<~ZONE
stub-zone:
name: "lab.example.com"
stub-addr: "10.0.0.10@10053"
stub-host: "ns1.example.com"
stub-host: "ns2.example.com"
stub-first: no
stub-no-cache: no
ZONE
expected that the catalogue would contain Concat::Fragment[unbound-stub-lab.example.com] with content set to supplied string
|
Run tests:
spec/defines/stub_spec.rb#L72
unbound::stub on almalinux-8-x86_64 with no_cache set is expected to contain Concat::Fragment[unbound-stub-lab.example.com] with content supplied string
Failure/Error:
expect(subject).to contain_concat__fragment('unbound-stub-lab.example.com').with_content(
<<~ZONE
stub-zone:
name: "lab.example.com"
stub-addr: "::1"
stub-first: no
stub-no-cache: yes
ZONE
)
expected that the catalogue would contain Concat::Fragment[unbound-stub-lab.example.com] with content set to supplied string
|
Run tests:
spec/defines/stub_spec.rb#L96
unbound::stub on almalinux-8-x86_64 with stub_first set is expected to contain Concat::Fragment[unbound-stub-lab.example.com] with content supplied string
Failure/Error:
expect(subject).to contain_concat__fragment('unbound-stub-lab.example.com').with_content(
<<~ZONE
stub-zone:
name: "lab.example.com"
stub-addr: "::1"
stub-first: yes
stub-no-cache: no
ZONE
)
expected that the catalogue would contain Concat::Fragment[unbound-stub-lab.example.com] with content set to supplied string
|
Run tests:
spec/defines/stub_spec.rb#L120
unbound::stub on almalinux-8-x86_64 with address set as string is expected to contain Concat::Fragment[unbound-stub-lab.example.com] with content supplied string
Failure/Error:
expect(subject).to contain_concat__fragment('unbound-stub-lab.example.com').with_content(
<<~ZONE
stub-zone:
name: "lab.example.com"
stub-addr: "::1"
stub-first: no
stub-no-cache: yes
ZONE
)
expected that the catalogue would contain Concat::Fragment[unbound-stub-lab.example.com] with content set to supplied string
|
Run tests:
spec/defines/stub_spec.rb#L22
unbound::stub on almalinux-9-x86_64 basic is expected to contain Concat::Fragment[unbound-stub-lab.example.com] with content supplied string
Failure/Error:
expect(subject).to contain_concat__fragment('unbound-stub-lab.example.com').with_content(
<<~ZONE
stub-zone:
name: "lab.example.com"
stub-addr: "::1"
stub-first: no
stub-no-cache: no
ZONE
)
expected that the catalogue would contain Concat::Fragment[unbound-stub-lab.example.com] with content set to supplied string
|
Run tests:
spec/classes/init_spec.rb#L961
unbound on almalinux-8-x86_64 platform control enablement is expected to contain Concat::Fragment[unbound-remote] with content =~ /^ control-enable: yes\n/
Failure/Error:
expect(subject).to contain_concat__fragment('unbound-remote').with_content(
%r{^ control-enable: yes\n}
)
expected that the catalogue would contain Concat::Fragment[unbound-remote] with content set to /^ control-enable: yes\n/ but it is set to "remote-control:\n control-enable: yes\n control-interface: \"::1\"\n control-interface: \"127.0.0.1\"\n control-port: 8953\n server-key-file: \"/etc/unbound/unbound_server.key\"\n server-cert-file: \"/etc/unbound/unbound_server.pem\"\n control-key-file: \"/etc/unbound/unbound_control.key\"\n control-cert-file: \"/etc/unbound/unbound_control.pem\""
Diff:
@@ -1,9 +1,17 @@
-(?-mix:^ control-enable: yes\n)
+remote-control:
+ control-enable: yes
+ control-interface: "::1"
+ control-interface: "127.0.0.1"
+ control-port: 8953
+ server-key-file: "/etc/unbound/unbound_server.key"
+ server-cert-file: "/etc/unbound/unbound_server.pem"
+ control-key-file: "/etc/unbound/unbound_control.key"
+ control-cert-file: "/etc/unbound/unbound_control.pem"
|
Run tests:
spec/defines/stub_spec.rb#L46
unbound::stub on almalinux-9-x86_64 unbound::address is expected to contain Concat::Fragment[unbound-stub-lab.example.com] with content supplied string
Failure/Error:
expect(subject).to contain_concat__fragment('unbound-stub-lab.example.com').with_content(
<<~ZONE
stub-zone:
name: "lab.example.com"
stub-addr: "10.0.0.10@10053"
stub-host: "ns1.example.com"
stub-host: "ns2.example.com"
stub-first: no
stub-no-cache: no
ZONE
expected that the catalogue would contain Concat::Fragment[unbound-stub-lab.example.com] with content set to supplied string
|
Run tests:
spec/defines/stub_spec.rb#L72
unbound::stub on almalinux-9-x86_64 with no_cache set is expected to contain Concat::Fragment[unbound-stub-lab.example.com] with content supplied string
Failure/Error:
expect(subject).to contain_concat__fragment('unbound-stub-lab.example.com').with_content(
<<~ZONE
stub-zone:
name: "lab.example.com"
stub-addr: "::1"
stub-first: no
stub-no-cache: yes
ZONE
)
expected that the catalogue would contain Concat::Fragment[unbound-stub-lab.example.com] with content set to supplied string
|
Run tests:
spec/classes/init_spec.rb#L998
unbound on almalinux-8-x86_64 arbitrary control enablement is expected to contain Concat::Fragment[unbound-remote] with content =~ /^ control-enable: yes\n/
Failure/Error:
expect(subject).to contain_concat__fragment('unbound-remote').with_content(
%r{^ control-enable: yes\n}
)
expected that the catalogue would contain Concat::Fragment[unbound-remote] with content set to /^ control-enable: yes\n/ but it is set to "remote-control:\n control-enable: yes\n control-interface: \"::1\"\n control-interface: \"127.0.0.1\"\n control-port: 8953\n server-key-file: \"/var/nowhere/unbound/unbound_server.key\"\n server-cert-file: \"/var/nowhere/unbound/unbound_server.pem\"\n control-key-file: \"/var/nowhere/unbound/unbound_control.key\"\n control-cert-file: \"/var/nowhere/unbound/unbound_control.pem\""
Diff:
@@ -1,9 +1,17 @@
-(?-mix:^ control-enable: yes\n)
+remote-control:
+ control-enable: yes
+ control-interface: "::1"
+ control-interface: "127.0.0.1"
+ control-port: 8953
+ server-key-file: "/var/nowhere/unbound/unbound_server.key"
+ server-cert-file: "/var/nowhere/unbound/unbound_server.pem"
+ control-key-file: "/var/nowhere/unbound/unbound_control.key"
+ control-cert-file: "/var/nowhere/unbound/unbound_control.pem"
|
Loading