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:
parent
e9f2f3a893
commit
fe5287ed8e
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue