diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-02-07 10:01:16 -0500 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2013-02-14 15:12:20 -0500 |
commit | 893acc1735794e6df9d290c30d9911621bb2a927 (patch) | |
tree | 5ef81f17ef18e397de6da6f42444f05bd7f1d34e /src/lib/Bcfg2/Options.py | |
parent | fd67a2735ada342251cb6baaa4e678532566e975 (diff) | |
download | bcfg2-893acc1735794e6df9d290c30d9911621bb2a927.tar.gz bcfg2-893acc1735794e6df9d290c30d9911621bb2a927.tar.bz2 bcfg2-893acc1735794e6df9d290c30d9911621bb2a927.zip |
Metadata: allowed setting global default authentication type
Diffstat (limited to 'src/lib/Bcfg2/Options.py')
-rw-r--r-- | src/lib/Bcfg2/Options.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/lib/Bcfg2/Options.py b/src/lib/Bcfg2/Options.py index 6289e3eae..fe9a480a4 100644 --- a/src/lib/Bcfg2/Options.py +++ b/src/lib/Bcfg2/Options.py @@ -582,6 +582,11 @@ SERVER_UMASK = \ default='0077', odesc='<Server umask>', cf=('server', 'umask')) +SERVER_AUTHENTICATION = \ + Option('Default client authentication method', + default='cert+password', + odesc='{cert|bootstrap|cert+password}', + cf=('communication', 'authentication')) # database options DB_ENGINE = \ @@ -1048,7 +1053,8 @@ SERVER_COMMON_OPTIONS = dict(repo=SERVER_REPOSITORY, protocol=SERVER_PROTOCOL, web_configfile=WEB_CFILE, backend=SERVER_BACKEND, - vcs_root=SERVER_VCS_ROOT) + vcs_root=SERVER_VCS_ROOT, + authentication=SERVER_AUTHENTICATION) CRYPT_OPTIONS = dict(encrypt=ENCRYPT, decrypt=DECRYPT, |