diff --git a/public_html/deployment/classes/project.class.php b/public_html/deployment/classes/project.class.php index d2fa2682452b9643696a14710412383650ec341b..8329e2101ec55f5e72e5f11b5ceef16cf04e248c 100644 --- a/public_html/deployment/classes/project.class.php +++ b/public_html/deployment/classes/project.class.php @@ -1335,6 +1335,9 @@ class project { $sQueueLink = $this->_getFileBase($sPhase, "onhold"); $sRepoLink = $this->_getFileBase($sPhase, "ready2install"); + // -------------------------------------------------- + // checks + // -------------------------------------------------- $sReturn.="<h3>" . t("class-project-deploy-label-checks") . "</h3>"; if (array_key_exists("deploytimes", $this->_aConfig["phases"][$sPhase])) { // check if the a deploy time is reached @@ -1392,8 +1395,14 @@ class project { $this->_TempDelete(); return $this->getBox("error", t("class-project-error-command-failed") . $sReturn); } - $this->_TempFill($sReturn); + $aActionList['iActive'] ++; + $this->_TempFill($sReturn, $aActionList); + + + // -------------------------------------------------- + // synch packages + // -------------------------------------------------- // $sReturn.=$this->_execAndSend("ln -s $sLinkTarget $sLinkName"); if (array_key_exists('mirrorPackages', $this->_aConfig) && count($this->_aConfig['mirrorPackages'])) { foreach ($this->_aConfig['mirrorPackages'] as $sLabel => $aTarget) { @@ -1427,6 +1436,11 @@ class project { $aActionList['iActive'] ++; $this->_TempFill($sReturn, $aActionList); + + // -------------------------------------------------- + // move the queue link to the repo name + // -------------------------------------------------- + // TODO: run puppet agent on target server(s) - for preview only if (array_key_exists("puppethost", $this->_aPrjConfig["phases"][$sPhase]) && $this->_aPrjConfig["phases"][$sPhase]["puppethost"] ) {