summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:06:11 -0300
commit5f605b04b19f4201ae43fcc02b6aacb48f3a9322 (patch)
treef52c77afc02033d2891022e44c4f3bbeaae770df
parent0426f5e47f64c2c502815836a6a734f7c2e299de (diff)
downloadpuppet-exim-5f605b04b19f4201ae43fcc02b6aacb48f3a9322.tar.gz
puppet-exim-5f605b04b19f4201ae43fcc02b6aacb48f3a9322.tar.bz2
Changes for puppet 4 compatibility
-rw-r--r--manifests/init.pp6
-rw-r--r--manifests/tls.pp6
2 files changed, 6 insertions, 6 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index c877805..adec808 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -57,14 +57,14 @@ class exim(
},
owner => "root",
group => "root",
- mode => 0644,
+ mode => '0644',
ensure => present,
}
file { "/etc/exim4/update-exim4.conf.conf":
owner => "root",
group => "root",
- mode => 0644,
+ mode => '0644',
ensure => present,
content => template('exim/update-exim4.conf.conf.erb'),
}
@@ -72,7 +72,7 @@ class exim(
file { "/etc/mailname":
owner => "root",
group => "root",
- mode => 0644,
+ mode => '0644',
ensure => present,
content => "$fqdn\n",
}
diff --git a/manifests/tls.pp b/manifests/tls.pp
index d6c719c..089fa73 100644
--- a/manifests/tls.pp
+++ b/manifests/tls.pp
@@ -4,7 +4,7 @@ class exim::tls inherits exim {
ensure => present,
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
source => "puppet:///modules/exim/195_exim4_config_tls_verify",
notify => Exec["update-exim4.conf"],
}
@@ -13,7 +13,7 @@ class exim::tls inherits exim {
ensure => present,
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
source => "puppet:///modules/exim/30_exim4-config_remote_smtp_tls_verify",
notify => Exec["update-exim4.conf"],
}
@@ -27,7 +27,7 @@ class exim::tls inherits exim {
},
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
content => "domainlist tls_verify_relay_to_domains = $exim_tls_verify_relay_to_domains\n",
notify => Exec["update-exim4.conf"],
}