summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSol Jerome <solj@ices.utexas.edu>2008-09-22 05:55:10 +0000
committerSol Jerome <solj@ices.utexas.edu>2008-09-22 05:55:10 +0000
commit464979b67cf7bb7337cbe34719be94ef391ae002 (patch)
tree114bffd3059e571e2c958ed125a3ee8efddc9828
parentc186a79899fa8ccfdeb3d51818ce340874399939 (diff)
downloadbcfg2-464979b67cf7bb7337cbe34719be94ef391ae002.tar.gz
bcfg2-464979b67cf7bb7337cbe34719be94ef391ae002.tar.bz2
bcfg2-464979b67cf7bb7337cbe34719be94ef391ae002.zip
Add DBStats and fingerprint information to bcfg2.conf
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4917 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r--examples/bcfg2.conf4
-rw-r--r--src/lib/Server/Admin/Init.py4
2 files changed, 8 insertions, 0 deletions
diff --git a/examples/bcfg2.conf b/examples/bcfg2.conf
index da19e30d8..d03e2f163 100644
--- a/examples/bcfg2.conf
+++ b/examples/bcfg2.conf
@@ -2,6 +2,8 @@
repository = /var/lib/bcfg2
structures = Bundler,Base
generators = SSHbase,Cfg,Pkgmgr,Svcmgr
+# Uncomment to use the DBStats plugin (0.9.6pre2 and later)
+#plugins = DBStats
[statistics]
sendmailpath = /usr/sbin/sendmail
@@ -24,6 +26,8 @@ web_debug = True
protocol = xmlrpc/ssl
password = foobat
key = /etc/bcfg2.key
+# fingerprint of server (from bcfg2-admin fingerprint)
+#fingerprint = [server fingerprint]
[components]
bcfg2 = https://localhost:6789
diff --git a/src/lib/Server/Admin/Init.py b/src/lib/Server/Admin/Init.py
index 941ef1596..fa06f9346 100644
--- a/src/lib/Server/Admin/Init.py
+++ b/src/lib/Server/Admin/Init.py
@@ -8,6 +8,8 @@ config = '''
repository = %s
structures = %s
generators = %s
+# Uncomment to use the DBStats plugin (0.9.6pre2 and later)
+#plugins = DBStats
[statistics]
sendmailpath = %s
@@ -31,6 +33,8 @@ web_debug = True
protocol = %s
password = %s
key = %s/bcfg2.key
+# fingerprint of server (from bcfg2-admin fingerprint)
+#fingerprint = [server fingerprint]
[components]
bcfg2 = %s