Unify Centos and Ubuntu Source Install - Ceilometer

A change merged in the base allows for Centos and Ubuntu to install
all python things to the same locations. This updates the source
section to reflect that change.

Change-Id: Iab907f680d08a3f3ed1d13b6867df01853105fc4
Partially-Implements: blueprint install-from-ubuntu
This commit is contained in:
Sam Yaple 2015-08-27 10:03:25 +00:00
parent eecf6581a4
commit e13cb31ccb
8 changed files with 5 additions and 15 deletions

View File

@ -1 +0,0 @@
../../../tools/build-docker-image

View File

@ -1 +0,0 @@
../../../tools/build-docker-image

View File

@ -10,15 +10,12 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
{% endif %}
{% elif install_type == 'source' %}
ADD ./ceilometer.tar /
RUN ln -s /ceilometer-* /ceilometer
RUN cd /ceilometer \
ADD ceilometer.tar /
RUN ln -s /ceilometer-* ceilometer \
&& useradd --user-group ceilometer \
&& pip install -r requirements.txt \
&& pip install /ceilometer \
&& mkdir /etc/ceilometer /var/log/ceilometer \
&& pip --no-cache-dir install /ceilometer \
&& mkdir -p /etc/ceilometer /var/log/ceilometer /home/ceilometer \
&& cp -r /ceilometer/etc/* /etc/ceilometer/ \
&& rm -rf /root/.cache
&& chown -R ceilometer: /etc/ceilometer /var/log/ceilometer /home/ceilometer
{% endif %}

View File

@ -1 +0,0 @@
../../../tools/build-docker-image

View File

@ -1 +0,0 @@
../../../tools/build-docker-image

View File

@ -1 +0,0 @@
../../../tools/build-docker-image

View File

@ -1 +0,0 @@
../../../tools/build-docker-image

View File

@ -1 +0,0 @@
../../../tools/build-docker-image