From 0d5ec451cde1f52bde4bba01f60a1d07c756d5d6 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 11 May 2010 09:11:33 +0000 Subject: [PATCH] Updated properties. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@18354 594d385d-05f5-0310-b6e9-bd551577e9d8 --- .../repository/class_servRepository.inc | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc index 0a5df4395..af71cfd85 100644 --- a/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc +++ b/gosa-plugins/fai/admin/systems/services/repository/class_servRepository.inc @@ -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. -- 2.30.2