ed29f8730d
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
10 lines
243 B
Bash
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
|