From 8d8b27b581fb58b8d559d3c7c1e1397e578230c3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 5 Jun 2017 19:06:51 -0300 Subject: Changes for puppet 4 compatibility --- manifests/subsystem/ssh/config.pp | 2 +- manifests/subsystem/ssh/folder.pp | 2 +- manifests/subsystem/ssh/known_hosts.pp | 2 +- manifests/subsystem/ssh/local_key.pp | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) (limited to 'manifests/subsystem/ssh') diff --git a/manifests/subsystem/ssh/config.pp b/manifests/subsystem/ssh/config.pp index d790562..510a656 100644 --- a/manifests/subsystem/ssh/config.pp +++ b/manifests/subsystem/ssh/config.pp @@ -15,7 +15,7 @@ define nodo::subsystem::ssh::config( ensure => present, owner => $owner, group => $group, - mode => 0600, + mode => '0600', require => File["${home}/.ssh"], } diff --git a/manifests/subsystem/ssh/folder.pp b/manifests/subsystem/ssh/folder.pp index 45a9693..d22b9cb 100644 --- a/manifests/subsystem/ssh/folder.pp +++ b/manifests/subsystem/ssh/folder.pp @@ -10,7 +10,7 @@ define nodo::subsystem::ssh::folder( ensure => $ensure, owner => $owner, group => $group, - mode => 0700, + mode => '0700', } } } diff --git a/manifests/subsystem/ssh/known_hosts.pp b/manifests/subsystem/ssh/known_hosts.pp index d49dc7d..0d81254 100644 --- a/manifests/subsystem/ssh/known_hosts.pp +++ b/manifests/subsystem/ssh/known_hosts.pp @@ -14,7 +14,7 @@ define nodo::subsystem::ssh::known_host( ensure => present, owner => $owner, group => $group, - mode => 0600, + mode => '0600', require => File["${home}/.ssh"], } diff --git a/manifests/subsystem/ssh/local_key.pp b/manifests/subsystem/ssh/local_key.pp index f311ea3..717f408 100644 --- a/manifests/subsystem/ssh/local_key.pp +++ b/manifests/subsystem/ssh/local_key.pp @@ -21,7 +21,7 @@ define nodo::subsystem::ssh::local_key( ensure => $ensure, owner => $owner, group => $group, - mode => 0400, + mode => '0400', source => $ensure ? { 'present' => $source, default => undef, @@ -33,7 +33,7 @@ define nodo::subsystem::ssh::local_key( ensure => $ensure, owner => $owner, group => $group, - mode => 0400, + mode => '0400', source => $ensure ? { 'present' => "${source}.pub", default => undef, -- cgit v1.2.3