Projet

Général

Profil

Révision 0b2ccdda

ID0b2ccdda996b26f792c1e2807508f0154e1c4307
Parent c6941cfe
Enfant 3016d428

Ajouté par canihavethisone il y a 10 mois

Fix typos

Voir les différences:

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