Fixed missing object in node

This commit is contained in:
Eric Renfro 2019-05-08 18:39:51 -04:00
parent c6739a0a54
commit dd06f070e5
Signed by: psi-jack
GPG key ID: 14977F3A50D9A5BF

View file

@ -38,13 +38,13 @@ node_exporter_service_unit:
- source: salt://prometheus/files/exporter.upstart.jinja
{%- endif %}
- template: jinja
- defaults:
- context:
svc: node_exporter
user: {{ prometheus.user }}
group: {{ prometheus.group }}
bin_path: {{ prometheus.exporter.node.version_path }}
args: {{ prometheus.exporter.get('args', []) }}
url: {{ prometheus.exporter.get('url', None) }}
args: {{ prometheus.exporter.node.get('args', []) }}
url: {{ prometheus.exporter.node.get('url', None) }}
- require_in:
- file: node_exporter_service