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

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

parent eec3c07d
Loading
Loading
Loading
Loading
+3 −1
Changes for manifests/hash.pp: 3 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -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,