From 0578c547ab8910fbec58d3c9ac68780d3df316b8 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 21 Feb 2017 16:15:31 +0100 Subject: [PATCH] Make archvsync_base create the /etc/ssh/userkeys/archvsync symlink --- modules/roles/manifests/archvsync_base.pp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/roles/manifests/archvsync_base.pp b/modules/roles/manifests/archvsync_base.pp index 9e9176a06..ac8b8e9a1 100644 --- a/modules/roles/manifests/archvsync_base.pp +++ b/modules/roles/manifests/archvsync_base.pp @@ -11,4 +11,9 @@ class roles::archvsync_base { ensure => present, content => '', } + + file { '/etc/ssh/userkeys/archvsync': + ensure => 'link', + target => '/home/archvsync/.ssh/authorized_keys', + } } -- 2.20.1