Removed _exporter_bin_link symlinks

master
Eric Renfro 4 years ago
parent ce7512d643
commit dd85a8284f
Signed by: psi-jack
GPG Key ID: 14977F3A50D9A5BF
  1. 4
      prometheus/exporter/blackbox.sls
  2. 4
      prometheus/exporter/haproxy.sls
  3. 4
      prometheus/exporter/node.sls
  4. 4
      prometheus/exporter/rabbitmq.sls

@ -13,12 +13,14 @@ blackbox_exporter_tarball:
- archive_format: tar
- if_missing: {{ prometheus.exporter.blackbox.version_path }}
{#
blackbox_exporter_bin_link:
file.symlink:
- name: /usr/bin/blackbox_exporter
- target: {{ prometheus.exporter.blackbox.version_path }}/blackbox_exporter
- require:
- archive: blackbox_exporter_tarball
#}
blackbox_exporter_defaults:
file.managed:
@ -54,4 +56,4 @@ blackbox_exporter_service:
- watch:
- file: blackbox_exporter_service_unit
- file: blackbox_exporter_defaults
- file: blackbox_exporter_bin_link
{# - file: blackbox_exporter_bin_link #}

@ -13,12 +13,14 @@ haproxy_exporter_tarball:
- archive_format: tar
- if_missing: {{ prometheus.exporter.haproxy.version_path }}
{#
haproxy_exporter_bin_link:
file.symlink:
- name: /usr/bin/haproxy_exporter
- target: {{ prometheus.exporter.haproxy.version_path }}/haproxy_exporter
- require:
- archive: haproxy_exporter_tarball
#}
haproxy_exporter_defaults:
file.managed:
@ -54,4 +56,4 @@ haproxy_exporter_service:
- watch:
- file: haproxy_exporter_service_unit
- file: haproxy_exporter_defaults
- file: haproxy_exporter_bin_link
{# - file: haproxy_exporter_bin_link #}

@ -13,12 +13,14 @@ node_exporter_tarball:
- archive_format: tar
- if_missing: {{ prometheus.exporter.node.version_path }}
{#
node_exporter_bin_link:
file.symlink:
- name: /usr/bin/node_exporter
- target: {{ prometheus.exporter.node.version_path }}/node_exporter
- require:
- archive: node_exporter_tarball
#}
node_exporter_defaults:
file.managed:
@ -52,4 +54,4 @@ node_exporter_service:
- watch:
- file: node_exporter_service_unit
- file: node_exporter_defaults
- file: node_exporter_bin_link
{# - file: node_exporter_bin_link #}

@ -13,12 +13,14 @@ rabbitmq_exporter_tarball:
- archive_format: tar
- if_missing: {{ prometheus.exporter.rabbitmq.version_path }}
{#
rabbitmq_exporter_bin_link:
file.symlink:
- name: /usr/bin/rabbitmq_exporter
- target: {{ prometheus.exporter.rabbitmq.version_path }}/rabbitmq_exporter
- require:
- archive: rabbitmq_exporter_tarball
#}
rabbitmq_exporter_defaults:
file.managed:
@ -52,4 +54,4 @@ rabbitmq_exporter_service:
- watch:
- file: rabbitmq_exporter_service_unit
- file: rabbitmq_exporter_defaults
- file: rabbitmq_exporter_bin_link
{# - file: rabbitmq_exporter_bin_link #}

Loading…
Cancel
Save