aboutsummaryrefslogtreecommitdiffstats
path: root/modules/openssh/manifests/init.pp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/openssh/manifests/init.pp')
-rw-r--r--modules/openssh/manifests/init.pp3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/openssh/manifests/init.pp b/modules/openssh/manifests/init.pp
index 2e3fa3ae..55a3e093 100644
--- a/modules/openssh/manifests/init.pp
+++ b/modules/openssh/manifests/init.pp
@@ -67,7 +67,8 @@ class openssh {
}
file { "$pubkeys_directory/$name/authorized_keys":
- ensure => "~$name/.ssh/authorized_keys",
+ # FIXME : fragile approximation for $HOME
+ ensure => "/home/$name/.ssh/authorized_keys",
mode => 700,
}
}