diff options
author | Marc Fournier <marc.fournier@camptocamp.com> | 2009-07-21 21:44:03 +0200 |
---|---|---|
committer | Marc Fournier <marc.fournier@camptocamp.com> | 2009-07-21 21:44:03 +0200 |
commit | dfc16f3a462756387fbb07f0097337ad7e9978b1 (patch) | |
tree | 709d53395499e8995afe6e2203408e886af5bf94 | |
parent | ca0e5510b8eed63dfdaf55936d395987d407fb7f (diff) | |
download | puppet-postfix-dfc16f3a462756387fbb07f0097337ad7e9978b1.tar.gz puppet-postfix-dfc16f3a462756387fbb07f0097337ad7e9978b1.tar.bz2 |
postfix: added a couple of missing deps
-rw-r--r-- | manifests/definitions/hash.pp | 4 | ||||
-rw-r--r-- | manifests/definitions/transport.pp | 1 | ||||
-rw-r--r-- | manifests/definitions/virtual.pp | 1 |
3 files changed, 5 insertions, 1 deletions
diff --git a/manifests/definitions/hash.pp b/manifests/definitions/hash.pp index f6fbfb6..2ecbff8 100644 --- a/manifests/definitions/hash.pp +++ b/manifests/definitions/hash.pp @@ -3,6 +3,7 @@ define postfix::hash ($ensure) { ensure => $ensure, mode => 600, seltype => "postfix_etc_t", + require => Package["postfix"], } file {"${name}.db": @@ -16,6 +17,7 @@ define postfix::hash ($ensure) { command => "postmap ${name}", #creates => "${name}.db", # this prevents postmap from being run ! subscribe => File["${name}"], - refreshonly => true + refreshonly => true, + require => Package["postfix"], } } diff --git a/manifests/definitions/transport.pp b/manifests/definitions/transport.pp index 1624bcc..0e462cb 100644 --- a/manifests/definitions/transport.pp +++ b/manifests/definitions/transport.pp @@ -4,5 +4,6 @@ define postfix::transport ($ensure, $destination) { file => "/etc/postfix/transport", line => "${name} ${destination}", notify => Exec["generate /etc/postfix/transport.db"], + require => Package["postfix"], } } diff --git a/manifests/definitions/virtual.pp b/manifests/definitions/virtual.pp index 6f3961a..7511340 100644 --- a/manifests/definitions/virtual.pp +++ b/manifests/definitions/virtual.pp @@ -4,5 +4,6 @@ define postfix::virtual ($ensure, $destination) { file => "/etc/postfix/virtual", line => "${name} ${destination}", notify => Exec["generate /etc/postfix/virtual.db"], + require => Package["postfix"], } } |