aboutsummaryrefslogtreecommitdiff
path: root/manifests/defines/ssh_folder.pp
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-16 21:20:11 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-16 21:20:11 -0300
commit3dc5d84016ab7333993e0201073fdfb121b16e39 (patch)
treeb0c644d15c3ae654bf16a9cf88996dbc9767a6c5 /manifests/defines/ssh_folder.pp
parentdd70e104ebf37e9cf0ad5097d81075536001374c (diff)
downloadpuppet-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.pp3
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,