summaryrefslogtreecommitdiff
path: root/puppet
diff options
context:
space:
mode:
Diffstat (limited to 'puppet')
-rw-r--r--puppet/modules/site_postfix/manifests/mx/checks.pp2
-rw-r--r--puppet/modules/site_postfix/manifests/mx/tls.pp2
2 files changed, 2 insertions, 2 deletions
diff --git a/puppet/modules/site_postfix/manifests/mx/checks.pp b/puppet/modules/site_postfix/manifests/mx/checks.pp
index 6b19891c..5d75a5e5 100644
--- a/puppet/modules/site_postfix/manifests/mx/checks.pp
+++ b/puppet/modules/site_postfix/manifests/mx/checks.pp
@@ -22,7 +22,7 @@ class site_postfix::mx::checks {
}
# Anonymize the user's home IP from the email headers (Feature #3866)
- package { 'postfix-pcre': ensure => installed }
+ package { 'postfix-pcre': ensure => installed, require => Package['postfix'] }
file { '/etc/postfix/checks/received_anon':
source => 'puppet:///modules/site_postfix/checks/received_anon',
diff --git a/puppet/modules/site_postfix/manifests/mx/tls.pp b/puppet/modules/site_postfix/manifests/mx/tls.pp
index cff686e5..08978efd 100644
--- a/puppet/modules/site_postfix/manifests/mx/tls.pp
+++ b/puppet/modules/site_postfix/manifests/mx/tls.pp
@@ -34,7 +34,7 @@ class site_postfix::mx::tls {
user => root,
group => root,
creates => '/etc/postfix/smtpd_tls_dh_param.pem',
- require => Package['gnutls-bin']
+ require => [ Package['gnutls-bin'], Package['postfix'] ]
}
# Make sure the dh params file has correct ownership and mode