Lookup statistics secret on multinode-db1 in env test.

This commit is contained in:
Magnus Andersson 2024-09-03 10:06:05 +02:00
parent 7402202b9a
commit d8eaa122e3
Signed by untrusted user: mandersson
GPG key ID: 68E60E3294B84352

View file

@ -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.",
}