aboutsummaryrefslogtreecommitdiffstats
path: root/modules/postfix/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/postfix/manifests/init.pp')
-rw-r--r--modules/postfix/manifests/init.pp14
1 files changed, 14 insertions, 0 deletions
diff --git a/modules/postfix/manifests/init.pp b/modules/postfix/manifests/init.pp
index 70dfe119..3f74a5e6 100644
--- a/modules/postfix/manifests/init.pp
+++ b/modules/postfix/manifests/init.pp
@@ -71,8 +71,22 @@ class postfix {
mode => 644,
content => template("postfix/ldap_aliases.conf"),
}
+
+ file { '/etc/postfix/virtual_aliases':
+ ensure => present,
+ owner => root,
+ group => root,
+ mode => 644,
+ content => template("postfix/virtual_aliases"),
+ }
+
+ exec { "postmap /etc/postfix/virtual_aliases":
+ refreshonly => true,
+ subscribe => File['/etc/postfix/virtual_aliases'],
+ }
}
+
class secondary_smtp inherits smtp_server {
}