postfix: added a couple of missing deps
This commit is contained in:
parent
ca0e5510b8
commit
dfc16f3a46
3 changed files with 5 additions and 1 deletions
|
@ -3,6 +3,7 @@ define postfix::hash ($ensure) {
|
||||||
ensure => $ensure,
|
ensure => $ensure,
|
||||||
mode => 600,
|
mode => 600,
|
||||||
seltype => "postfix_etc_t",
|
seltype => "postfix_etc_t",
|
||||||
|
require => Package["postfix"],
|
||||||
}
|
}
|
||||||
|
|
||||||
file {"${name}.db":
|
file {"${name}.db":
|
||||||
|
@ -16,6 +17,7 @@ define postfix::hash ($ensure) {
|
||||||
command => "postmap ${name}",
|
command => "postmap ${name}",
|
||||||
#creates => "${name}.db", # this prevents postmap from being run !
|
#creates => "${name}.db", # this prevents postmap from being run !
|
||||||
subscribe => File["${name}"],
|
subscribe => File["${name}"],
|
||||||
refreshonly => true
|
refreshonly => true,
|
||||||
|
require => Package["postfix"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,5 +4,6 @@ define postfix::transport ($ensure, $destination) {
|
||||||
file => "/etc/postfix/transport",
|
file => "/etc/postfix/transport",
|
||||||
line => "${name} ${destination}",
|
line => "${name} ${destination}",
|
||||||
notify => Exec["generate /etc/postfix/transport.db"],
|
notify => Exec["generate /etc/postfix/transport.db"],
|
||||||
|
require => Package["postfix"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,5 +4,6 @@ define postfix::virtual ($ensure, $destination) {
|
||||||
file => "/etc/postfix/virtual",
|
file => "/etc/postfix/virtual",
|
||||||
line => "${name} ${destination}",
|
line => "${name} ${destination}",
|
||||||
notify => Exec["generate /etc/postfix/virtual.db"],
|
notify => Exec["generate /etc/postfix/virtual.db"],
|
||||||
|
require => Package["postfix"],
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue