Lookup statistics secret on multinode-db1 in env test.

This commit is contained in:
Magnus Andersson 2024-09-03 10:06:05 +02:00 committed by Micke Nordin
parent 992f74d3a1
commit 2c7acd1ec6
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

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.',
}