kolla-ansible/ansible/roles/mongodb/templates/mongodb.json.j2
Javier Castillo Alcíbar 44e8419a5f Fix dbPath typo in templates/mongodb.json.j2
During mongodb upgrade process "/var/lib/mongodb" should have
correct permissions, but a typo present in config.json was giving
permissions to "/var/lib/kolla/mongodb"

Change-Id: I916e7d831531131b2f141a2f7ac712d4a82f7e86
Closes-Bug: #1668303
2017-03-08 15:53:16 +01:00

24 lines
615 B
Django/Jinja

{
"command": "/usr/bin/mongod --unixSocketPrefix=/var/run/mongodb --config /etc/mongodb.conf run",
"config_files": [
{
"source": "{{ container_config_directory }}/mongodb.conf",
"dest": "/etc/mongodb.conf",
"owner": "mongodb",
"perm": "0644"
}
],
"permissions": [
{
"path": "/var/lib/mongodb",
"owner": "mongodb:mongodb",
"recurse": true
},
{
"path": "/var/log/kolla/mongodb",
"owner": "mongodb:mongodb",
"recurse": true
}
]
}