Révision 2489f932
Correct error message
manifests/simplerule.pp | ||
---|---|---|
38 | 38 |
){ |
39 | 39 |
|
40 | 40 |
if $dport and !$proto { |
41 |
fail('Specifying a transport protocol via $proto is mandatory when passing a port') |
|
41 |
fail('Specifying a transport protocol via $proto is mandatory when passing a $dport')
|
|
42 | 42 |
} |
43 | 43 |
|
44 | 44 |
if $ensure == 'present' { |
Formats disponibles : Unified diff