From 0dd8e25c761d02f2903ce038619fc6d054b601fd Mon Sep 17 00:00:00 2001 From: "Hahn Axel (hahn)" <axel.hahn@iml.unibe.ch> Date: Fri, 3 Feb 2017 15:19:06 +0100 Subject: [PATCH] added puppet.one as target --- config/inc_projects_config.php | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/config/inc_projects_config.php b/config/inc_projects_config.php index 86722e70..926ce3cd 100644 --- a/config/inc_projects_config.php +++ b/config/inc_projects_config.php @@ -35,21 +35,21 @@ $aConfig = array( 'phases' => array( "preview" => array( 'css' => array( - 'bgdark' => 'background:#e0e0f0; color:#88a;', + 'bgdark' => 'background:#89a; color:#f8f8f8;', 'bglight' => 'background:#e8e8f8; color:#333; background: rgba(180,180,230, 0.3);', - 'bgbutton' => 'background:#88a; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);', + 'bgbutton' => 'background:#89a; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);', ), ), "stage" => array( 'css' => array( - 'bgdark' => 'background:#d4e8e8; color:#8aa;', + 'bgdark' => 'background:#8aa; color:#f8f8f8;', 'bglight' => 'background:#e4f8f8; color:#333; background: rgba(180,210,210, 0.3);', 'bgbutton' => 'background:#8aa; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);', ), ), "live" => array( 'css' => array( - 'bgdark' => 'background:#d0e8d0; color:#8a8;', + 'bgdark' => 'background:#8a8; color:#f8f8f8;', 'bglight' => 'background:#e0f8e0; color:#333; background: rgba(180,250,180, 0.3);', 'bgbutton' => 'background:#8a8; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);', ), @@ -83,13 +83,18 @@ switch (php_uname("n")) { 'type' => 'rsync', '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 + 'target' => 'copy-deployment@puppet.one.iml.unibe.ch:/var/shared/imldeployment', + ), + ); break; default: break; } - if (!array_key_exists('tmpDir', $aConfig) || !$aConfig["tmpDir"]){ $aConfig["tmpDir"] = (getenv("temp") ? getenv("temp") : "/var/tmp") . '/imldeployment'; } -- GitLab