Révision 6a4ffead
Align simplerule and rule rulename requirements
manifests/simplerule.pp | ||
---|---|---|
54 | 54 |
# Enable traffic counters for the matched traffic. |
55 | 55 |
define nftables::simplerule ( |
56 | 56 |
Enum['present','absent'] $ensure = 'present', |
57 |
Pattern[/^[-a-zA-Z0-9_]+$/] $rulename = $title,
|
|
57 |
Pattern[/^[a-zA-Z0-9_]+(-\d+)?$/] $rulename = $title,
|
|
58 | 58 |
Pattern[/^\d\d$/] $order = '50', |
59 | 59 |
String $chain = 'default_in', |
60 | 60 |
String $table = 'inet-filter', |
Formats disponibles : Unified diff