diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:06:51 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-06-05 19:06:51 -0300 |
commit | 8d8b27b581fb58b8d559d3c7c1e1397e578230c3 (patch) | |
tree | 627c970454600dc8a932b44fb1f76f785db53658 /manifests/subsystem/ssh | |
parent | e128c09e7432997b1cf4747ec5e0f4fab7985e8e (diff) | |
download | puppet-nodo-8d8b27b581fb58b8d559d3c7c1e1397e578230c3.tar.gz puppet-nodo-8d8b27b581fb58b8d559d3c7c1e1397e578230c3.tar.bz2 |
Changes for puppet 4 compatibility
Diffstat (limited to 'manifests/subsystem/ssh')
-rw-r--r-- | manifests/subsystem/ssh/config.pp | 2 | ||||
-rw-r--r-- | manifests/subsystem/ssh/folder.pp | 2 | ||||
-rw-r--r-- | manifests/subsystem/ssh/known_hosts.pp | 2 | ||||
-rw-r--r-- | manifests/subsystem/ssh/local_key.pp | 4 |
4 files changed, 5 insertions, 5 deletions
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, |