summaryrefslogtreecommitdiff
path: root/manifests/autossh/mail.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/autossh/mail.pp')
-rw-r--r--manifests/autossh/mail.pp8
1 files changed, 4 insertions, 4 deletions
diff --git a/manifests/autossh/mail.pp b/manifests/autossh/mail.pp
index 2875025..0149b29 100644
--- a/manifests/autossh/mail.pp
+++ b/manifests/autossh/mail.pp
@@ -12,7 +12,7 @@ define tunnel::autossh::mail($sshport = '22') {
ensure => present,
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
content => "${::fqdn}\n",
notify => Service["nullmailer"],
}
@@ -21,14 +21,14 @@ define tunnel::autossh::mail($sshport = '22') {
ensure => directory,
owner => root,
group => root,
- mode => 0755,
+ mode => '0755',
}
file { "/etc/nullmailer/remotes":
ensure => present,
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
content => "localhost smtp --port=2525\n",
notify => Service["nullmailer"],
require => File["/etc/nullmailer"],
@@ -38,7 +38,7 @@ define tunnel::autossh::mail($sshport = '22') {
ensure => present,
owner => root,
group => root,
- mode => 0644,
+ mode => '0644',
content => "$root_mail_recipient\n",
require => File["/etc/nullmailer"],
}