Commit e127a288 authored by Marc Fournier's avatar Marc Fournier
Browse files

postfix::hash - elsif is incomaptible with pre-2.x puppet.

parent eec3c07d
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment