Move external class inclusion after sanity checks.

This commit is contained in:
intrigeri 2012-12-30 15:45:45 +01:00
parent da8b03fcb0
commit 881a59ac62

View file

@ -29,12 +29,12 @@ Example usage:
define postfix::tlspolicy_snippet ($ensure="present", $value = false) {
include postfix::tlspolicy
if ($value == false) and ($ensure == "present") {
fail("The value parameter must be set when using the postfix::tlspolicy_snippet define with ensure=present.")
}
include postfix::tlspolicy
concat::fragment { "postfix_tlspolicy_${name}":
ensure => "$ensure",
content => "${name} ${value}\n",