X-Git-Url: https://pwan.org/git/?a=blobdiff_plain;ds=sidebyside;f=certmaster%2Fcommonconfig.py;h=d378c92e7bc81d7601b7b76aa06dac649b9a1dfc;hb=4b12ee4b5dbfc7fa680bf350b6a48e9bf4772fb0;hp=f4e96be7c13cef2de57d4457786a7d3ab463ec7f;hpb=d6dfdb25c4e8be31d77ba8db7c3499e3f10e0c4b;p=certmaster.git diff --git a/certmaster/commonconfig.py b/certmaster/commonconfig.py index f4e96be..d378c92 100644 --- a/certmaster/commonconfig.py +++ b/certmaster/commonconfig.py @@ -1,15 +1,33 @@ +""" +Default configuration values for certmaster items when +not specified in config file. + +Copyright 2008, Red Hat, Inc +see AUTHORS + +This software may be freely redistributed under the terms of the GNU +general public license. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. +""" + + from config import BaseConfig, BoolOption, IntOption, Option class CMConfig(BaseConfig): log_level = Option('INFO') listen_addr = Option('') cadir = Option('/etc/pki/certmaster/ca') + cert_dir = Option('/etc/pki/certmaster') certroot = Option('/var/lib/certmaster/certmaster/certs') csrroot = Option('/var/lib/certmaster/certmaster/csrs') + cert_extension = Option('cert') autosign = BoolOption(False) class MinionConfig(BaseConfig): log_level = Option('INFO') certmaster = Option('certmaster') cert_dir = Option('/etc/pki/certmaster') - # acl_dir = Option('/etc/certmaster/minion-acl.d') +