diff --git a/manifests/app_type.pp b/manifests/app_type.pp index 521bfbf..9df19aa 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 $is_multinode { + 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,