Consolidate conf templates into Configurations/ — remove stale Deployment/conf_templates/
Deployment/conf_templates/ had two stale files: host.conf.template was a copy of host1.conf (not a HOSTN template), and master.conf had hardcoded hostnames and an old appdata DATA_DIR path. The correct templates already exist in Configurations/ (master.conf.template, host.conf.template). Updated varaverk.plg and git_pull_execute.sh to read from Configurations/ directly. Removed TMPL_DIR variable from git_pull_execute.sh — CONF_DIR covers both.
This commit is contained in:
+2
-2
@@ -195,8 +195,8 @@ fi
|
||||
|
||||
# Seed master.conf from template if absent.
|
||||
mkdir -p "$CONF_DIR"
|
||||
if [[ ! -f "$CONF_DIR/master.conf" && -f "$SCRIPTS_DIR/Deployment/conf_templates/master.conf" ]]; then
|
||||
cp "$SCRIPTS_DIR/Deployment/conf_templates/master.conf" "$CONF_DIR/master.conf"
|
||||
if [[ ! -f "$CONF_DIR/master.conf" && -f "$CONF_DIR/master.conf.template" ]]; then
|
||||
cp "$CONF_DIR/master.conf.template" "$CONF_DIR/master.conf"
|
||||
log "seeded master.conf from template"
|
||||
fi
|
||||
log "install step complete"
|
||||
|
||||
Reference in New Issue
Block a user