kolla-ansible/docker/tempest/extend_start.sh
Jeffrey Zhang 2102631110 implement Ansible Tempest role
DocImpact

Implments: blueprint ansible-tempest
Change-Id: Iadd86d9d91438f056c433b9a2016f32587c92878
2016-07-20 09:43:10 +08:00

9 lines
199 B
Bash

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