From d7c9d7e3aa0e5410e063806748d3f4f681c89490 Mon Sep 17 00:00:00 2001
From: John-Paul Robinson <jpr@uab.edu>
Date: Mon, 29 Aug 2022 18:22:39 -0500
Subject: [PATCH] Update policy action to yes to trigger proper script calling

The external script will be called with TEST parameter if the
policy is executed in test or prepare mode.
It will only get the LIST files to concat the ouput when the policy
is fully executed.
---
 run-mmpol.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/run-mmpol.sh b/run-mmpol.sh
index a78711b..e6e46b1 100755
--- a/run-mmpol.sh
+++ b/run-mmpol.sh
@@ -19,7 +19,7 @@ DATESTR=`date +'%Y-%m-%d-%H:%M:%S'`
 policy=`basename $policyfile`
 filetag="${policy}_slurm-${SLURM_JOBID}_${DATESTR}"
 
-cmd="mmapplypolicy ${filesystem} -I prepare \
+cmd="mmapplypolicy ${filesystem} -I yes \
   -P $policyfile \
   -g $tmpglobal \
   -s $tmpscratch \
-- 
GitLab