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

View file

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

View file

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