]> gitweb.fluxo.info Git - puppet-postfix.git/commitdiff
Remove useless copy/pasted check.
authorintrigeri <intrigeri@boum.org>
Sun, 30 Dec 2012 14:45:05 +0000 (15:45 +0100)
committerintrigeri <intrigeri@boum.org>
Sun, 30 Dec 2012 15:06:30 +0000 (16:06 +0100)
This define has no $value parameter,
so this check does not make any sense.

manifests/header_checks_snippet.pp

index 630ed2f097c75b7c8a797420abdddaefa56c6654..91d7501880026d8cd07ac976cc4a636bb05fbe88 100644 (file)
@@ -37,10 +37,6 @@ define postfix::header_checks_snippet (
     fail("Only one of \$source or \$content must specified for postfix::header_checks_snippet ${name}")
   }
 
-  if ($value == false) and ($ensure == "present") {
-    fail("The value parameter must be set when using the postfix::header_checks_snippet define with ensure=present.")
-  }
-
   include postfix::header_checks
 
   $fragment = "postfix_header_checks_${name}"