summaryrefslogtreecommitdiff
path: root/manifests/firma.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-01-21 18:01:00 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-01-21 18:01:00 -0200
commit86515e9a0f27d36e38faee05beb03cbb99677e73 (patch)
tree355b620ee9ea98be6d54f87c506b64b2024c8076 /manifests/firma.pp
parent14d954ff02564493192fe1fc9ad3a148ba20ef60 (diff)
downloadpuppet-mail-86515e9a0f27d36e38faee05beb03cbb99677e73.tar.gz
puppet-mail-86515e9a0f27d36e38faee05beb03cbb99677e73.tar.bz2
Refactoring for 2.7 compatibility
Diffstat (limited to 'manifests/firma.pp')
-rw-r--r--manifests/firma.pp7
1 files changed, 5 insertions, 2 deletions
diff --git a/manifests/firma.pp b/manifests/firma.pp
index c1ab5a9..ec59879 100644
--- a/manifests/firma.pp
+++ b/manifests/firma.pp
@@ -1,4 +1,7 @@
-class mail::firma {
+class mail::firma(
+ $subdomain = hiera('firma_subdomain', 'firma')
+) {
+
# Firma subsystems
include mail::packages::firma
@@ -12,7 +15,7 @@ class mail::firma {
content => template('mail/postfix/firma/virtual_regexp.erb'),
}
- postfix::transport { "${firma_subdomain}.$domain":
+ postfix::transport { "${subdomain}.$domain":
ensure => absent,
destination => "firma",
}