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 - archive_format: tar
- if_missing: {{ prometheus.exporter.blackbox.version_path }} - if_missing: {{ prometheus.exporter.blackbox.version_path }}
{#
blackbox_exporter_bin_link: blackbox_exporter_bin_link:
file.symlink: file.symlink:
- name: /usr/bin/blackbox_exporter - name: /usr/bin/blackbox_exporter
- target: {{ prometheus.exporter.blackbox.version_path }}/blackbox_exporter - target: {{ prometheus.exporter.blackbox.version_path }}/blackbox_exporter
- require: - require:
- archive: blackbox_exporter_tarball - archive: blackbox_exporter_tarball
#}
blackbox_exporter_defaults: blackbox_exporter_defaults:
file.managed: file.managed:
@ -54,4 +56,4 @@ blackbox_exporter_service:
- watch: - watch:
- file: blackbox_exporter_service_unit - file: blackbox_exporter_service_unit
- file: blackbox_exporter_defaults - 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 - archive_format: tar
- if_missing: {{ prometheus.exporter.haproxy.version_path }} - if_missing: {{ prometheus.exporter.haproxy.version_path }}
{#
haproxy_exporter_bin_link: haproxy_exporter_bin_link:
file.symlink: file.symlink:
- name: /usr/bin/haproxy_exporter - name: /usr/bin/haproxy_exporter
- target: {{ prometheus.exporter.haproxy.version_path }}/haproxy_exporter - target: {{ prometheus.exporter.haproxy.version_path }}/haproxy_exporter
- require: - require:
- archive: haproxy_exporter_tarball - archive: haproxy_exporter_tarball
#}
haproxy_exporter_defaults: haproxy_exporter_defaults:
file.managed: file.managed:
@ -54,4 +56,4 @@ haproxy_exporter_service:
- watch: - watch:
- file: haproxy_exporter_service_unit - file: haproxy_exporter_service_unit
- file: haproxy_exporter_defaults - 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 - archive_format: tar
- if_missing: {{ prometheus.exporter.node.version_path }} - if_missing: {{ prometheus.exporter.node.version_path }}
{#
node_exporter_bin_link: node_exporter_bin_link:
file.symlink: file.symlink:
- name: /usr/bin/node_exporter - name: /usr/bin/node_exporter
- target: {{ prometheus.exporter.node.version_path }}/node_exporter - target: {{ prometheus.exporter.node.version_path }}/node_exporter
- require: - require:
- archive: node_exporter_tarball - archive: node_exporter_tarball
#}
node_exporter_defaults: node_exporter_defaults:
file.managed: file.managed:
@ -52,4 +54,4 @@ node_exporter_service:
- watch: - watch:
- file: node_exporter_service_unit - file: node_exporter_service_unit
- file: node_exporter_defaults - 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 - archive_format: tar
- if_missing: {{ prometheus.exporter.rabbitmq.version_path }} - if_missing: {{ prometheus.exporter.rabbitmq.version_path }}
{#
rabbitmq_exporter_bin_link: rabbitmq_exporter_bin_link:
file.symlink: file.symlink:
- name: /usr/bin/rabbitmq_exporter - name: /usr/bin/rabbitmq_exporter
- target: {{ prometheus.exporter.rabbitmq.version_path }}/rabbitmq_exporter - target: {{ prometheus.exporter.rabbitmq.version_path }}/rabbitmq_exporter
- require: - require:
- archive: rabbitmq_exporter_tarball - archive: rabbitmq_exporter_tarball
#}
rabbitmq_exporter_defaults: rabbitmq_exporter_defaults:
file.managed: file.managed:
@ -52,4 +54,4 @@ rabbitmq_exporter_service:
- watch: - watch:
- file: rabbitmq_exporter_service_unit - file: rabbitmq_exporter_service_unit
- file: rabbitmq_exporter_defaults - file: rabbitmq_exporter_defaults
- file: rabbitmq_exporter_bin_link {# - file: rabbitmq_exporter_bin_link #}