diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-16 21:20:11 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-16 21:20:11 -0300 |
commit | 3dc5d84016ab7333993e0201073fdfb121b16e39 (patch) | |
tree | b0c644d15c3ae654bf16a9cf88996dbc9767a6c5 /manifests/defines/ssh_folder.pp | |
parent | dd70e104ebf37e9cf0ad5097d81075536001374c (diff) | |
download | puppet-nodo-3dc5d84016ab7333993e0201073fdfb121b16e39.tar.gz puppet-nodo-3dc5d84016ab7333993e0201073fdfb121b16e39.tar.bz2 |
Ensurable for ssh_folder
Diffstat (limited to 'manifests/defines/ssh_folder.pp')
-rw-r--r-- | manifests/defines/ssh_folder.pp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/manifests/defines/ssh_folder.pp b/manifests/defines/ssh_folder.pp index e61ec02..b2bc55e 100644 --- a/manifests/defines/ssh_folder.pp +++ b/manifests/defines/ssh_folder.pp @@ -3,10 +3,11 @@ define ssh_folder( $home, $owner, $group, + $ensure => 'directory', ) { if !defined(File["${home}/.ssh"]) { file { "${home}/.ssh": - ensure => directory, + ensure => $ensure, owner => $owner, group => $group, mode => 0700, |