Skip to content

Commit

Permalink
fix array collectors_enabled in template
Browse files Browse the repository at this point in the history
  • Loading branch information
cristifalcas committed Nov 23, 2016
1 parent 5c7a36e commit b7d3021
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cristifalcas-prometheus",
"version": "1.1.0",
"version": "1.1.1",
"author": "Cristian Falcas",
"summary": "Prometheus Puppet module",
"license": "Apache-2.0",
Expand Down
2 changes: 1 addition & 1 deletion templates/sysconfig/node_exporter
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ ARGS="<% -%>
-collector.textfile.directory=<%= scope['prometheus::node_exporter::collector_textfile_directory'] -%>
<% end -%>
<% if @collectors_enabled -%>
-collectors.enabled=<%= scope['prometheus::node_exporter::collectors_enabled'] -%>
-collectors.enabled=<%= Array(scope['prometheus::node_exporter::collectors_enabled']).join(", ") -%>
<% end -%>
<% if @log_format -%>
-log.format=<%= scope['prometheus::node_exporter::log_format'] -%>
Expand Down

0 comments on commit b7d3021

Please sign in to comment.