diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-16 21:28:14 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-16 21:28:14 -0300 |
commit | 112b27aaf92299bf40c95567131854ba6d9e5c49 (patch) | |
tree | 000825e556b33fcbd23aeec904bdafd1907e6d1c /manifests | |
parent | 3dc5d84016ab7333993e0201073fdfb121b16e39 (diff) | |
download | puppet-nodo-112b27aaf92299bf40c95567131854ba6d9e5c49.tar.gz puppet-nodo-112b27aaf92299bf40c95567131854ba6d9e5c49.tar.bz2 |
Ensurable for ssh_folder (2)
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/defines/ssh_local_key.pp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/manifests/defines/ssh_local_key.pp b/manifests/defines/ssh_local_key.pp index 55079f2..2e31bc7 100644 --- a/manifests/defines/ssh_local_key.pp +++ b/manifests/defines/ssh_local_key.pp @@ -11,7 +11,10 @@ define ssh_local_key( home => $home, owner => $owner, group => $group, - ensure => $ensure, + ensure => $ensure ? { + 'present' => 'directory', + default => 'absent', + }, } file { "${home}/.ssh/${dest}": |