From ac85bddc8a82d2b8a98d3d367149d9c36ee4c7fc 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 f10c50d..79ead21 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.', }