summaryrefslogtreecommitdiff
path: root/src/local/rz-mux/rz-mux-tool.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/local/rz-mux/rz-mux-tool.py')
-rw-r--r--src/local/rz-mux/rz-mux-tool.py14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/local/rz-mux/rz-mux-tool.py b/src/local/rz-mux/rz-mux-tool.py
index 590d53c4..253475bb 100644
--- a/src/local/rz-mux/rz-mux-tool.py
+++ b/src/local/rz-mux/rz-mux-tool.py
@@ -1,8 +1,11 @@
"""
Multiplexed-Rhizi instance configuration generator:
- - setup Apache instance configuration
- - setup Neo4J instance, instance configuration
- - setup Rhizi instance configuration
+ - generate Apache instance configuration files
+ - generate Neo4J instance, instance configuration files
+ - generate Rhizi instance configuration files
+
+ This tool currently does not handle module confdir/rootdir creation, file mode/ownership creation,
+ which are handled by the .sh accompanying shell script.
"""
import argparse
from jinja2 import Environment, FileSystemLoader
@@ -22,11 +25,6 @@ class Template_Task():
def do_exec(self):
- dst_dir = os.path.dirname(self.dst_path)
- if not os.path.exists(dst_dir):
- print('rz-mux-tool: warning: target dir missing, installing: %s, please adjust usr/grp' % (dst_dir))
- os.makedirs(dst_dir)
-
with open(self.dst_path, 'w') as f_out:
f_out.write(self.jinja_tmpl.render(**self.kv_set))