From: hickert Date: Thu, 31 Mar 2011 08:53:33 +0000 (+0000) Subject: Updated Config Management X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=dccfd6a78a8447944d70bce74c2897a07d86b4b3;p=gosa.git Updated Config Management git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20632 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/goto/admin/ConfigManagement/class_ConfigManagement.inc b/gosa-plugins/goto/admin/ConfigManagement/class_ConfigManagement.inc index 5f0c18ca7..af9bbf554 100644 --- a/gosa-plugins/goto/admin/ConfigManagement/class_ConfigManagement.inc +++ b/gosa-plugins/goto/admin/ConfigManagement/class_ConfigManagement.inc @@ -65,6 +65,7 @@ class ConfigManagement extends management // Try to initialize $this->init(); + $this->setInstallMethod('puppet'); $this->rebuildListing(); } diff --git a/gosa-plugins/goto/admin/ConfigManagement/goto/Config/AddItemDialog.tpl b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/AddItemDialog.tpl new file mode 100644 index 000000000..859ce16e7 --- /dev/null +++ b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/AddItemDialog.tpl @@ -0,0 +1,21 @@ + +

{t}Add item{/t}

+ +{t}Please specify a name for the item to add. This name has to be unique within the item configuration.{/t} +
+ +
+ +

+ {$itemCfg.name} -  {$itemCfg.description} +

+ +{t}Name{/t}:  + +
+ +
+ + +
+ diff --git a/gosa-plugins/goto/admin/ConfigManagement/goto/Config/DeviceConfig-list.tpl b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/DeviceConfig-list.tpl new file mode 100644 index 000000000..813a1f533 --- /dev/null +++ b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/DeviceConfig-list.tpl @@ -0,0 +1,21 @@ +
+ +
+

{$HEADLINE} {$SIZELIMIT}

+
+ + + + + + + +
{$RELOAD}{t}Base{/t} {$RELEASE}{$ACTIONS}{$FILTER}
+
+
+ + {$LIST} +
+ +
+ diff --git a/gosa-plugins/goto/admin/ConfigManagement/goto/Config/DeviceConfig.tpl b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/DeviceConfig.tpl new file mode 100644 index 000000000..0bb627e8c --- /dev/null +++ b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/DeviceConfig.tpl @@ -0,0 +1,12 @@ +

{t}Device Config{/t}

+{$navigationList} + + +
+ +{$containerName} ({$containerDescription}) + +

+{$template} +

+ diff --git a/gosa-plugins/goto/admin/ConfigManagement/goto/Config/TemplateEngine.tpl b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/TemplateEngine.tpl new file mode 100644 index 000000000..e60c5ae1c --- /dev/null +++ b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/TemplateEngine.tpl @@ -0,0 +1,11 @@ +

Bla

+ +{$template} + +
+ +
+ + +
+ diff --git a/gosa-plugins/goto/admin/ConfigManagement/goto/Config/TemplateWidget_textEditor.tpl b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/TemplateWidget_textEditor.tpl new file mode 100644 index 000000000..4427b4a4e --- /dev/null +++ b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/TemplateWidget_textEditor.tpl @@ -0,0 +1,12 @@ +{if $write_protect} + {t}The text is write protected due to its encoding. Editing may break it!{/t} +
+ +{/if} + +
+   + +
diff --git a/gosa-plugins/goto/admin/ConfigManagement/goto/Config/failed.tpl b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/failed.tpl new file mode 100644 index 000000000..94a4eb220 --- /dev/null +++ b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/failed.tpl @@ -0,0 +1,12 @@ +{if $rpcError} +

{t}Error{/t}

+ {msgPool type=rpcError p1=$error} + +{elseif $initFailed} +

{t}Communication failed{/t}

+ {msgPool type=rpcError p1=$error} + +{elseif $invalidInstallMethod} +

{t}Configuration error{/t}

+ {msgPool type=rpcError p1=$error} +{/if} diff --git a/gosa-plugins/goto/admin/ConfigManagement/goto/Config/puppet.tpl b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/puppet.tpl new file mode 100644 index 000000000..8b8d95b56 --- /dev/null +++ b/gosa-plugins/goto/admin/ConfigManagement/goto/Config/puppet.tpl @@ -0,0 +1,39 @@ +{if $type == 'PuppetModule'} + + + + + +
+ + + + + + + + + + + + + +
{$nameName}{$name}
{$descriptionName}{$description}
{$versionName}{$version}
+
+ {$dependencyName}:
+ {$dependency} +
+{/if} +{if $type == 'PuppetTemplate'} + + + + + + + + + +
{$nameName}{$name}
{$dataName}{$data}
+ +{/if}