Parcourir la source

mta: Added a MTA relayhost class (not in common in order to not broke nibbler)

Sebastien Badia il y a 8 ans
Parent
commit
23659ad1dd
2 fichiers modifiés avec 16 ajouts et 1 suppressions
  1. 0 1
      manifests/apt.pp
  2. 16 0
      manifests/mta.pp

+ 0 - 1
manifests/apt.pp

@@ -2,7 +2,6 @@
 # Manifest:: apt.pp
 #
 # Lorraine Data Network http://ldn-fai.net/
-# Author:: Sebastien Badia (<seb@sebian.fr>)
 
 class public::apt {
 

+ 16 - 0
manifests/mta.pp

@@ -0,0 +1,16 @@
+# Module:: public
+# Manifest:: apt.pp
+#
+# Lorraine Data Network http://ldn-fai.net/
+
+class public::mta {
+
+  include '::postfix::server'
+
+  mailalias { 'root':
+    ensure    => present,
+    recipient => 'root@ldn-fai.net',
+    notify    => Service['postfix'];
+  }
+
+}