Révision df2679aa
Add in rule for puppet
manifests/rules/puppet.pp | ||
---|---|---|
1 |
# manage in puppet |
|
2 |
class nftables::rules::puppet( |
|
3 |
Array[Integer,1] |
|
4 |
$ports = [8140], |
|
5 |
) { |
|
6 |
nftables::filter::chain::rule{ |
|
7 |
'default_in-puppet': |
|
8 |
content => "tcp dport {${join($ports,', ')}} accept", |
|
9 |
} |
|
10 |
} |
Formats disponibles : Unified diff