Do the same for the git user
[mirror/dsa-puppet.git] / modules / salsa / manifests / init.pp
index be5d10f..a2d2063 100644 (file)
@@ -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",
        }