From fc3d292081ce244fce5def31ec94f317aba18a9c Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Mon, 27 Nov 2023 13:40:07 -0500 Subject: [PATCH] Add missing subdirectory configs --- node-daemon/pvcnoded/util/config.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/node-daemon/pvcnoded/util/config.py b/node-daemon/pvcnoded/util/config.py index 19ff5d6b..a9d3a124 100644 --- a/node-daemon/pvcnoded/util/config.py +++ b/node-daemon/pvcnoded/util/config.py @@ -172,6 +172,18 @@ def get_configuration_current(config_file): "console_log_directory": o_path["console_log_directory"], "ceph_directory": o_path["ceph_directory"], } + # Define our dynamic directory schema + config_path["dnsmasq_dynamic_directory"] = ( + config_path["dynamic_directory"] + "/dnsmasq" + ) + config_path["pdns_dynamic_directory"] = ( + config_path["dynamic_directory"] + "/pdns" + ) + config_path["nft_dynamic_directory"] = config_path["dynamic_directory"] + "/nft" + # Define our log directory schema + config_path["dnsmasq_log_directory"] = config_path["log_directory"] + "/dnsmasq" + config_path["pdns_log_directory"] = config_path["log_directory"] + "/pdns" + config_path["nft_log_directory"] = config_path["log_directory"] + "/nft" config = {**config, **config_path} o_subsystem = o_config["subsystem"]