Filippo Giunchedi has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/342823 )
Change subject: prometheus: fix erb yaml indentation
......................................................................
prometheus: fix erb yaml indentation
Change-Id: Icc82cc4edd2851c7bcdde98649c652cef6395a55
---
M modules/prometheus/templates/snmp_exporter/default.yml.erb
M modules/prometheus/templates/snmp_exporter/default_ifindex.yml.erb
M modules/prometheus/templates/snmp_exporter/default_ifname.yml.erb
M modules/prometheus/templates/snmp_exporter/servertech_sentry3.yml.erb
4 files changed, 8 insertions(+), 8 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/23/342823/1
diff --git a/modules/prometheus/templates/snmp_exporter/default.yml.erb
b/modules/prometheus/templates/snmp_exporter/default.yml.erb
index 2d187fc6..6a895b1 100644
--- a/modules/prometheus/templates/snmp_exporter/default.yml.erb
+++ b/modules/prometheus/templates/snmp_exporter/default.yml.erb
@@ -1,8 +1,8 @@
<%= @exporter_module %>:
- <% if @community -%>
+<% if @community -%>
auth:
community: <%= @community %>
- <% end -%>
+<% end -%>
walk:
- 1.3.6.1.2.1.1.3
- 1.3.6.1.2.1.2
diff --git a/modules/prometheus/templates/snmp_exporter/default_ifindex.yml.erb
b/modules/prometheus/templates/snmp_exporter/default_ifindex.yml.erb
index 92d1d76..10f45d9 100644
--- a/modules/prometheus/templates/snmp_exporter/default_ifindex.yml.erb
+++ b/modules/prometheus/templates/snmp_exporter/default_ifindex.yml.erb
@@ -1,8 +1,8 @@
<%= @exporter_module %>:
- <% if @community -%>
+<% if @community -%>
auth:
community: <%= @community %>
- <% end -%>
+<% end -%>
walk:
- 1.3.6.1.2.1.1.3
- 1.3.6.1.2.1.2
diff --git a/modules/prometheus/templates/snmp_exporter/default_ifname.yml.erb
b/modules/prometheus/templates/snmp_exporter/default_ifname.yml.erb
index 059eb33..c5e05cc 100644
--- a/modules/prometheus/templates/snmp_exporter/default_ifname.yml.erb
+++ b/modules/prometheus/templates/snmp_exporter/default_ifname.yml.erb
@@ -1,8 +1,8 @@
<%= @exporter_module %>:
- <% if @community -%>
+<% if @community -%>
auth:
community: <%= @community %>
- <% end -%>
+<% end -%>
walk:
- 1.3.6.1.2.1.1.3
- 1.3.6.1.2.1.2
diff --git
a/modules/prometheus/templates/snmp_exporter/servertech_sentry3.yml.erb
b/modules/prometheus/templates/snmp_exporter/servertech_sentry3.yml.erb
index 9a72724..aa2a17f 100644
--- a/modules/prometheus/templates/snmp_exporter/servertech_sentry3.yml.erb
+++ b/modules/prometheus/templates/snmp_exporter/servertech_sentry3.yml.erb
@@ -1,8 +1,8 @@
<%= @exporter_module %>:
- <% if @community -%>
+<% if @community -%>
auth:
community: <%= @community %>
- <% end -%>
+<% end -%>
walk:
- 1.3.6.1.2.1.1.3
- 1.3.6.1.2.1.2
--
To view, visit https://gerrit.wikimedia.org/r/342823
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Icc82cc4edd2851c7bcdde98649c652cef6395a55
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Filippo Giunchedi <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits