Skip to content

Commit 70bba3f

Browse files
authored
Merge pull request #48 from openhpc/2026-03-03-v4
ci: normalize warewulf provisioner for OpenHPC 4
2 parents c311557 + 7c0d458 commit 70bba3f

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

ansible/roles/test/files/install.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,13 @@ inputTemplate=/opt/ohpc/pub/doc/recipes/${os_major}/input.local
171171
inputFile=/root/ci_ohpc_inputs
172172
status=0
173173

174+
# For OpenHPC 4, "warewulf" is Warewulf v4 (not v3 as in OHPC 2/3).
175+
# Normalize Provisioner to "warewulf4" so that all existing conditionals
176+
# comparing against "warewulf4" are triggered correctly.
177+
if [[ "${VERSION_MAJOR}" == "4" ]] && [[ "${Provisioner}" == "warewulf" ]]; then
178+
Provisioner="warewulf4"
179+
fi
180+
174181
enable_repo
175182

176183
install_doc_rpm

0 commit comments

Comments
 (0)