From 697402da24ca930b3608359a61b9872fdddc62d9 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Thu, 7 Feb 2008 12:08:55 -0500 Subject: Starting off the certmaster tree with most of the func code, shortly non-certmaster related parts will be removed, and other small parts added/tweaked --- func/commonconfig.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 func/commonconfig.py (limited to 'func/commonconfig.py') diff --git a/func/commonconfig.py b/func/commonconfig.py new file mode 100644 index 0000000..9fd3356 --- /dev/null +++ b/func/commonconfig.py @@ -0,0 +1,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') -- cgit