Change exporters references on exporter states

This commit is contained in:
Ricardo Hernandez 2017-01-17 15:50:15 +00:00
parent 6ce1af5ec1
commit 94d75b4761
3 changed files with 11 additions and 11 deletions

View File

@ -5,9 +5,9 @@ include:
blackbox_exporter_tarball:
archive.extracted:
- name: {{ prometheus.exporters.blackbox.install_dir }}
- source: {{ prometheus.exporters.blackbox.source }}
- source_hash: {{ prometheus.exporters.blackbox.source_hash }}
- name: {{ prometheus.exporter.blackbox.install_dir }}
- source: {{ prometheus.exporter.blackbox.source }}
- source_hash: {{ prometheus.exporter.blackbox.source_hash }}
- user: {{ prometheus.user }}
- group: {{ prometheus.group }}
- archive_format: tar
@ -26,7 +26,7 @@ blackbox_exporter_defaults:
- source: salt://prometheus/files/default-blackbox_exporter.jinja
- template: jinja
- defaults:
config_file: {{ prometheus.exporters.blackbox.args.config_file }}
config_file: {{ prometheus.exporter.blackbox.args.config_file }}
blackbox_exporter_service_unit:
file.managed:

View File

@ -5,9 +5,9 @@ include:
haproxy_exporter_tarball:
archive.extracted:
- name: {{ prometheus.exporters.haproxy.install_dir }}
- source: {{ prometheus.exporters.haproxy.source }}
- source_hash: {{ prometheus.exporters.haproxy.source_hash }}
- name: {{ prometheus.exporter.haproxy.install_dir }}
- source: {{ prometheus.exporter.haproxy.source }}
- source_hash: {{ prometheus.exporter.haproxy.source_hash }}
- user: {{ prometheus.user }}
- group: {{ prometheus.group }}
- archive_format: tar
@ -26,7 +26,7 @@ haproxy_exporter_defaults:
- source: salt://prometheus/files/default-haproxy_exporter.jinja
- template: jinja
- defaults:
scrape_uri: {{ prometheus.exporters.haproxy.args.scrape_uri }}
scrape_uri: {{ prometheus.exporter.haproxy.args.scrape_uri }}
haproxy_exporter_service_unit:
file.managed:

View File

@ -5,9 +5,9 @@ include:
node_exporter_tarball:
archive.extracted:
- name: {{ prometheus.exporters.node.install_dir }}
- source: {{ prometheus.exporters.node.source }}
- source_hash: {{ prometheus.exporters.node.source_hash }}
- name: {{ prometheus.exporter.node.install_dir }}
- source: {{ prometheus.exporter.node.source }}
- source_hash: {{ prometheus.exporter.node.source_hash }}
- user: {{ prometheus.user }}
- group: {{ prometheus.group }}
- archive_format: tar