kolla/docker/monasca/monasca-grafana/extend_start.sh
Doug Szumski 3da653faf1 Add Monasca Grafana image
This provides support for building the Monasca fork of Grafana
which features Keystone integration.

It is primarily for use with the Monasca Grafana datasource, although
other datasources can be installed if required.

In the future it would be more efficient to build and host the packages
externally.

Implements: blueprint monasca-grafana
Change-Id: I6cb175868d1993ae31700de36b721f4833c4164b
2018-11-07 09:55:29 +00:00

9 lines
198 B
Bash

#!/bin/bash
if [[ ! -d "/var/log/kolla/monasca" ]]; then
mkdir -p /var/log/kolla/monasca
fi
if [[ $(stat -c %a /var/log/kolla/monasca) != "755" ]]; then
chmod 755 /var/log/kolla/monasca
fi