Run monitoreidas on newer nagioscfg branch, SC-2522

Until we update the eidas version we need to make this exception to
avoid this error:
Evaluation Error: Unknown function: 'has_key'. (file: /etc/puppet/cosmos-modules/nagioscfg/manifests/init.pp, line: 116, column: 6) on node
This commit is contained in:
Patrik Holmqvist 2025-04-04 13:55:33 +02:00
parent e9f2f3a893
commit fe5287ed8e
Signed by: pahol
GPG key ID: 5D5B0D4E93F77273

View file

@ -246,6 +246,8 @@ def main():
modules["sunet"]["tag"] = "pahol-fix-rsyslog*"
if re.match(r'^monitoreidas-prod-sto1-1.komreg.net', host_info["fqdn"]):
modules["sunet"]["tag"] = "pahol-naemon-acmed*"
if re.match(r'^monitoreidas-prod-sto1-1.komreg.net', host_info["fqdn"]):
modules["nagioscfg"]["tag"] = "sunet-2*"
# Build list of expected file content
file_lines = create_file_content(modules)