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/local_key.pp | |
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/local_key.pp')
-rw-r--r-- | manifests/subsystem/ssh/local_key.pp | 4 |
1 files changed, 2 insertions, 2 deletions
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, |