From 86e1af73fe6ba971f4b1fa49c8e4adcd880e39f8 Mon Sep 17 00:00:00 2001 From: Maria Haider Date: Tue, 3 Sep 2024 14:19:38 +0200 Subject: [PATCH] setup separate tag for puppet-sunet in QA --- global/overlay/etc/puppet/setup_cosmos_modules | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/global/overlay/etc/puppet/setup_cosmos_modules b/global/overlay/etc/puppet/setup_cosmos_modules index a46fad25..e18a52f2 100755 --- a/global/overlay/etc/puppet/setup_cosmos_modules +++ b/global/overlay/etc/puppet/setup_cosmos_modules @@ -209,6 +209,11 @@ def main(): if re.match('^idm-sto\d-qa-', host_info["fqdn"]): modules["sunet"]["tag"] = "jocar-idm-*" + qa_exceptions = ['nic.komreg.net', 'jmp.komreg.net', 'md1.komreg.net'] + + if ".qa." in host_info["fqdn"] or host_info["fqdn"] in qa_exceptions: + modules["sunet"]["tag"] = "eidas-qa-2*" + # Build list of expected file content file_lines = create_file_content(modules)