diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-10-14 10:39:32 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2014-10-14 10:39:32 -0500 |
commit | 59f8f0f6e7b07527c4cf360e34c8bfac3e0ba2bb (patch) | |
tree | 259b825bb3860933d200022f022c1c09b309ca6a /src/lib/Bcfg2/Client | |
parent | c7e1ed8da2232fe42440439dce006e6417e58d8c (diff) | |
parent | 44a6f8bdbc3fe6ed69ed9c0ca0fe5c05b9794ea8 (diff) | |
download | bcfg2-59f8f0f6e7b07527c4cf360e34c8bfac3e0ba2bb.tar.gz bcfg2-59f8f0f6e7b07527c4cf360e34c8bfac3e0ba2bb.tar.bz2 bcfg2-59f8f0f6e7b07527c4cf360e34c8bfac3e0ba2bb.zip |
Merge pull request #209 from AlexanderS/fix-password-auth
Options/Commmon: remove default values for ssl-key/ssl-cert
Diffstat (limited to 'src/lib/Bcfg2/Client')
-rw-r--r-- | src/lib/Bcfg2/Client/Proxy.py | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/lib/Bcfg2/Client/Proxy.py b/src/lib/Bcfg2/Client/Proxy.py index cf6efac89..0cc479843 100644 --- a/src/lib/Bcfg2/Client/Proxy.py +++ b/src/lib/Bcfg2/Client/Proxy.py @@ -291,9 +291,14 @@ class ComponentProxy(xmlrpclib.ServerProxy): """Constructs proxies to components. """ options = [ - Bcfg2.Options.Common.location, Bcfg2.Options.Common.ssl_key, - Bcfg2.Options.Common.ssl_cert, Bcfg2.Options.Common.ssl_ca, + Bcfg2.Options.Common.location, Bcfg2.Options.Common.ssl_ca, Bcfg2.Options.Common.password, Bcfg2.Options.Common.client_timeout, + Bcfg2.Options.PathOption( + '--ssl-key', cf=('communication', 'key'), dest="key", + help='Path to SSL key'), + Bcfg2.Options.PathOption( + cf=('communication', 'certificate'), dest="cert", + help='Path to SSL certificate'), Bcfg2.Options.Option( "-u", "--user", default="root", cf=('communication', 'user'), help='The user to provide for authentication'), |