aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorintrigeri <intrigeri@boum.org>2012-12-30 15:45:05 +0100
committerintrigeri <intrigeri@boum.org>2012-12-30 16:06:30 +0100
commitda8b03fcb0c51ff7b2305d8f80b678afc0830d67 (patch)
tree5d267610df536116e1d2e23873fcc2930c899650
parentfa6c3e659d07d9943514fa3857d3f5daeb170834 (diff)
downloadpuppet-postfix-da8b03fcb0c51ff7b2305d8f80b678afc0830d67.tar.gz
puppet-postfix-da8b03fcb0c51ff7b2305d8f80b678afc0830d67.tar.bz2
Remove useless copy/pasted check.
This define has no $value parameter, so this check does not make any sense.
-rw-r--r--manifests/header_checks_snippet.pp4
1 files changed, 0 insertions, 4 deletions
diff --git a/manifests/header_checks_snippet.pp b/manifests/header_checks_snippet.pp
index 630ed2f..91d7501 100644
--- a/manifests/header_checks_snippet.pp
+++ b/manifests/header_checks_snippet.pp
@@ -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}"