Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
owner => buildd,
}
+ file { '/home/buildd/.profile':
+ content => @(EOT),
+ export XDG_RUNTIME_DIR="/run/user/$UID"
+ export DBUS_SESSION_BUS_ADDRESS="unix:path=${XDG_RUNTIME_DIR}/bus"
+ | EOT
+ group => buildd,
+ owner => buildd,
+ }
+
if ! $::buildd_key {
exec { 'create-buildd-key':
command => '/bin/su - buildd -c \'mkdir -p -m 02700 .ssh && ssh-keygen -C "`whoami`@`hostname` (`date +%Y-%m-%d`)" -P "" -f .ssh/id_rsa -q\'',