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