kolla/docker/common/ceilometer/ceilometer-api/config-external.sh
Swapnil Kulkarni 4c25113d30 Add config-internal/config-external for Ceilometer
Partially Implements: Blueprint standard-start

Change-Id: I0c9fea2014a23ca0b08f9a0946472cc877edacbc
2015-07-09 12:13:25 -04:00

11 lines
225 B
Bash

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