summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2013-08-29 16:02:07 +0200
committervarac <varacanero@zeromail.org>2013-08-29 18:54:04 +0200
commit683a1dbe729d3979c9390e2d0aeb5e0e4c258370 (patch)
tree80cbface8ed66bd4a2f92bd597daa0108140fcd2
parentfb10fcf5484417c5bfb9099c17f0edf4ccf3bc09 (diff)
Deploy postfix with an empty main.cf as beginning (Feature #3584)
-rw-r--r--puppet/modules/site_apt/templates/wheezy/postfix.seeds1
-rw-r--r--puppet/modules/site_postfix/manifests/mx.pp1
2 files changed, 2 insertions, 0 deletions
diff --git a/puppet/modules/site_apt/templates/wheezy/postfix.seeds b/puppet/modules/site_apt/templates/wheezy/postfix.seeds
new file mode 100644
index 00000000..1a878ccc
--- /dev/null
+++ b/puppet/modules/site_apt/templates/wheezy/postfix.seeds
@@ -0,0 +1 @@
+postfix postfix/main_mailer_type select No configuration
diff --git a/puppet/modules/site_postfix/manifests/mx.pp b/puppet/modules/site_postfix/manifests/mx.pp
index 53dd9be4..ed5b3832 100644
--- a/puppet/modules/site_postfix/manifests/mx.pp
+++ b/puppet/modules/site_postfix/manifests/mx.pp
@@ -32,6 +32,7 @@ class site_postfix::mx {
}
class { 'postfix':
+ preseed => true,
root_mail_recipient => $root_mail_recipient,
smtp_listen => 'all',
require => [ X509::Key[$cert_name], X509::Cert[$cert_name],