testing if $is_multinode is the problem

This commit is contained in:
Rikard Danielsson 2025-03-05 14:58:01 +01:00
parent 0da62f097d
commit a6eaddbd8f
Signed by untrusted user: richir
GPG key ID: 584D2AA2FA669135

View file

@ -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,