summaryrefslogtreecommitdiffstats
path: root/func/commonconfig.py
blob: 9fd33562fe1ce1907ca37adb5a94407782a3dc7a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
from config import BaseConfig, BoolOption, IntOption, Option

class CMConfig(BaseConfig):
    listen_addr = Option('')
    cadir = Option('/etc/pki/func/ca')
    certroot =  Option('/var/lib/func/certmaster/certs')
    csrroot = Option('/var/lib/func/certmaster/csrs')
    autosign = BoolOption(False)


class FuncdConfig(BaseConfig):
    log_level = Option('INFO')
    certmaster = Option('certmaster')
    cert_dir = Option('/etc/pki/func')
    acl_dir = Option('/etc/func/minion-acl.d')