Only run on node3 and multinodes

This commit is contained in:
Micke Nordin 2025-02-26 10:34:44 +01:00
parent fc0a790bd1
commit 2944823676
Signed by untrusted user: Micke
GPG key ID: 0DA0A7A5708FE257

View file

@ -97,7 +97,7 @@ define sunetdrive::app_type (
content => template('sunetdrive/application/get_containers'), content => template('sunetdrive/application/get_containers'),
mode => '0744', mode => '0744',
} }
if ($environment == 'test') { if ($environment == 'test' and ($nodenumber == 3 or $is_multinode )) {
file { '/usr/local/bin/scan_external_mounts': file { '/usr/local/bin/scan_external_mounts':
ensure => present, ensure => present,
force => true, force => true,