kolla-ansible/ansible/roles/influxdb/templates/influxdb.json.j2
zhubingbing e95722522a
Fix influxdb upgrade permission issue
Change-Id: I0936a26bd51114e372a89daa463a16e5aac3c477
Partial-Bug: #1631503
2016-10-18 09:16:00 +08:00

24 lines
603 B
Django/Jinja

{
"command": "/usr/bin/influxd -config /etc/influxdb/influxdb.conf",
"config_files": [
{
"source": "{{ container_config_directory }}/influxdb.conf",
"dest": "/etc/influxdb/influxdb.conf",
"owner": "influxdb",
"perm": "0600"
}
],
"permissions": [
{
"path": "/var/lib/influxdb",
"owner": "influxdb:influxdb",
"recurse": true
},
{
"path": "/var/log/kolla/influxdb",
"owner": "influxdb:influxdb",
"recurse": true
}
]
}