Révision 11bf7237
lint_fix results
manifests/rules/tor.pp | ||
---|---|---|
1 | 1 |
# manage in tor |
2 |
class nftables::rules::tor( |
|
2 |
class nftables::rules::tor (
|
|
3 | 3 |
Array[Integer,1] |
4 |
$ports = [9001],
|
|
4 |
$ports = [9001], |
|
5 | 5 |
) { |
6 |
nftables::rule{ |
|
6 |
nftables::rule {
|
|
7 | 7 |
'default_in-tor': |
8 | 8 |
content => "tcp dport {${join($ports,', ')}} accept", |
9 | 9 |
} |
Formats disponibles : Unified diff