From c9286fe92cea4f7be3ed2a5dac1a49c0a7a1a2dd Mon Sep 17 00:00:00 2001 From: Narayan Desai Date: Thu, 8 Nov 2007 18:18:54 +0000 Subject: Stop installing Svcmgr bits and include new reporting bits for bcfg2.conf (in bcfg2-admin init) git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@3941 ce84e21b-d406-0410-9b95-82705330c041 --- src/sbin/bcfg2-admin | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/sbin/bcfg2-admin b/src/sbin/bcfg2-admin index efd493341..94e9cc153 100755 --- a/src/sbin/bcfg2-admin +++ b/src/sbin/bcfg2-admin @@ -32,10 +32,25 @@ config = ''' [server] repository = %s structures = Bundler,Base -generators = SSHbase,Cfg,Pkgmgr,Svcmgr,Rules +generators = SSHbase,Cfg,Pkgmgr,Rules [statistics] sendmailpath = /usr/sbin/sendmail +database_engine = sqlite3 +# 'postgresql', 'mysql', 'mysql_old', 'sqlite3' or 'ado_mssql'. +database_name = +# Or path to database file if using sqlite3. +#/etc/brpt.sqlite is default path if left empty +database_user = +# Not used with sqlite3. +database_password = +# Not used with sqlite3. +database_host = +# Not used with sqlite3. +database_port = +# Set to empty string for default. Not used with sqlite3. +web_debug = True + [communication] protocol = xmlrpc/ssl @@ -114,7 +129,7 @@ def initialize_repo(cfile): pass #create the repo dirs - for subdir in ['SSHbase', 'Cfg', 'Pkgmgr', 'Svcmgr', 'Rules', 'etc', 'Metadata', + for subdir in ['SSHbase', 'Cfg', 'Pkgmgr', 'Rules', 'etc', 'Metadata', 'Base', 'Bundler']: path = "%s/%s" % (repo, subdir) newpath = '' -- cgit v1.2.3-1-g7c22