Révision fcb1d356
Auto fill simple table configuration
manifests/ip_nat.pp | ||
---|---|---|
1 | 1 |
# manage basic chains in table ip nat |
2 | 2 |
class nftables::ip_nat inherits nftables { |
3 |
nftables::config { |
|
4 |
'ip-nat': |
|
5 |
source => 'puppet:///modules/nftables/config/puppet-ip-nat.nft'; |
|
6 |
'ip6-nat': |
|
7 |
source => 'puppet:///modules/nftables/config/puppet-ip6-nat.nft'; |
|
8 |
} |
|
3 |
nftables::config { ['ip-nat', 'ip6-nat']: } |
|
9 | 4 |
|
10 | 5 |
nftables::chain { |
11 | 6 |
[ |
Formats disponibles : Unified diff