summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-25 17:42:04 -0400
committerMichael DeHaan <mdehaan@mdehaan.rdu.redhat.com>2007-09-25 17:42:04 -0400
commit6c38c3128afd8542d086ba998494e02872781b77 (patch)
tree1de9e285b8cc29a48d5c0900d80ac53c43dc1444
parent1a8aa91ec38920e17e8b08470ab038de402b18de (diff)
downloadthird_party-func-6c38c3128afd8542d086ba998494e02872781b77.tar.gz
third_party-func-6c38c3128afd8542d086ba998494e02872781b77.tar.xz
third_party-func-6c38c3128afd8542d086ba998494e02872781b77.zip
Renaming configuration file to 'minion.conf' and changing setup.py and specfiles to understand.
-rw-r--r--etc/certmaster.conf2
-rwxr-xr-xminion/config_data.py3
-rw-r--r--setup.py20
3 files changed, 4 insertions, 21 deletions
diff --git a/etc/certmaster.conf b/etc/certmaster.conf
index cdf1f66..0dd8dcc 100644
--- a/etc/certmaster.conf
+++ b/etc/certmaster.conf
@@ -1,4 +1,4 @@
-listen_addr = localhost
+listen_addr = ''
listen_port = 51235
cadir = /etc/pki/func/ca
certroot = /var/lib/func/certmaster/certs
diff --git a/minion/config_data.py b/minion/config_data.py
index 2f34c5c..7007e4d 100755
--- a/minion/config_data.py
+++ b/minion/config_data.py
@@ -41,8 +41,7 @@ class Config:
cp.read([CONFIG_FILE])
- self.ds["is_overlord"] = int(cp.get("general","is_overlord"))
- self.ds["is_minion"] = int(cp.get("general","is_minion"))
+ self.ds["log_level"] = cp.get("general","log_level")
self.ds["overlord_server"] = cp.get("general","overlord_server")
def get(self):
diff --git a/setup.py b/setup.py
index 4c34d9a..9b3ac7c 100644
--- a/setup.py
+++ b/setup.py
@@ -18,20 +18,8 @@ if __name__ == "__main__":
manpath = "share/man/man1/"
etcpath = "/etc/%s" % NAME
- etcpathdb = "/etc/%s/db" % NAME
- wwwpath = "/var/www/%s" % NAME
initpath = "/etc/init.d/"
logpath = "/var/log/%s/" % NAME
- logpathdb = "/var/log/%s/db/" % NAME
- settingspath = "/var/lib/%s/" % NAME
- migraterepopath = "/var/lib/%s/db/" % NAME
- schemapath = "/usr/share/%s/db_schema/" % NAME
- upgradepath = schemapath + "upgrade/"
- puppetpath = "/usr/share/%s/puppet-config/" % NAME
- manifestpath = "/etc/puppet/manifests/"
- profiletemplatepath = "/usr/share/%s/profile-template/" % NAME
- profilespath = "/var/lib/%s/profiles/" % NAME
- queuedprofilespath = "/var/lib/%s/profiles/queued/" % NAME
setup(
name="%s" % NAME,
version = VERSION,
@@ -53,12 +41,8 @@ if __name__ == "__main__":
],
data_files = [(initpath, ["init-scripts/funcd", "init-scripts/certmaster"]),
(etcpath, ["etc/minion.conf","etc/certmaster.conf"]),
- (etcpathdb, []),
- (logpath, []),
- (logpathdb, []),
- (migraterepopath, []),
- (profilespath, []),
- (queuedprofilespath, [])],
+ (logpath, [])
+ ],
description = SHORT_DESC,
long_description = LONG_DESC
)