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 listen_port
= IntOption(51235)
23 cadir
= Option('/etc/pki/certmaster/ca')
24 cert_dir
= Option('/etc/pki/certmaster')
25 certroot
= Option('/var/lib/certmaster/certmaster/certs')
26 csrroot
= Option('/var/lib/certmaster/certmaster/csrs')
27 cert_extension
= Option('cert')
28 autosign
= BoolOption(False)
29 sync_certs
= BoolOption(False)
30 peering
= BoolOption(True)
31 peerroot
= Option('/var/lib/certmaster/peers')
33 class MinionConfig(BaseConfig
):
34 log_level
= Option('INFO')
35 certmaster
= Option('certmaster')
36 certmaster_port
= IntOption(51235)
37 cert_dir
= Option('/etc/pki/certmaster')