summaryrefslogtreecommitdiff
path: root/manifests/sympa
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-06-27 16:47:54 -0300
committerSilvio Rhatto <rhatto@riseup.net>2013-06-27 16:47:54 -0300
commitf9f925230cee5c41f77357b7b1c8925e4a0caf7c (patch)
tree9232c96296e191905e494b99eeb378b2dd5b7503 /manifests/sympa
parentba0c856f111abcb0120a5b77ecf3b137d0152100 (diff)
downloadpuppet-mail-f9f925230cee5c41f77357b7b1c8925e4a0caf7c.tar.gz
puppet-mail-f9f925230cee5c41f77357b7b1c8925e4a0caf7c.tar.bz2
Be more explicit on virtual and transport regexps and allow more virtual domains to be defined
Diffstat (limited to 'manifests/sympa')
-rw-r--r--manifests/sympa/domain.pp11
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/sympa/domain.pp b/manifests/sympa/domain.pp
new file mode 100644
index 0000000..7da9a89
--- /dev/null
+++ b/manifests/sympa/domain.pp
@@ -0,0 +1,11 @@
+define mail::sympa::domain() {
+ $subdomain = $name
+
+ postfix::transport_regexp_snippet { 'sympa_transport_regexp':
+ content => template('mail/sympa/transport_regexp.erb'),
+ }
+
+ postfix::virtual_regexp_snippet { 'sympa_virtual_regexp':
+ content => template('mail/sympa/virtual_regexp.erb'),
+ }
+}