Removed _exporter_bin_link symlinks

This commit is contained in:
Eric Renfro 2019-05-08 17:52:27 -04:00
parent ce7512d643
commit dd85a8284f
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF
4 changed files with 12 additions and 4 deletions

View file

@ -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 #}

View file

@ -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 #}

View file

@ -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 #}

View file

@ -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 #}