diff options
Diffstat (limited to 'manifests/definitions/hash.pp')
-rw-r--r-- | manifests/definitions/hash.pp | 4 |
1 files changed, 3 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"], } } |