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,