]> khamidou — GitHub mirrors - kite.git/commitdiff
disabled overwriting postmap file
authorkarim hamidou <khamidou@gmail.com>
Wed, 14 May 2014 09:50:18 +0000 (11:50 +0200)
committerkarim hamidou <khamidou@gmail.com>
Wed, 14 May 2014 09:50:18 +0000 (11:50 +0200)
puppet_modules/postfix/manifests/init.pp

index 95fa9e083abb6265b30b2fbbe8b639f75a6d2161..78ec6620cc6baac1808d8538ffe177e794811694 100644 (file)
@@ -79,17 +79,17 @@ class postfix ($server_name, $appdir) {
         content => template('postfix/postfix_vhosts.erb'),
     }
 
-    file {"/etc/postfix/vmaps":
-        owner => "root",
-        group => "root",
-        content => template('postfix/postfix_vmaps.erb'),
-    }
-
-    exec {"postmap /etc/postfix/vmaps":
-        path =>  ["/usr/bin/", "/usr/sbin"],
-        require => File["/etc/postfix/vmaps"],
-        notify => Service["postfix"],
-    }
+    #file {"/etc/postfix/vmaps":
+    #    owner => "root",
+    #    group => "root",
+    #    content => template('postfix/postfix_vmaps.erb'),
+    #}
+    #
+    #exec {"postmap /etc/postfix/vmaps":
+    #    path =>  ["/usr/bin/", "/usr/sbin"],
+    #    require => File["/etc/postfix/vmaps"],
+    #    notify => Service["postfix"],
+    #}
 
     # deliver a copy of all the received emails to user kite
     #postfix_config { 'always_bcc':