Link db sync utilities to /usr/local/bin...

Updates the ceilometer, ironic, neutron, and tuskar elements
so that we soft link the DB sync utilities into /usr/local/bin.

This allows us to refactor the reset-db script to avoid hard
coding the /opt/stack/venv binary patch which is used for
source installs.

This is cleaner and makes things consistent. It also makes
the source installs consistent with how most distro packages
work (thus making reset-db useful with packages as well).

Change-Id: Ib8c36811230512e4283f3f960254b2c37e699f46
This commit is contained in:
Dan Prince
2014-02-26 11:37:38 -05:00
parent 35bebaeb68
commit 03a1c64435
5 changed files with 15 additions and 8 deletions

View File

@@ -7,3 +7,5 @@ os-svc-install -u ceilometer -r /opt/stack/ceilometer
install -m 640 -o ceilometer -g ceilometer /opt/stack/ceilometer/etc/ceilometer/pipeline.yaml /etc/ceilometer
install -m 640 -o ceilometer -g ceilometer /opt/stack/ceilometer/etc/ceilometer/policy.json /etc/ceilometer
install -m 640 -o ceilometer -g ceilometer /opt/stack/ceilometer/etc/ceilometer/sources.json /etc/ceilometer
ln -s /opt/stack/venvs/ceilometer/bin/ceilometer-dbsync /usr/local/bin/ceilometer-dbsync