Skip to content

Commit

Permalink
Correct error message
Browse files Browse the repository at this point in the history
  • Loading branch information
nbarrientos committed Dec 9, 2020
1 parent 4ec9461 commit 2489f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manifests/simplerule.pp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
){

if $dport and !$proto {
fail('Specifying a transport protocol via $proto is mandatory when passing a port')
fail('Specifying a transport protocol via $proto is mandatory when passing a $dport')
}

if $ensure == 'present' {
Expand Down

0 comments on commit 2489f93

Please sign in to comment.