kolla/docker/sensu/sensu-base/extend_start.sh
Mathias Ewald ed29f8730d Add sensu images
Add sensu yum repository to base image

Create images for sensu-server, sensu-api and sensu-client processes

Install a basic set of handler plugins into server image

Install a basic set of sensu plugins into client image

Change-Id: I0b88133080c58070c24ed90059315366b64034c6
2017-12-14 09:25:08 +00:00

10 lines
243 B
Bash

#!/bin/bash
# Create log directory, with appropriate permissions
if [[ ! -d "/var/log/kolla/sensu" ]]; then
mkdir -p /var/log/kolla/sensu
fi
if [[ $(stat -c %a /var/log/kolla/sensu) != "755" ]]; then
chmod 755 /var/log/kolla/sensu
fi