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 49f00af783
commit ac85bddc8a
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.',
}