summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-18 14:08:30 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-18 14:08:30 -0300
commit201807bf576afd286d7c0d7d31796b00ae9706b3 (patch)
treed7fc1baa5c1c26ebeb9aa83afe57d8e3434e77db
parentfddb7a63f64171161d5d871eda0665c7eaeb6d59 (diff)
downloadpuppet-exim-201807bf576afd286d7c0d7d31796b00ae9706b3.tar.gz
puppet-exim-201807bf576afd286d7c0d7d31796b00ae9706b3.tar.bz2
More places to look for aliases
-rw-r--r--files/aliases14
-rw-r--r--manifests/init.pp4
2 files changed, 17 insertions, 1 deletions
diff --git a/files/aliases b/files/aliases
new file mode 100644
index 0000000..08a0723
--- /dev/null
+++ b/files/aliases
@@ -0,0 +1,14 @@
+# /etc/aliases
+mailer-daemon: postmaster
+postmaster: root
+nobody: root
+hostmaster: root
+usenet: root
+news: root
+webmaster: root
+www: root
+ftp: root
+abuse: root
+noc: root
+security: root
+reprepro: root
diff --git a/manifests/init.pp b/manifests/init.pp
index b00aa37..a79a524 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -43,7 +43,9 @@ class exim(
file { "/etc/aliases":
source => [ "puppet:///modules/site_mail/${::domain}/aliases",
"puppet:///modules/site_mail/${::hostname}/aliases",
- "puppet:///modules/site_mail/aliases" ],
+ "puppet:///modules/site_mail/aliases",
+ "puppet:///modules/mail/aliases",
+ "puppet:///modules/exim/aliases" ],
owner => "root",
group => "root",
mode => 0644,