Révision c5418fd3
Validate table spec
manifests/config.pp | ||
---|---|---|
1 | 1 |
# manage a config snippet |
2 | 2 |
define nftables::config ( |
3 |
Pattern[/^\w+-\w+$/] $tablespec = $title, |
|
3 | 4 |
Optional[String] $content = undef, |
4 | 5 |
Optional[Variant[String,Array[String,1]]] $source = undef, |
5 | 6 |
) { |
Formats disponibles : Unified diff