testing if $is_multinode is the problem
This commit is contained in:
parent
0da62f097d
commit
a6eaddbd8f
1 changed files with 1 additions and 1 deletions
|
@ -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':
|
file { '/usr/lib/nagios/plugins/check_nextcloud_mounts.py':
|
||||||
ensure => present,
|
ensure => present,
|
||||||
force => true,
|
force => true,
|
||||||
|
|
Loading…
Add table
Reference in a new issue