summaryrefslogtreecommitdiffstats
path: root/func/commonconfig.py
diff options
context:
space:
mode:
authorAdrian Likins <alikins@grimlock.devel.redhat.com>2008-02-29 12:35:53 -0500
committerAdrian Likins <alikins@grimlock.devel.redhat.com>2008-02-29 12:35:53 -0500
commitdd4a2266e476410084556ea7bce9dfa47e651690 (patch)
tree3c6604c925bcdd625cc452ef992aa2a11de0769c /func/commonconfig.py
parentede64dcf5c23fdb5a78f8f638ad2d94f315b3c00 (diff)
downloadthird_party-func-dd4a2266e476410084556ea7bce9dfa47e651690.tar.gz
third_party-func-dd4a2266e476410084556ea7bce9dfa47e651690.tar.xz
third_party-func-dd4a2266e476410084556ea7bce9dfa47e651690.zip
mostly merges of stuff I thought I had already committed and pushed
various s/func/certmaster changes
Diffstat (limited to 'func/commonconfig.py')
-rw-r--r--func/commonconfig.py25
1 files changed, 16 insertions, 9 deletions
diff --git a/func/commonconfig.py b/func/commonconfig.py
index 292eb45..66f4cfc 100644
--- a/func/commonconfig.py
+++ b/func/commonconfig.py
@@ -1,15 +1,22 @@
-from config import BaseConfig, BoolOption, Option
+#!/usr/bin/python
+"""
+func
+
+Copyright 2007, Red Hat, Inc
+see AUTHORS
+
+This software may be freely redistributed under the terms of the GNU
+general public license.
-class CMConfig(BaseConfig):
- listen_addr = Option('')
- cadir = Option('/etc/pki/func/ca')
- certroot = Option('/var/lib/certmaster/certmaster/certs')
- csrroot = Option('/var/lib/certmaster/certmaster/csrs')
- autosign = BoolOption(False)
+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, Option
class FuncdConfig(BaseConfig):
log_level = Option('INFO')
- certmaster = Option('certmaster')
- cert_dir = Option('/etc/pki/func')
acl_dir = Option('/etc/func/minion-acl.d')