From 2489f932b9e4988805cf768c7db2edf8a0732781 Mon Sep 17 00:00:00 2001 From: Nacho Barrientos Date: Thu, 3 Dec 2020 17:31:56 +0100 Subject: [PATCH] Correct error message --- manifests/simplerule.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/simplerule.pp b/manifests/simplerule.pp index c458f38c..4f0b1dea 100644 --- a/manifests/simplerule.pp +++ b/manifests/simplerule.pp @@ -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' {