Move external class inclusion after sanity checks.
This commit is contained in:
parent
da8b03fcb0
commit
881a59ac62
1 changed files with 2 additions and 2 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue