diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-12-30 14:02:37 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-12-30 14:02:37 -0200 |
commit | 2ed93fa11d40268b448c14305ff41d7c2f74c4f9 (patch) | |
tree | ffe4bd6827d56ba54a470099604aa5b77cb3cf68 /manifests | |
parent | 884024594bb7e425baf882fe511fb9a54f9d872f (diff) | |
download | puppet-mail-2ed93fa11d40268b448c14305ff41d7c2f74c4f9.tar.gz puppet-mail-2ed93fa11d40268b448c14305ff41d7c2f74c4f9.tar.bz2 |
Puppet 4 fixes
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/firma.pp | 2 | ||||
-rw-r--r-- | manifests/system.pp | 11 | ||||
-rw-r--r-- | manifests/virtual/packages.pp | 4 |
3 files changed, 14 insertions, 3 deletions
diff --git a/manifests/firma.pp b/manifests/firma.pp index 81f6ae7..cc7477e 100644 --- a/manifests/firma.pp +++ b/manifests/firma.pp @@ -1,5 +1,5 @@ class mail::firma( - $subdomain = hiera('firma_subdomain', $firma::params::subdomain) + $subdomain = hiera('firma_subdomain', $::mail::firma::params::subdomain) ) { # Firma subsystems diff --git a/manifests/system.pp b/manifests/system.pp index 4adc292..95179ee 100644 --- a/manifests/system.pp +++ b/manifests/system.pp @@ -85,9 +85,11 @@ class mail::system( $sympa_relay_domains = ", ${mail::sympa::subdomain}.${domain}" } 'disabled': { + $sympa_relay_domains = '' include mail::sympa::disabled } default: { + $sympa_relay_domains = '' } } @@ -97,6 +99,9 @@ class mail::system( class { 'mail::schleuder': } $schleuder_relay_domains = ", ${mail::schleuder::subdomain}.${domain}" } + default: { + $schleuder_relay_domains = '' + } } # Mlmmj @@ -106,6 +111,9 @@ class mail::system( $mlmmj_relay_domains = ", ${mail::mlmmj::subdomain}.${domain}" } + default: { + $mlmmj_relay_domains = '' + } } # Firma @@ -114,6 +122,9 @@ class mail::system( class { 'mail::firma': } $firma_relay_domains = ", ${mail::firma::subdomain}.${domain}" } + default: { + $firma_relay_domains = '' + } } # GPG Mail Gateway diff --git a/manifests/virtual/packages.pp b/manifests/virtual/packages.pp index af0d817..969cc02 100644 --- a/manifests/virtual/packages.pp +++ b/manifests/virtual/packages.pp @@ -17,8 +17,8 @@ class mail::virtual::packages { package { 'php-crypt-gpg': ensure => $::lsbdistcodename ? { - 'wheezy' => absent, - default => installed, + 'jessie' => installed, + default => absent, }, } |