Révision fb65734d
s/setname/rulename
manifests/simplerule.pp | ||
---|---|---|
5 | 5 |
Enum['present','absent'] |
6 | 6 |
$ensure = 'present', |
7 | 7 |
Pattern[/^[-a-zA-Z0-9_]+$/] |
8 |
$setname = $title,
|
|
8 |
$rulename = $title,
|
|
9 | 9 |
Pattern[/^\d\d$/] |
10 | 10 |
$order = '50', |
11 | 11 |
String |
... | ... | |
23 | 23 |
){ |
24 | 24 |
|
25 | 25 |
if $ensure == 'present' { |
26 |
nftables::rule{"${chain}-${title}":
|
|
26 |
nftables::rule{"${chain}-${rulename}":
|
|
27 | 27 |
content => epp('nftables/simplerule.epp', |
28 | 28 |
{ |
29 | 29 |
'action' => $action, |
Formats disponibles : Unified diff