summaryrefslogtreecommitdiffstats
path: root/src/lib/Bcfg2/Options.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/Bcfg2/Options.py')
-rw-r--r--src/lib/Bcfg2/Options.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Options.py b/src/lib/Bcfg2/Options.py
index 467d9d6d7..4dd3dd3f7 100644
--- a/src/lib/Bcfg2/Options.py
+++ b/src/lib/Bcfg2/Options.py
@@ -634,6 +634,12 @@ REPORTING_FILE_LIMIT = \
cf=('reporting', 'file_limit'),
cook=get_size,)
+# Reporting options
+REPORTING_TRANSPORT = \
+ Option('Reporting transport',
+ default='DirectStore',
+ cf=('reporting', 'transport'),)
+
# Client options
CLIENT_KEY = \
Option('Path to SSL key',
@@ -1161,7 +1167,8 @@ DATABASE_COMMON_OPTIONS = dict(web_configfile=WEB_CFILE,
django_debug=DJANGO_DEBUG,
web_prefix=DJANGO_WEB_PREFIX)
-REPORTING_COMMON_OPTIONS = dict(reporting_file_limit=REPORTING_FILE_LIMIT)
+REPORTING_COMMON_OPTIONS = dict(reporting_file_limit=REPORTING_FILE_LIMIT,
+ reporting_transport=REPORTING_TRANSPORT)
class OptionParser(OptionSet):