Prevent duplicate declaration in firewalld_ipset #71
Annotations
2 errors and 1 warning
Run bundle exec rake spec:
spec/defines/rule/icmp_spec.rb#L40
simp_firewalld::rule supported operating systems on almalinux-8-x86_64 with trusted_nets in CIDR format is expected to contain Firewalld_rich_rule[simp_11_allow_icmp_1234_simp-sLxKcJ8Jr7GgDOF54KlBvQR2Yc] with ensure => "present", family => "ipv4", icmp_block => ["8"], source => {"ipset"=>"simp-sLxKcJ8Jr7GgDOF54KlBvQR2Yc"}, action => "accept" and zone => "99_simp"
Failure/Error:
is_expected.to create_firewalld_rich_rule("simp_11_#{title}_simp-sLxKcJ8Jr7GgDOF54KlBvQR2Yc").with(
{
:ensure => 'present',
:family => 'ipv4',
:icmp_block => ['8'],
:source => { 'ipset' => 'simp-sLxKcJ8Jr7GgDOF54KlBvQR2Yc' },
:action => 'accept',
:zone => '99_simp'
}
)
expected that the catalogue would contain Firewalld_rich_rule[simp_11_allow_icmp_1234_simp-sLxKcJ8Jr7GgDOF54KlBvQR2Yc]
|
Run bundle exec rake spec
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Loading