kolla-ansible/docker/ceilometer/ceilometer-api/extend_start.sh
Hui Kang a703469265 Add missing extend_start files for ceilometer container
Change-Id: I927c0593fc6b669d760b3744a5e77c532a164ca5
closes-Bug: #1571274
Partially-Implements: blueprint ansible-ceilometer
2016-04-17 14:18:07 -04:00

10 lines
290 B
Bash

#!/bin/bash
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
ceilometer-manage db_sync
sudo chown -R ceilometer: /var/lib/ceilometer/
exit 0
fi