Projet

Général

Profil

Révision e0bb7852

IDe0bb785269fc5f2d7f601b41f197818096378cdc
Parent c1bd001d
Enfant efb04acd

Ajouté par canihavethisone il y a 10 mois

Change default hash location to /var/tmp to survive reboots and avoid bogus nftables reload

Voir les différences:

spec/classes/nftables_spec.rb
139 139
      }
140 140

  
141 141
      it {
142
        expect(subject).not_to contain_file('/run/puppet-nft-memhash')
142
        expect(subject).not_to contain_file('/var/tmp/puppet-nft-memhash')
143 143
      }
144 144

  
145 145
      it {
......
318 318
          }
319 319
        end
320 320

  
321
        it { is_expected.not_to contain_file('/foo/bar') }
322

  
323 321
        it {
324 322
          is_expected.to contain_exec('nftables_memory_state_check').with(
325 323
            command: %w[echo reloading_nftables],

Formats disponibles : Unified diff