diff options
| author | Michal Rostecki <mrostecki@mirantis.com> | 2016-04-07 15:00:26 +0200 |
|---|---|---|
| committer | Michal Rostecki <mrostecki@mirantis.com> | 2016-04-12 08:06:21 +0200 |
| commit | 2069d7562cf8e4bdcf462fc9c5c4f7adb21a319c (patch) | |
| tree | 6100637e6903d076507cce27498e17912e7a70f6 /docker | |
| parent | a7dbbcf95233198187b41594820056fb368a3303 (diff) | |
| download | kolla-2069d7562cf8e4bdcf462fc9c5c4f7adb21a319c.tar.gz kolla-2069d7562cf8e4bdcf462fc9c5c4f7adb21a319c.zip | |
Create and chown /etc/heka directory
This directory is needed for kolla-mesos to save config files
there.
Change-Id: Ia9810061d370bc600dfffeb33a4d4402c423e3fc
Closes-Bug: 1567437
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/heka/Dockerfile.j2 | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/docker/heka/Dockerfile.j2 b/docker/heka/Dockerfile.j2 index bc8db7d4e..4714dd2bd 100644 --- a/docker/heka/Dockerfile.j2 +++ b/docker/heka/Dockerfile.j2 @@ -5,7 +5,8 @@ MAINTAINER {{ maintainer }} RUN yum -y install https://github.com/mozilla-services/heka/releases/download/v0.10.0/heka-0_10_0-linux-amd64.rpm \ && yum clean all \ - && useradd --user-group heka + && useradd --user-group heka \ + && mkdir /etc/heka {% elif base_distro in ['ubuntu'] %} @@ -25,7 +26,7 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start RUN usermod -a -G kolla heka \ && chmod 440 /etc/sudoers.d/heka_sudoers \ && chmod 755 /usr/local/bin/kolla_extend_start \ - && chown -R heka: /usr/share/heka + && chown -R heka: /usr/share/heka /etc/heka {{ include_footer }} |
