summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorNarayan Desai <desai@mcs.anl.gov>2007-11-08 18:18:54 +0000
committerNarayan Desai <desai@mcs.anl.gov>2007-11-08 18:18:54 +0000
commitc9286fe92cea4f7be3ed2a5dac1a49c0a7a1a2dd (patch)
tree2a738d993590eb3857811769e3905b9eb3fddc7e /src
parent7a96a99ab06490791901fac0985ee307efcbb6eb (diff)
downloadbcfg2-c9286fe92cea4f7be3ed2a5dac1a49c0a7a1a2dd.tar.gz
bcfg2-c9286fe92cea4f7be3ed2a5dac1a49c0a7a1a2dd.tar.bz2
bcfg2-c9286fe92cea4f7be3ed2a5dac1a49c0a7a1a2dd.zip
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
Diffstat (limited to 'src')
-rwxr-xr-xsrc/sbin/bcfg2-admin19
1 files changed, 17 insertions, 2 deletions
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.
+#<repository>/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 = ''