Skip to content
Snippets Groups Projects
Commit f63568ed authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Add heka custom config to define user's log pipline"

parents 06c09562 173d2540
No related branches found
No related tags found
No related merge requests found
...@@ -48,6 +48,16 @@ ...@@ -48,6 +48,16 @@
- { name: "swift-proxy-server", src: "swift", enabled: "{{ enable_swift }}" } - { name: "swift-proxy-server", src: "swift", enabled: "{{ enable_swift }}" }
- { name: "swift-rsyncd", src: "swift", enabled: "{{ enable_swift }}" } - { name: "swift-rsyncd", src: "swift", enabled: "{{ enable_swift }}" }
- name: Heka custom config file exists
stat: "path={{ node_custom_config }}/heka/heka-custom.toml"
register: heka_custom_stat_result
- name: Copying over heka custom config file
template:
src: "{{ node_custom_config }}/heka/heka-custom.toml"
dest: "{{ node_config_directory }}/heka/heka-custom.toml"
when: heka_custom_stat_result.stat.exists == true
- name: Copying over cron logrotate config files - name: Copying over cron logrotate config files
template: template:
src: "cron-logrotate-{{ item }}.conf.j2" src: "cron-logrotate-{{ item }}.conf.j2"
......
...@@ -15,6 +15,13 @@ ...@@ -15,6 +15,13 @@
"owner": "heka", "owner": "heka",
"perm": "0600" "perm": "0600"
}, },
{
"source": "{{ container_config_directory }}/heka-custom.toml",
"dest": "/etc/heka/heka-custom.toml",
"owner": "heka",
"perm": "0600",
"optional": true
},
{ {
"source": "{{ container_config_directory }}/heka-haproxy.toml", "source": "{{ container_config_directory }}/heka-haproxy.toml",
"dest": "/etc/heka/heka-haproxy.toml", "dest": "/etc/heka/heka-haproxy.toml",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment