From 1aeff29bfb5fb35c075c310e0af235ccf286fc48 Mon Sep 17 00:00:00 2001 From: Alexander Sulfrian Date: Wed, 15 Oct 2014 16:25:12 +0200 Subject: Options: add missing communication:protocol options The option was there in bcfg2-1.3.x and is still documented (maybe it just got lost during the options rewrite). --- src/lib/Bcfg2/Options/Common.py | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/lib/Bcfg2/Options/Common.py') diff --git a/src/lib/Bcfg2/Options/Common.py b/src/lib/Bcfg2/Options/Common.py index 06e2d2914..a6ea136c3 100644 --- a/src/lib/Bcfg2/Options/Common.py +++ b/src/lib/Bcfg2/Options/Common.py @@ -111,6 +111,12 @@ class Common(object): ssl_ca = PathOption( cf=('communication', 'ca'), help='Path to SSL CA Cert') + #: Communication protocol + protocol = Option( + cf=('communication', 'protocol'), default='xmlrpc/ssl', + choices=['xmlrpc/ssl', 'xmlrpc/tlsv1'], + help='Communication protocol to use.') + #: Default Path paranoid setting default_paranoid = Option( cf=('mdata', 'paranoid'), dest="default_paranoid", default='true', -- cgit v1.2.3-1-g7c22