Skip to content
Snippets Groups Projects
Commit 5afe18c2 authored by Marc Fournier's avatar Marc Fournier
Browse files

Merge pull request #18 from mfournier/postfix-pre-2.x-compatibility

postfix::hash - elsif is incomaptible with pre-2.x puppet.
parents eec3c07d e127a288
Branches
Tags
No related merge requests found
......@@ -57,7 +57,8 @@ define postfix::hash ($ensure='present', $source=false, $content=false) {
source => $source,
require => Package['postfix'],
}
} elsif $content != false {
} else {
if $content != false {
file {$name:
ensure => $ensure,
content => $content,
......@@ -69,6 +70,7 @@ define postfix::hash ($ensure='present', $source=false, $content=false) {
require => Package['postfix'],
}
}
}
file {"${name}.db":
ensure => $ensure,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment