Merge "Unify Centos and Ubuntu Source Install - Ceilometer"

This commit is contained in:
Jenkins 2015-08-27 16:45:08 +00:00 committed by Gerrit Code Review
commit 63db5ce3d8
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