b9312c63e1
Change-Id: Ife2ef3eb15f8435f29ffb4fb5912d00f68de0ff7 Partially-implements: blueprint remove-config-internal
11 lines
208 B
Bash
11 lines
208 B
Bash
#!/bin/bash
|
|
SOURCE="/opt/kolla/haproxy/haproxy.cfg"
|
|
TARGET="/etc/haproxy/haproxy.cfg"
|
|
OWNER="root"
|
|
|
|
if [[ -f "$SOURCE" ]]; then
|
|
cp -f $SOURCE $TARGET
|
|
chown ${OWNER}: $TARGET
|
|
chmod 0644 $TARGET
|
|
fi
|