summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2016-06-23 12:06:12 -0300
committerSilvio Rhatto <rhatto@riseup.net>2016-06-23 12:06:12 -0300
commitb1d984d26973f2169fa44d9a6af15498b138970f (patch)
tree73aa6762ac5d2751a3eeec61282e862fc03aabfa
parent97d381c55dc3f8a9949d586ae6cbee590d5d5112 (diff)
downloadpuppet-user-b1d984d26973f2169fa44d9a6af15498b138970f.tar.gz
puppet-user-b1d984d26973f2169fa44d9a6af15498b138970f.tar.bz2
Authorized key requires homedir
-rw-r--r--manifests/manage.pp2
1 files changed, 1 insertions, 1 deletions
diff --git a/manifests/manage.pp b/manifests/manage.pp
index e9500e6..46ba4d2 100644
--- a/manifests/manage.pp
+++ b/manifests/manage.pp
@@ -149,7 +149,7 @@ define user::manage(
options => $sshkey_options,
type => $real_sshkey_type,
target => "$real_homedir/.ssh/authorized_keys",
- require => User["$title"],
+ require => [ User["$title"], File["$real_homedir"] ],
}
}
}