kolla-ansible/docker/common/barbican/config-external.sh
Swapnil Kulkarni ba1901de65 Add config-internal/config-external for barbican
Partially Implements: Blueprint standard-start

Change-Id: I34b4d96515b4c68d42319b477504abdfe9581bad
2015-07-09 12:08:47 -04:00

11 lines
215 B
Bash

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