From 2fd53cc1fe5bbdb7b554ae793bcb7d8902a63d86 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Fri, 5 Jan 2018 17:57:53 +0100 Subject: [PATCH] Do the same for the git user --- modules/salsa/manifests/init.pp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/salsa/manifests/init.pp b/modules/salsa/manifests/init.pp index be5d10f10..a2d20630a 100644 --- a/modules/salsa/manifests/init.pp +++ b/modules/salsa/manifests/init.pp @@ -63,13 +63,13 @@ class salsa inherits salsa::params { | EOF replace => false, } - file { "/var/lib/systemd/linger/git": + file { "/var/lib/systemd/linger/${salsa::user}": ensure => present, } file { "/var/lib/systemd/linger/${salsa::webhook_user}": ensure => present, } - file { "/etc/ssh/userkeys/git": + file { "/etc/ssh/userkeys/${salsa::user}": ensure => link, target => "${salsa::home}/.ssh/authorized_keys", } -- 2.20.1