From 3f3e10272ba5c880c1295489070bf4bba1f9fa34 Mon Sep 17 00:00:00 2001 From: hahn <axel.hahn@iml.unibe.ch> Date: Fri, 26 Jan 2018 14:49:30 +0100 Subject: [PATCH] ci server - sync-Packages cronjob runs as www-data - no sudo required --> remove runas --- hooks/templates/inc_projects_config.php.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/templates/inc_projects_config.php.erb b/hooks/templates/inc_projects_config.php.erb index 0db51c41..4859bde4 100644 --- a/hooks/templates/inc_projects_config.php.erb +++ b/hooks/templates/inc_projects_config.php.erb @@ -121,12 +121,12 @@ switch (php_uname("n")) { $aConfig['mirrorPackages'] = array( 'puppet' => array( 'type' => 'rsync', - 'runas' => 'www-data', // nur fuer commandline + 'runas' => '', // www-data', // nur fuer commandline 'target' => 'ladmin@calcium.iml.unibe.ch:/share/imldeployment', ), 'puppet.one' => array( 'type' => 'rsync', - 'runas' => 'www-data', // nur fuer commandline + 'runas' => '', // www-data', // nur fuer commandline 'target' => 'copy-deployment@puppet.one.iml.unibe.ch:/var/shared/imldeployment', ), ); -- GitLab