Projet

Général

Profil

Révision c94658e1

IDc94658e1720b5632d3280ff14dbaa56b5fbe2bc8
Parent 5afbc789
Enfant 853ba757

Ajouté par Nacho Barrientos il y a presque 4 ans

Allow declaring the same set in several tables

Closes #100

Voir les différences:

spec/acceptance/all_rules_spec.rb
71 71
      include nftables::rules::wireguard
72 72
      include nftables::services::dhcpv6_client
73 73
      include nftables::services::openafs_client
74
      nftables::set{'my_test_set':
75
        type       => 'ipv4_addr',
76
        elements   => ['192.168.0.1', '10.0.0.2'],
77
        table      => ['inet-filter', 'ip-nat'],
78
      }
74 79
      # nftables cannot be started in docker so replace service with a validation only.
75 80
      systemd::dropin_file{"zzz_docker_nft.conf":
76 81
        ensure  => present,

Formats disponibles : Unified diff