Révision 8bc8fe98
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.
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