From 916dded56bbdd94c4184e28e59d6d175673a4994 Mon Sep 17 00:00:00 2001 From: Jesse Luehrs Date: Sun, 5 Jul 2020 03:35:07 -0400 Subject: configure to address for kapacitor emails --- modules/tick/manifests/server/kapacitor.pp | 1 + modules/tick/templates/kapacitor.conf | 1 + 2 files changed, 2 insertions(+) (limited to 'modules/tick') diff --git a/modules/tick/manifests/server/kapacitor.pp b/modules/tick/manifests/server/kapacitor.pp index c1dfcd7..50217e6 100644 --- a/modules/tick/manifests/server/kapacitor.pp +++ b/modules/tick/manifests/server/kapacitor.pp @@ -4,6 +4,7 @@ class tick::server::kapacitor { } $smtp_password = secret::value('kapacitor_smtp_password') + $smtp_to = secret::value('kapacitor_to') file { "/etc/kapacitor/kapacitor.conf": diff --git a/modules/tick/templates/kapacitor.conf b/modules/tick/templates/kapacitor.conf index 67f86e6..da47c6b 100644 --- a/modules/tick/templates/kapacitor.conf +++ b/modules/tick/templates/kapacitor.conf @@ -24,5 +24,6 @@ data_dir = "/media/persistent/kapacitor" username = "kapacitor-noreply@tozt.net" password = "<%= @smtp_password %>" from = "kapacitor-noreply@tozt.net" + to = ["<%= @smtp_to %>"] global = true state-changes-only = true -- cgit v1.2.3-54-g00ecf