Projet

Général

Profil

Révision 3016d428

ID3016d4285d1160410c382e39e206e6dd44b10eb1
Parent 0b2ccdda
Enfant c00bcf2d

Ajouté par canihavethisone il y a 10 mois

Change exec title

Voir les différences:

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