2016-02-12 12:43:42 +01:00
|
|
|
{% set swift_services = ["swift-account-auditor", "swift-account-reaper", "swift-account-replicator", "swift-account-server", "swift-container-auditor", "swift-container-replicator", "swift-container-server", "swift-container-updater", "swift-object-auditor", "swift-object-expirer", "swift-object-replicator", "swift-object-server", "swift-object-updater", "swift-proxy-server", "swift-rsyncd"] %}
|
2016-02-03 11:52:46 +01:00
|
|
|
{
|
|
|
|
"command": "/usr/bin/hekad -config=/etc/heka/",
|
|
|
|
"config_files": [
|
2016-02-24 16:05:36 +01:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-elasticsearch.toml",
|
|
|
|
"dest": "/etc/heka/heka-elasticsearch.toml",
|
|
|
|
"owner": "heka",
|
|
|
|
"perm": "0600",
|
2016-03-18 01:07:28 +00:00
|
|
|
"optional": {{ (not enable_central_logging | bool) | string | lower }}
|
2016-02-24 16:05:36 +01:00
|
|
|
},
|
2016-02-03 11:52:46 +01:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-global.toml",
|
|
|
|
"dest": "/etc/heka/heka-global.toml",
|
|
|
|
"owner": "heka",
|
|
|
|
"perm": "0600"
|
2016-02-03 11:55:14 +01:00
|
|
|
},
|
2016-09-27 05:20:50 +00:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-aodh.toml",
|
|
|
|
"dest": "/etc/heka/heka-aodh.toml",
|
|
|
|
"owner": "heka",
|
|
|
|
"perm": "0600",
|
|
|
|
"optional": {{ (not enable_aodh | bool) | string | lower }}
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-gnocchi.toml",
|
|
|
|
"dest": "/etc/heka/heka-gnocchi.toml",
|
|
|
|
"owner": "heka",
|
|
|
|
"perm": "0600",
|
|
|
|
"optional": {{ (not enable_gnocchi | bool) | string | lower }}
|
|
|
|
},
|
2016-10-10 01:02:13 +00:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-grafana.toml",
|
|
|
|
"dest": "/etc/heka/heka-grafana.toml",
|
|
|
|
"owner": "heka",
|
|
|
|
"perm": "0600",
|
|
|
|
"optional": {{ (not enable_grafana | bool) | string | lower }}
|
|
|
|
},
|
2016-09-27 05:20:50 +00:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-barbican.toml",
|
|
|
|
"dest": "/etc/heka/heka-barbican.toml",
|
|
|
|
"owner": "heka",
|
|
|
|
"perm": "0600",
|
|
|
|
"optional": {{ (not enable_barbican | bool) | string | lower }}
|
|
|
|
},
|
2016-11-21 11:32:03 +01:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-ceilometer.toml",
|
|
|
|
"dest": "/etc/heka/heka-ceilometer.toml",
|
|
|
|
"owner": "heka",
|
|
|
|
"perm": "0600",
|
|
|
|
"optional": {{ (not enable_ceilometer | bool) | string | lower }}
|
|
|
|
},
|
2016-08-08 21:40:46 -04:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-custom.toml",
|
|
|
|
"dest": "/etc/heka/heka-custom.toml",
|
|
|
|
"owner": "heka",
|
|
|
|
"perm": "0600",
|
|
|
|
"optional": true
|
|
|
|
},
|
2016-02-03 11:55:14 +01:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-haproxy.toml",
|
|
|
|
"dest": "/etc/heka/heka-haproxy.toml",
|
|
|
|
"owner": "heka",
|
2016-03-29 15:23:37 -04:00
|
|
|
"perm": "0600",
|
|
|
|
"optional": {{ (not enable_haproxy | bool) | string | lower }}
|
2016-02-03 11:58:13 +01:00
|
|
|
},
|
2016-04-03 15:30:45 -03:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-keepalived.toml",
|
|
|
|
"dest": "/etc/heka/heka-keepalived.toml",
|
|
|
|
"owner": "heka",
|
|
|
|
"perm": "0600",
|
|
|
|
"optional": {{ (not enable_haproxy | bool) | string | lower }}
|
|
|
|
},
|
2016-02-03 11:58:13 +01:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-rabbitmq.toml",
|
|
|
|
"dest": "/etc/heka/heka-rabbitmq.toml",
|
|
|
|
"owner": "heka",
|
2016-10-05 15:30:38 +01:00
|
|
|
"perm": "0600",
|
|
|
|
"optional": {{ (not enable_rabbitmq | bool) | string | lower }}
|
2016-02-03 11:59:35 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-openstack.toml",
|
|
|
|
"dest": "/etc/heka/heka-openstack.toml",
|
|
|
|
"owner": "heka",
|
|
|
|
"perm": "0600"
|
2016-02-03 16:55:45 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-mariadb.toml",
|
|
|
|
"dest": "/etc/heka/heka-mariadb.toml",
|
|
|
|
"owner": "heka",
|
2016-07-15 11:02:59 +01:00
|
|
|
"perm": "0600",
|
|
|
|
"optional": {{ (not enable_mariadb | bool) | string | lower }}
|
2016-02-11 15:34:45 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-keystone.toml",
|
|
|
|
"dest": "/etc/heka/heka-keystone.toml",
|
|
|
|
"owner": "heka",
|
2016-10-05 15:30:38 +01:00
|
|
|
"perm": "0600",
|
|
|
|
"optional": {{ (not enable_keystone | bool) | string | lower }}
|
2016-02-12 12:43:42 +01:00
|
|
|
},
|
2016-03-21 19:30:16 -04:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-horizon.toml",
|
|
|
|
"dest": "/etc/heka/heka-horizon.toml",
|
|
|
|
"owner": "heka",
|
|
|
|
"perm": "0600",
|
|
|
|
"optional": {{ (not enable_horizon | bool) | string | lower }}
|
|
|
|
},
|
2016-02-12 12:43:42 +01:00
|
|
|
{% for swift_service in swift_services %}
|
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/heka-{{ swift_service }}.toml",
|
|
|
|
"dest": "/etc/heka/heka-{{ swift_service }}.toml",
|
|
|
|
"owner": "heka",
|
2016-03-17 17:50:23 +00:00
|
|
|
"perm": "0600",
|
2016-03-18 01:07:28 +00:00
|
|
|
"optional": {{ (not enable_swift | bool) | string | lower }}
|
2016-02-23 09:39:44 +01:00
|
|
|
}{% if not loop.last %},{% endif %}
|
|
|
|
{% endfor %}
|
2016-02-12 12:43:42 +01:00
|
|
|
|
2016-10-17 14:13:29 +08:00
|
|
|
],
|
|
|
|
"permissions": [
|
|
|
|
{
|
|
|
|
"path": "/var/cache/hekad",
|
|
|
|
"owner": "heka:heka",
|
|
|
|
"recurse": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "/var/lib/kolla/heka",
|
|
|
|
"owner": "heka:heka",
|
|
|
|
"recurse": true
|
2016-10-19 03:10:18 +08:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "/var/log/kolla/haproxy",
|
|
|
|
"owner": "heka:kolla",
|
|
|
|
"recurse": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "/var/log/kolla/keepalived",
|
|
|
|
"owner": "heka:kolla",
|
|
|
|
"recurse": true
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"path": "/var/log/kolla/swift",
|
|
|
|
"owner": "heka:kolla",
|
|
|
|
"recurse": true
|
2016-10-17 14:13:29 +08:00
|
|
|
}
|
2016-02-03 11:52:46 +01:00
|
|
|
]
|
|
|
|
}
|