Skip to content
Snippets Groups Projects
Commit 0dd8e25c authored by Hahn Axel (hahn)'s avatar Hahn Axel (hahn)
Browse files

added puppet.one as target

parent 658cc636
No related branches found
No related tags found
No related merge requests found
...@@ -35,21 +35,21 @@ $aConfig = array( ...@@ -35,21 +35,21 @@ $aConfig = array(
'phases' => array( 'phases' => array(
"preview" => array( "preview" => array(
'css' => 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);', '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( "stage" => array(
'css' => 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);', '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);', 'bgbutton' => 'background:#8aa; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);',
), ),
), ),
"live" => array( "live" => array(
'css' => 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);', '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);', 'bgbutton' => 'background:#8a8; color:#fcfcfc; border: 1px solid rgba(0,0,0,0.15);',
), ),
...@@ -83,13 +83,18 @@ switch (php_uname("n")) { ...@@ -83,13 +83,18 @@ switch (php_uname("n")) {
'type' => 'rsync', 'type' => 'rsync',
'runas' => 'www-data', // nur fuer commandline 'runas' => 'www-data', // nur fuer commandline
'target' => 'ladmin@calcium.iml.unibe.ch:/share/imldeployment', '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; break;
default: default:
break; break;
} }
if (!array_key_exists('tmpDir', $aConfig) || !$aConfig["tmpDir"]){ if (!array_key_exists('tmpDir', $aConfig) || !$aConfig["tmpDir"]){
$aConfig["tmpDir"] = (getenv("temp") ? getenv("temp") : "/var/tmp") . '/imldeployment'; $aConfig["tmpDir"] = (getenv("temp") ? getenv("temp") : "/var/tmp") . '/imldeployment';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment