Skip to content

Commit

Permalink
fix array collectors_enabled in template. Take 2
Browse files Browse the repository at this point in the history
  • Loading branch information
cristifalcas committed Nov 23, 2016
1 parent b7d3021 commit 3a5b2a1
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.1",
"version": "1.1.2",
"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=<%= Array(scope['prometheus::node_exporter::collectors_enabled']).join(", ") -%>
-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 3a5b2a1

Please sign in to comment.