Code

Updated properties.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 09:11:33 +0000 (09:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Tue, 11 May 2010 09:11:33 +0000 (09:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18354 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc

index 0a5df439552e567a7dd74514d74885ee4f35e5d9..af71cfd85cd08fcf4bc4226038d95b485fc71815 100644 (file)
@@ -406,6 +406,24 @@ class servrepository extends goService
           "plSection"     => array("administration"),
           "plCategory"    => array("server"),
 
+          "plProperties" => array(
+              array(
+                  "name"          => "repositoryBranchHook",
+                  "type"          => "cmd",
+                  "default"       => "",
+                  "description"   => _("The FAI plugin can be used in a way that it generates branched or freezed releases inside your repository. Specifying the 'postcreate' and 'postmodify' keywords in the 'Repository service', calls the provided script as a hook when adding or removing branches. This script should do the rest inside of your repository.")
+                  ."
+                  Example:
+                  repositoryBranchHook=\"/opt/dak/bin/get_extra_repos\"
+                  postcreate=\"/opt/dak/bin/handle_repository '%lock_dn' '%lock_name' '%lock_type' \"",
+                  "check"         => "gosaProperty::isCommand",
+                  "migrate"       => "",
+                  "group"         => "plugin",
+                  "mandatory"     => FALSE
+                  )
+
+              ),
+
           "plProvidedAcls"=> array(
 #            "start"         => _("Service start"),  // Remove this to hide the start button at all.
 #            "stop"          => _("Service stop"),   // Remove this to hide the stop button at all.