From: Peter Palfrader Date: Fri, 5 Jan 2018 16:57:53 +0000 (+0100) Subject: Do the same for the git user X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=2fd53cc1fe5bbdb7b554ae793bcb7d8902a63d86;p=mirror%2Fdsa-puppet.git Do the same for the git user --- 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", }