Commit 93cdc06a authored by Johnson Earls's avatar Johnson Earls Committed by Raphaël Pinson
Browse files

Ensure that map files are regenerated if removed (Fix #161)

Ensure that, if a map file is removed but the associated source
file is not touched, the map file is regenerated by puppet.
parent d926965e
Loading
Loading
Loading
Loading
+2 −1
Changes for manifests/map.pp: 2 added lines, 1 removed line.
Original line number Diff line number Diff line
@@ -75,7 +75,8 @@ define postfix::map (
      owner   => 'root',
      group   => 'postfix',
      mode    => $mode,
      require => [File["postfix map ${name}"], Exec["generate ${name}.db"]],
      require => File["postfix map ${name}"],
      notify  => $manage_notify,
    }
  }