Add merge_options
for haproxy::defaults
#110
ci.yml
on: pull_request
Spec
/
Setup Test Matrix
28s
Matrix: Spec / spec
Matrix: Acceptance / acceptance
Waiting for pending jobs
Annotations
4 errors
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2):
spec/defines/defaults_spec.rb#L32
haproxy::defaults with a single option is expected to contain Concat::Fragment[haproxy-test_defaults_block] with order => "25-test", target => "/tmp/haproxy.cfg" and content supplied string
Failure/Error:
is_expected.to contain_concat__fragment('haproxy-test_defaults_block').with(
'order' => '25-test',
'target' => '/tmp/haproxy.cfg',
'content' => "\n\ndefaults test\n balance roundrobin\n",
)
expected that the catalogue would contain Concat::Fragment[haproxy-test_defaults_block] with content set to supplied string
Diff:
@@ -2,4 +2,15 @@
defaults test
balance roundrobin
+ log global
+ maxconn 8000
+ option redispatch
+ retries 3
+ stats enable
+ timeout http-request 10s
+ timeout queue 1m
+ timeout connect 10s
+ timeout client 1m
+ timeout server 1m
+ timeout check 10s
|
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
Process completed with exit code 1.
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7):
spec/defines/defaults_spec.rb#L32
haproxy::defaults with a single option is expected to contain Concat::Fragment[haproxy-test_defaults_block] with order => "25-test", target => "/tmp/haproxy.cfg" and content supplied string
Failure/Error:
is_expected.to contain_concat__fragment('haproxy-test_defaults_block').with(
'order' => '25-test',
'target' => '/tmp/haproxy.cfg',
'content' => "\n\ndefaults test\n balance roundrobin\n",
)
expected that the catalogue would contain Concat::Fragment[haproxy-test_defaults_block] with content set to supplied string
Diff:
@@ -2,4 +2,15 @@
defaults test
balance roundrobin
+ log global
+ maxconn 8000
+ option redispatch
+ retries 3
+ stats enable
+ timeout http-request 10s
+ timeout queue 1m
+ timeout connect 10s
+ timeout client 1m
+ timeout server 1m
+ timeout check 10s
|
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Process completed with exit code 1.
|