From 74da008b5eefb34f2e1cd45ff83d401ecb3ed8cc Mon Sep 17 00:00:00 2001 From: Rikard Danielsson Date: Wed, 5 Mar 2025 15:00:14 +0100 Subject: [PATCH] testing if $is_multinode is the problem - correcter regex --- manifests/app_type.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manifests/app_type.pp b/manifests/app_type.pp index 9df19aa..a674929 100644 --- a/manifests/app_type.pp +++ b/manifests/app_type.pp @@ -388,7 +388,7 @@ define sunetdrive::app_type ( } } } - if $facts['networking']['hostname'] == 'node1' or $facts['networking']['hostname'] =~ /^multinode[1-9]+\..*/{ + if $facts['networking']['hostname'] == 'node1' or $facts['networking']['hostname'] =~ /^multinode[1-9]+$/{ file { '/usr/lib/nagios/plugins/check_nextcloud_mounts.py': ensure => present, force => true,