Fixed missing object in node
This commit is contained in:
parent
c6739a0a54
commit
dd06f070e5
1 changed files with 3 additions and 3 deletions
|
@ -38,13 +38,13 @@ node_exporter_service_unit:
|
||||||
- source: salt://prometheus/files/exporter.upstart.jinja
|
- source: salt://prometheus/files/exporter.upstart.jinja
|
||||||
{%- endif %}
|
{%- endif %}
|
||||||
- template: jinja
|
- template: jinja
|
||||||
- defaults:
|
- context:
|
||||||
svc: node_exporter
|
svc: node_exporter
|
||||||
user: {{ prometheus.user }}
|
user: {{ prometheus.user }}
|
||||||
group: {{ prometheus.group }}
|
group: {{ prometheus.group }}
|
||||||
bin_path: {{ prometheus.exporter.node.version_path }}
|
bin_path: {{ prometheus.exporter.node.version_path }}
|
||||||
args: {{ prometheus.exporter.get('args', []) }}
|
args: {{ prometheus.exporter.node.get('args', []) }}
|
||||||
url: {{ prometheus.exporter.get('url', None) }}
|
url: {{ prometheus.exporter.node.get('url', None) }}
|
||||||
- require_in:
|
- require_in:
|
||||||
- file: node_exporter_service
|
- file: node_exporter_service
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue