Révision cdd872a9
Allow netdev as table family in defined type nftables::chain
manifests/chain.pp | ||
---|---|---|
1 | 1 |
# manage a chain |
2 | 2 |
define nftables::chain ( |
3 | 3 |
# lint:ignore:parameter_documentation |
4 |
Pattern[/^(ip|ip6|inet)-[a-zA-Z0-9_]+$/] $table = 'inet-filter', |
|
4 |
Pattern[/^(ip|ip6|inet|netdev)-[a-zA-Z0-9_]+$/] $table = 'inet-filter',
|
|
5 | 5 |
Pattern[/^[a-zA-Z0-9_]+$/] $chain = $title, |
6 | 6 |
Optional[Pattern[/^\d\d-[a-zA-Z0-9_]+$/]] $inject = undef, |
7 | 7 |
Optional[String] $inject_iif = undef, |
Formats disponibles : Unified diff