From 63a5b62dba190007634e1e0f2f834057b63aeafd Mon Sep 17 00:00:00 2001 From: "Chris St. Pierre" Date: Thu, 18 Oct 2012 11:33:38 -0400 Subject: added Git.Update RMI, ability to base bcfg2 VCS repo at a different directory than the repo root --- src/lib/Bcfg2/Options.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/lib/Bcfg2/Options.py') diff --git a/src/lib/Bcfg2/Options.py b/src/lib/Bcfg2/Options.py index 83234a792..f3765a5ec 100644 --- a/src/lib/Bcfg2/Options.py +++ b/src/lib/Bcfg2/Options.py @@ -572,6 +572,11 @@ SERVER_DAEMON_GROUP = \ default=0, cf=('server', 'group'), cook=get_gid) +SERVER_VCS_ROOT = \ + Option('Server VCS repository root', + default=None, + odesc='', + cf=('server', 'vcs_root')) # database options DB_ENGINE = \ @@ -1078,7 +1083,8 @@ SERVER_COMMON_OPTIONS = dict(repo=SERVER_REPOSITORY, ca=SERVER_CA, protocol=SERVER_PROTOCOL, web_configfile=WEB_CFILE, - backend=SERVER_BACKEND) + backend=SERVER_BACKEND, + vcs_root=SERVER_VCS_ROOT) CRYPT_OPTIONS = dict(encrypt=ENCRYPT, decrypt=DECRYPT, -- cgit v1.2.3-1-g7c22