Commit 799641de authored by Christian Kaenzig's avatar Christian Kaenzig
Browse files

Fix map calling in hash

map defines the default path by prepending '/etc/postfix/' to $name, so
this doesn't work when the name is already the absolute path. We need
to force the path passed to map.
parent 755d8684
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -52,6 +52,7 @@ define postfix::hash (
    source  => $source,
    content => $content,
    type    => 'hash',
    path    => $name,
  }

  Class['postfix'] -> Postfix::Hash[$title]