Révision ae9872e2
Make masking Service['firewalld'] configurable
spec/classes/nftables_spec.rb | ||
---|---|---|
89 | 89 |
) |
90 | 90 |
} |
91 | 91 |
end |
92 |
|
|
93 |
context 'without masking firewalld' do |
|
94 |
let(:params) do |
|
95 |
{ |
|
96 |
'firewalld_enable' => false, |
|
97 |
} |
|
98 |
end |
|
99 |
|
|
100 |
it { |
|
101 |
is_expected.to contain_service('firewalld').with( |
|
102 |
ensure: 'stopped', |
|
103 |
enable: false, |
|
104 |
) |
|
105 |
} |
|
106 |
end |
|
92 | 107 |
end |
93 | 108 |
end |
94 | 109 |
end |
Formats disponibles : Unified diff