From 7e53313d947b99731d9876e4437d07346f58ff2d Mon Sep 17 00:00:00 2001 From: Micke Nordin Date: Wed, 26 Feb 2025 11:09:17 +0100 Subject: [PATCH] Can I now have it outside? --- manifests/app_type.pp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/manifests/app_type.pp b/manifests/app_type.pp index 5e90d79..911e49d 100644 --- a/manifests/app_type.pp +++ b/manifests/app_type.pp @@ -89,15 +89,15 @@ define sunetdrive::app_type ( $expiration_months = max(12, $full_backup_retention) $expiration_days_min = $expiration_months * 31 $expiration_days_max = $expiration_months * 31 + 93 + file { '/usr/local/bin/get_containers': + ensure => present, + force => true, + owner => 'root', + group => 'root', + content => template('sunetdrive/application/get_containers'), + mode => '0744', + } if ($environment == 'test' and ($nodenumber == 3) and ! ($is_multinode )) { - file { '/usr/local/bin/get_containers': - ensure => present, - force => true, - owner => 'root', - group => 'root', - content => template('sunetdrive/application/get_containers'), - mode => '0744', - } file { '/usr/local/bin/scan_external_mounts': ensure => present, force => true,