diff options
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}": |