summaryrefslogtreecommitdiffstats
path: root/base/deploy/src/scriptlets/pkiparser.py
diff options
context:
space:
mode:
Diffstat (limited to 'base/deploy/src/scriptlets/pkiparser.py')
-rw-r--r--base/deploy/src/scriptlets/pkiparser.py9
1 files changed, 4 insertions, 5 deletions
diff --git a/base/deploy/src/scriptlets/pkiparser.py b/base/deploy/src/scriptlets/pkiparser.py
index 4b13c2e4a..866df44a4 100644
--- a/base/deploy/src/scriptlets/pkiparser.py
+++ b/base/deploy/src/scriptlets/pkiparser.py
@@ -31,7 +31,6 @@ import time
# PKI Deployment Imports
-import pkiconfig as config
from pkiconfig import PKIConfig
import pkihelper as util
import pkilogging
@@ -41,7 +40,7 @@ import pkimessages as log
class PKIConfigParser:
# PKI Deployment Helper Functions
- def process_command_line_arguments(self, argv):
+ def process_command_line_arguments(self, argv, config):
"Read and process command-line options"
config.pki_deployment_executable = os.path.basename(argv[0])
description = None
@@ -187,7 +186,7 @@ class PKIConfigParser:
return
- def read_pki_configuration_file(self):
+ def read_pki_configuration_file(self, config):
"Read configuration file sections into dictionaries"
rv = 0
try:
@@ -225,7 +224,7 @@ class PKIConfigParser:
return rv
- def compose_pki_master_dictionary(self):
+ def compose_pki_master_dictionary(self, config):
"Create a single master PKI dictionary from the sectional dictionaries"
try:
config.pki_master_dict = dict()
@@ -2322,7 +2321,7 @@ class PKIConfigParser:
return
- def compose_pki_slots_dictionary(self):
+ def compose_pki_slots_dictionary(self, config):
"""Read the slots configuration file to create
the appropriate PKI slots dictionary"""
rv = 0