Révision 3016d428
Change exec title
manifests/init.pp | ||
---|---|---|
234 | 234 |
|
235 | 235 |
if $purge_unmanaged_rules { |
236 | 236 |
# Reload the nftables ruleset from the on-disk ruleset if there are differences or it is absent. -s must be used to ignore counters |
237 |
exec { 'nftables_running_state_check':
|
|
237 |
exec { 'nftables_memory_state_check':
|
|
238 | 238 |
command => 'echo "reloading nftables"', |
239 | 239 |
path => ['/usr/sbin', '/sbin', '/usr/bin', '/bin'], |
240 | 240 |
unless => "/usr/bin/test -s ${inmem_rules_hash_file} -a \"$(nft -s list ruleset | sha1sum)\" = \"$(cat ${inmem_rules_hash_file})\"", |
Formats disponibles : Unified diff