kolla-ansible/docker/common/designate/designate-poolmanager/config-external.sh
Swapnil Kulkarni 1b4d6b37b3 Add config-internal/config-external to Designate containers
Partially Implements: Blueprint standard-start

Change-Id: I96342c3bdb99d317ce75e0bbb78bdf469f9d1bf7
2015-07-08 14:45:35 +00:00

11 lines
220 B
Bash

#!/bin/bash
SOURCE="/opt/kolla/designate/designate.conf"
TARGET="/etc/designate/designate.conf"
OWNER="designate"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi