Skip to content
Snippets Groups Projects
Commit 4c25113d authored by Swapnil Kulkarni's avatar Swapnil Kulkarni
Browse files

Add config-internal/config-external for Ceilometer

Partially Implements: Blueprint standard-start

Change-Id: I0c9fea2014a23ca0b08f9a0946472cc877edacbc
parent fcda6a06
No related branches found
No related tags found
No related merge requests found
Showing
with 43 additions and 0 deletions
......@@ -4,4 +4,6 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum install -y openstack-ceilometer-alarm && yum clean all
ADD ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]
../../../../common/ceilometer/ceilometer-alarm/config-external.sh
\ No newline at end of file
../../../../common/ceilometer/ceilometer-alarm/config-internal.sh
\ No newline at end of file
......@@ -4,4 +4,5 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum install -y openstack-ceilometer-api && yum clean all
ADD ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]
../../../../common/ceilometer/ceilometer-api/config-external.sh
\ No newline at end of file
../../../../common/ceilometer/ceilometer-api/config-internal.sh
\ No newline at end of file
......@@ -4,4 +4,6 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum install -y openstack-ceilometer-central && yum clean all
ADD ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]
../../../../common/ceilometer/ceilometer-central/config-external.sh
\ No newline at end of file
../../../../common/ceilometer/ceilometer-central/config-internal.sh
\ No newline at end of file
......@@ -4,4 +4,6 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum install -y openstack-ceilometer-collector && yum clean all
ADD ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]
../../../../common/ceilometer/ceilometer-collector/config-external.sh
\ No newline at end of file
../../../../common/ceilometer/ceilometer-collector/config-internal.sh
\ No newline at end of file
......@@ -5,4 +5,6 @@ RUN yum install -y openstack-ceilometer-compute python-ceilometerclient python-p
&& yum clean all
ADD ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]
../../../../common/ceilometer/ceilometer-compute/config-external.sh
\ No newline at end of file
../../../../common/ceilometer/ceilometer-compute/config-internal.sh
\ No newline at end of file
......@@ -4,4 +4,6 @@ MAINTAINER Kolla Project (https://launchpad.net/kolla)
RUN yum install -y openstack-ceilometer-notification && yum clean all
ADD ./start.sh /start.sh
COPY config-internal.sh config-external.sh /opt/kolla/
CMD ["/start.sh"]
../../../../common/ceilometer/ceilometer-notification/config-external.sh
\ No newline at end of file
../../../../common/ceilometer/ceilometer-notification/config-internal.sh
\ No newline at end of file
#!/bin/bash
SOURCE="/opt/kolla/ceilometer/ceilometer.conf"
TARGET="/etc/ceilometer/ceilometer.conf"
OWNER="ceilometer"
if [[ -f "$SOURCE" ]]; then
cp $SOURCE $TARGET
chown ${OWNER}: $TARGET
chmod 0644 $TARGET
fi
#!/bin/bash
set -e
. /opt/kolla/kolla-common.sh
. /opt/kolla/config-ceilometer.sh
exec /usr/bin/ceilometer-alarm-evaluator &
exec /usr/bin/ceilometer-alarm-notifier
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment