Projet

Général

Profil

Révision 8bc8fe98

ID8bc8fe9804616592fae07ff326e4c5a7b6b90661
Parent 84429425
Enfant 1331dc33

Ajouté par Steve Traylen il y a 11 mois

Accept on Debian 11 nftables::set will fail

On Debian 11 adding an nftables set triggers a bug:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1063690

move the `nftables::set` tests out to their own test which makes sense
anyway and mark as pending for Debian 11.

Voir les différences:

spec/acceptance/all_rules_spec.rb
99 99
      include nftables::rules::out::ssdp
100 100
      include nftables::services::dhcpv6_client
101 101
      include nftables::services::openafs_client
102
      nftables::set{'my_test_set':
103
        type       => 'ipv4_addr',
104
        elements   => ['192.168.0.1', '10.0.0.2'],
105
        table      => ['inet-filter', 'ip-nat'],
106
      }
107 102
      $config_path = $facts['os']['family'] ? {
108 103
        'Archlinux' => '/etc/nftables.conf',
109 104
        'Debian' => '/etc/nftables.conf',

Formats disponibles : Unified diff