summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Server/Admin
diff options
context:
space:
mode:
authorTim Laszlo <tim.laszlo@gmail.com>2012-10-10 08:07:25 -0500
committerTim Laszlo <tim.laszlo@gmail.com>2012-10-10 08:07:25 -0500
commit2f7b00a52b304a1db7fbfdfceafbd45217e29e9a (patch)
treef53eaf458ebbea87f4b333a82862e3cc0d6afdcf /src/lib/Bcfg2/Server/Admin
parent54f1fd380fb005dbe37237cbb3e085340539bc3b (diff)
downloadbcfg2-2f7b00a52b304a1db7fbfdfceafbd45217e29e9a.tar.gz
bcfg2-2f7b00a52b304a1db7fbfdfceafbd45217e29e9a.tar.bz2
bcfg2-2f7b00a52b304a1db7fbfdfceafbd45217e29e9a.zip
Reporting: Make transport configurable
Add routines to the setup to handle alternate transports. Make the default for new installs LocalFilesystem and existing installs DirectStore. Raise an error is DirectStore is used when loading bcfg-report-collector
Diffstat (limited to 'src/lib/Bcfg2/Server/Admin')
-rw-r--r--src/lib/Bcfg2/Server/Admin/Init.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/Bcfg2/Server/Admin/Init.py b/src/lib/Bcfg2/Server/Admin/Init.py
index 5d5888ff2..286c52d5d 100644
--- a/src/lib/Bcfg2/Server/Admin/Init.py
+++ b/src/lib/Bcfg2/Server/Admin/Init.py
@@ -37,6 +37,9 @@ sendmailpath = %s
# Not used with sqlite3.
#port =
+[reporting]
+transport = LocalFilesystem
+
[communication]
protocol = %s
password = %s