From d93204d107d6233731c0c206856efe954848c314 Mon Sep 17 00:00:00 2001
From: Florian Von Cube <ralf.florian.von.cube@cern.ch>
Date: Tue, 1 Apr 2025 12:17:59 +0000
Subject: [PATCH] Add cvmfs-script from cmssam-repository to pilot scripts.

---
 compiled/cern/itb/frontend.xml    |  6 ++++++
 compiled/cern/itbdev/frontend.xml |  6 ++++++
 compiled/fnal/itb/frontend.xml    |  6 ++++++
 inventory/classes/itb.yml         | 19 +++++++++++++++++++
 4 files changed, 37 insertions(+)

diff --git a/compiled/cern/itb/frontend.xml b/compiled/cern/itb/frontend.xml
index b8acb95..d8e391a 100644
--- a/compiled/cern/itb/frontend.xml
+++ b/compiled/cern/itb/frontend.xml
@@ -788,5 +788,11 @@
       <file absfname="/data/gwms-frontend/repos/cms-validation-scripts/set_singularity_binds.sh" after_entry="False" after_group="False" const="True" executable="True" period="0" prefix="GLIDEIN_PS_" untar="False" wrapper="False">
          <untar_options cond_attr="TRUE"/>
       </file>
+      <file absfname="/data/gwms-frontend/repos/cmssam/SiteTests/WN/wn_cvmfs.sh" after_entry="True" after_group="False" const="True" executable="False" period="0" prefix="GLIDEIN_PS_" untar="False" wrapper="False">
+         <untar_options cond_attr="TRUE"/>
+      </file>
+      <file absfname="/data/gwms-frontend/wn_cvmfs_wrap.sh" after_entry="True" after_group="False" const="True" executable="True" period="0" prefix="GLIDEIN_PS_" untar="False" wrapper="False">
+         <untar_options cond_attr="TRUE"/>
+      </file>
    </files>
 </frontend>
\ No newline at end of file
diff --git a/compiled/cern/itbdev/frontend.xml b/compiled/cern/itbdev/frontend.xml
index f7d0edf..4c7ea8a 100644
--- a/compiled/cern/itbdev/frontend.xml
+++ b/compiled/cern/itbdev/frontend.xml
@@ -752,5 +752,11 @@
       <file absfname="/data/gwms-frontend/repos/cms-validation-scripts/set_singularity_binds.sh" after_entry="False" after_group="False" const="True" executable="True" period="0" prefix="GLIDEIN_PS_" untar="False" wrapper="False">
          <untar_options cond_attr="TRUE"/>
       </file>
+      <file absfname="/data/gwms-frontend/repos/cmssam/SiteTests/WN/wn_cvmfs.sh" after_entry="True" after_group="False" const="True" executable="False" period="0" prefix="GLIDEIN_PS_" untar="False" wrapper="False">
+         <untar_options cond_attr="TRUE"/>
+      </file>
+      <file absfname="/data/gwms-frontend/wn_cvmfs_wrap.sh" after_entry="True" after_group="False" const="True" executable="True" period="0" prefix="GLIDEIN_PS_" untar="False" wrapper="False">
+         <untar_options cond_attr="TRUE"/>
+      </file>
    </files>
 </frontend>
\ No newline at end of file
diff --git a/compiled/fnal/itb/frontend.xml b/compiled/fnal/itb/frontend.xml
index cb5f9db..759dcdc 100644
--- a/compiled/fnal/itb/frontend.xml
+++ b/compiled/fnal/itb/frontend.xml
@@ -788,5 +788,11 @@
       <file absfname="/etc/gwms-frontend/frontend_scripts/CMSglideinWMSValidation/set_singularity_binds.sh" after_entry="False" after_group="False" const="True" executable="True" period="0" prefix="GLIDEIN_PS_" untar="False" wrapper="False">
          <untar_options cond_attr="TRUE"/>
       </file>
+      <file absfname="/data/gwms-frontend/repos/cmssam/SiteTests/WN/wn_cvmfs.sh" after_entry="True" after_group="False" const="True" executable="False" period="0" prefix="GLIDEIN_PS_" untar="False" wrapper="False">
+         <untar_options cond_attr="TRUE"/>
+      </file>
+      <file absfname="/data/gwms-frontend/wn_cvmfs_wrap.sh" after_entry="True" after_group="False" const="True" executable="True" period="0" prefix="GLIDEIN_PS_" untar="False" wrapper="False">
+         <untar_options cond_attr="TRUE"/>
+      </file>
    </files>
 </frontend>
\ No newline at end of file
diff --git a/inventory/classes/itb.yml b/inventory/classes/itb.yml
index 1fc4768..1ca9c41 100644
--- a/inventory/classes/itb.yml
+++ b/inventory/classes/itb.yml
@@ -348,3 +348,22 @@ parameters:
 #      prefix: GLIDEIN_PS_
 #      untar: false
 #      wrapper: false
+  extra_files:
+    - absfname: /data/gwms-frontend/repos/cmssam/SiteTests/WN/wn_cvmfs.sh
+      after_entry: true
+      after_group: false
+      const: true
+      executable: false
+      period: 0
+      prefix: GLIDEIN_PS_
+      untar: false
+      wrapper: false
+    - absfname: /data/gwms-frontend/wn_cvmfs_wrap.sh
+      after_entry: true
+      after_group: false
+      const: true
+      executable: true
+      period: 0
+      prefix: GLIDEIN_PS_
+      untar: false
+      wrapper: false
-- 
GitLab