Révision 294a38ff
Implement intended failure
manifests/config.pp | ||
---|---|---|
3 | 3 |
Optional[String] $content = undef, |
4 | 4 |
Optional[Variant[String,Array[String,1]]] $source = undef, |
5 | 5 |
) { |
6 |
if $content and $source { |
|
7 |
fail('Please pass only $content or $source, not both.') |
|
8 |
} |
|
9 |
|
|
6 | 10 |
$concat_name = "nftables-${name}" |
7 | 11 |
|
8 | 12 |
Package['nftables'] -> concat { |
Formats disponibles : Unified diff