summaryrefslogtreecommitdiffstats
path: root/minion/utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'minion/utils.py')
-rwxr-xr-xminion/utils.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/minion/utils.py b/minion/utils.py
index 5d848b7..fd6eb7d 100755
--- a/minion/utils.py
+++ b/minion/utils.py
@@ -23,12 +23,12 @@ import xmlrpclib
import codes
import func
from func import certs
-from func.config import BaseConfig, BoolOption, IntOption, Option, ConfigError, read_config, ListOption
-import server
+from func.config import read_config
+from func.commonconfig import FuncdConfig
def create_minion_keys():
config_file = '/etc/func/minion.conf'
- config = read_config(config_file, server.FuncdConfig)
+ config = read_config(config_file, FuncdConfig)
cert_dir = config.cert_dir
master_uri = config.certmaster
hn = socket.getfqdn()