Révision 0b2ccdda
Fix typos
manifests/init.pp | ||
---|---|---|
237 | 237 |
exec { 'nftables_running_state_check': |
238 | 238 |
command => 'echo "reloading nftables"', |
239 | 239 |
path => ['/usr/sbin', '/sbin', '/usr/bin', '/bin'], |
240 |
unless => "/usr/bin/test -s /var/tmp/nftables_hash -a \"$(nft -s list ruleset | sha1sum)\" = \"$(cat ${inmem_rules_hash_file})\"",
|
|
240 |
unless => "/usr/bin/test -s ${inmem_rules_hash_file} -a \"$(nft -s list ruleset | sha1sum)\" = \"$(cat ${inmem_rules_hash_file})\"",
|
|
241 | 241 |
notify => Service['nftables'], |
242 | 242 |
} |
243 | 243 |
|
244 | 244 |
# Generate nftables_hash upon any changes from the nftables service |
245 |
exec { 'generate_nftables_hash':
|
|
245 |
exec { 'nftables_generate_hash':
|
|
246 | 246 |
command => "nft -s list ruleset | sha1sum > ${inmem_rules_hash_file}", |
247 | 247 |
path => ['/usr/sbin', '/sbin', '/usr/bin', '/bin'], |
248 | 248 |
subscribe => Service['nftables'], |
Formats disponibles : Unified diff