diff options
| author | Jenkins <jenkins@review.openstack.org> | 2016-09-13 19:50:30 +0000 |
|---|---|---|
| committer | Gerrit Code Review <review@openstack.org> | 2016-09-13 19:50:30 +0000 |
| commit | 292baae4ffee1b4c62521b1473a45b91b35352d0 (patch) | |
| tree | 1c1d0e28b3a945ab0d1eedeeb78c0be0d9ad7665 | |
| parent | 78f1564ed808d5aeaba8fa5f320e5dc95242483b (diff) | |
| parent | a62aaaf824088cc57f2f908f8bafdd21ce038eef (diff) | |
| download | kolla-292baae4ffee1b4c62521b1473a45b91b35352d0.tar.gz kolla-292baae4ffee1b4c62521b1473a45b91b35352d0.zip | |
Merge "Add logrotate configuration for cloudkitty"
| -rw-r--r-- | ansible/roles/common/templates/cron-logrotate-cloudkitty.conf.j2 | 3 | ||||
| -rw-r--r-- | ansible/roles/common/templates/cron.json.j2 | 23 |
2 files changed, 25 insertions, 1 deletions
diff --git a/ansible/roles/common/templates/cron-logrotate-cloudkitty.conf.j2 b/ansible/roles/common/templates/cron-logrotate-cloudkitty.conf.j2 new file mode 100644 index 000000000..2dada642d --- /dev/null +++ b/ansible/roles/common/templates/cron-logrotate-cloudkitty.conf.j2 @@ -0,0 +1,3 @@ +"/var/log/kolla/cloudkitty/*.log" +{ +} diff --git a/ansible/roles/common/templates/cron.json.j2 b/ansible/roles/common/templates/cron.json.j2 index 65855b2be..4e4c5dd6c 100644 --- a/ansible/roles/common/templates/cron.json.j2 +++ b/ansible/roles/common/templates/cron.json.j2 @@ -1,5 +1,26 @@ {% set cron_cmd = 'cron -f' if kolla_base_distro in ['ubuntu', 'debian'] else 'crond -s -n' %} -{% set services = ["ansible", "aodh", "barbican", "cinder", "glance", "gnocchi", "haproxy", "heat", "keepalived", "keystone", "magnum", "manila", "mariadb", "mistral", "murano", "neutron", "nova", "rabbitmq", "swift"] %} +{% set services = [ + "ansible", + "aodh", + "barbican", + "cinder", + "cloudkitty", + "glance", + "gnocchi", + "haproxy", + "heat", + "keepalived", + "keystone", + "magnum", + "manila", + "mariadb", + "mistral", + "murano", + "neutron", + "nova", + "rabbitmq", + "swift" +] %} { "command": "{{ cron_cmd }}", "config_files": [ |
