2 Default configuration values for certmaster items when
3 not specified in config file.
5 Copyright 2008, Red Hat, Inc
8 This software may be freely redistributed under the terms of the GNU
9 general public license.
11 You should have received a copy of the GNU General Public License
12 along with this program; if not, write to the Free Software
13 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 from config
import BaseConfig
, BoolOption
, IntOption
, Option
19 class CMConfig(BaseConfig
):
20 log_level
= Option('INFO')
21 listen_addr
= Option('')
22 cadir
= Option('/etc/pki/certmaster/ca')
23 cert_dir
= Option('/etc/pki/certmaster')
24 certroot
= Option('/var/lib/certmaster/certmaster/certs')
25 csrroot
= Option('/var/lib/certmaster/certmaster/csrs')
26 cert_extension
= Option('cert')
27 autosign
= BoolOption(False)
29 class MinionConfig(BaseConfig
):
30 log_level
= Option('INFO')
31 certmaster
= Option('certmaster')
32 cert_dir
= Option('/etc/pki/certmaster')