From d185cc616d02324f8ade39e0a24081d8df7acbac Mon Sep 17 00:00:00 2001 From: hickert Date: Wed, 29 Sep 2010 14:43:09 +0000 Subject: [PATCH] Updated installable device handling git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@19855 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../systems/goto/Device/InstallRecipe.tpl | 21 +++++++++++++++++++ .../goto/Device/class_InstallRecipe.inc | 12 +++++++++++ 2 files changed, 33 insertions(+) diff --git a/gosa-plugins/goto/admin/systems/goto/Device/InstallRecipe.tpl b/gosa-plugins/goto/admin/systems/goto/Device/InstallRecipe.tpl index d49065332..82d795623 100644 --- a/gosa-plugins/goto/admin/systems/goto/Device/InstallRecipe.tpl +++ b/gosa-plugins/goto/admin/systems/goto/Device/InstallRecipe.tpl @@ -1,5 +1,26 @@

{t}Installation type{/t}

+ + + + + + + + + +
+ +
+ +
+
diff --git a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc index ce618239b..e130e0fdf 100644 --- a/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc +++ b/gosa-plugins/goto/admin/systems/goto/Device/class_InstallRecipe.inc @@ -2,6 +2,13 @@ class InstallRecipe extends plugin { + + public $__missingBoostrap = 'debian'; + public $__missingBoostrapList = array('weißnicht' => 'Irgendwas','debian' => 'debian'); + + public $__missingConfigManagement = 'puppet'; + public $__missingConfigManagementList = array('fai' => 'FAI','puppet' => 'Puppet'); + public $kickstartTemplateDN = ""; public $kickstartTemplateDNList = array( 'dc=intranet,dc=gonicus,dc=de' => 'Intranet-Tpl', @@ -109,6 +116,11 @@ class InstallRecipe extends plugin $smarty->assign('kickstartMirrorDNList', $this->kickstartMirrorDNList); $smarty->assign('kickstartSystemLocaleList', $this->kickstartSystemLocaleList); $smarty->assign('kickstartNTPServerList', $this->kickstartNTPServerList->render()); + + $smarty->assign('__missingBoostrap', $this->__missingBoostrap); + $smarty->assign('__missingBoostrapList', $this->__missingBoostrapList); + $smarty->assign('__missingConfigManagement', $this->__missingConfigManagement); + $smarty->assign('__missingConfigManagementList', $this->__missingConfigManagementList); foreach($this->attributes as $attr){ $smarty->assign($attr, $this->$attr); } -- 2.30.2