summaryrefslogtreecommitdiff
path: root/manifests/autossh/instance.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:07:45 -0300
committerSilvio Rhatto <rhatto@riseup.net>2017-06-05 19:07:45 -0300
commit98cdd18633ba2b1becb6402d23dd08b1dd218771 (patch)
treecce9251848561845fb186b70fdacc187aa7a405e /manifests/autossh/instance.pp
parent870179470cfee459c3e9d5aa62ea29af21196a2c (diff)
downloadpuppet-tunnel-98cdd18633ba2b1becb6402d23dd08b1dd218771.tar.gz
puppet-tunnel-98cdd18633ba2b1becb6402d23dd08b1dd218771.tar.bz2
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests/autossh/instance.pp')
-rw-r--r--manifests/autossh/instance.pp6
1 files changed, 3 insertions, 3 deletions
diff --git a/manifests/autossh/instance.pp b/manifests/autossh/instance.pp
index bdfcaac..8f99576 100644
--- a/manifests/autossh/instance.pp
+++ b/manifests/autossh/instance.pp
@@ -34,7 +34,7 @@ define tunnel::autossh::instance(
if !defined(File["${dir}"]) {
@@file { "${dir}":
ensure => directory,
- mode => 0750,
+ mode => '0750',
owner => $user,
group => 0,
tag => "${tag}",
@@ -44,7 +44,7 @@ define tunnel::autossh::instance(
if !defined(File["${ssh_dir}"]) {
@@file { "${ssh_dir}":
ensure => directory,
- mode => 0700,
+ mode => '0700',
owner => $user,
group => 0,
require => [User[$user], File["${dir}"]],
@@ -55,7 +55,7 @@ define tunnel::autossh::instance(
if !defined(File["${ssh_dir}/authorized_keys"]) {
@@file { "${ssh_dir}/authorized_keys":
ensure => present,
- mode => 0644,
+ mode => '0644',
owner => 0,
group => 0,
source => "puppet:///pubkeys/${user}_id_${keytype}.pub",