Commit 110c343a authored by Raphaël Pinson's avatar Raphaël Pinson
Browse files

transport and virtual depend on respective postfix::hash

parent a1af0f54
......@@ -81,7 +81,11 @@ define postfix::transport (
lens => 'Postfix_Transport.lns',
incl => $file,
changes => $changes,
require => [Package['postfix'], Augeas::Lens['postfix_transport']],
require => [
Package['postfix'],
Augeas::Lens['postfix_transport'],
Postfix::Hash['/etc/postfix/transport'],
],
notify => Exec['generate /etc/postfix/transport.db'],
}
}
......@@ -67,7 +67,11 @@ define postfix::virtual (
incl => $file,
lens => 'Postfix_Virtual.lns',
changes => $changes,
require => [Package['postfix'], Augeas::Lens['postfix_virtual']],
require => [
Package['postfix'],
Augeas::Lens['postfix_virtual'],
Postfix::Hash['/etc/postfix/virtual'],
],
notify => Exec['generate /etc/postfix/virtual.db'],
}
}
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