testing if $is_multinode is the problem - correcter regex
This commit is contained in:
parent
a6eaddbd8f
commit
74da008b5e
1 changed files with 1 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Reference in a new issue