From d8eaa122e35ef44ae37e24fb181fd91361c6d79e Mon Sep 17 00:00:00 2001 From: Magnus Andersson Date: Tue, 3 Sep 2024 10:06:05 +0200 Subject: [PATCH] Lookup statistics secret on multinode-db1 in env test. --- manifests/multinode_db.pp | 1 + 1 file changed, 1 insertion(+) diff --git a/manifests/multinode_db.pp b/manifests/multinode_db.pp index 929a885..4c6dd58 100644 --- a/manifests/multinode_db.pp +++ b/manifests/multinode_db.pp @@ -15,6 +15,7 @@ class sunetdrive::multinode_db(){ } } if $facts["networking"]["fqdn"] =~ /^multinode-db1\.drive\.(test\.){1}sunet\.se$/ { + $statistics_secret = safe_hiera('statistics_secret') notify { 'hostmessage': message => "We are on multinode-db1. Set up statistics environment.", }