Skip to content

Commit 60b83c6

Browse files
committed
fix: ci/setup-cfengine-build-host.sh, debian-10 needs older version of CFEngine for build host setup
Ticket: ENT-13855 Changelog: none
1 parent 5c25184 commit 60b83c6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

ci/setup-cfengine-build-host.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -192,8 +192,8 @@ echo "Checking for pre-installed CFEngine (chicken/egg problem)"
192192
# We need a cf-agent to run build host setup policy and redhat-10-arm did not have a previous package to install.
193193
if ! /var/cfengine/bin/cf-agent -V 2>/dev/null; then
194194
echo "No existing CFEngine install found, try cf-remote..."
195-
if grep -qi stretch /etc/os-release; then
196-
_VERSION="--version 3.21.8" # 3.27.0 and 3.24.x do not have debian 9 (stretch)
195+
if grep -qi stretch /etc/os-release || grep -qi buster /etc/os-release; then
196+
_VERSION="--version 3.21.8" # 3.27.0 and 3.24.x do not have debian 9 (stretch) or debian 10 (buster)
197197
elif grep -qi bullseye /etc/os-release; then
198198
_VERSION="--version 3.24.3" # 3.27.0 has only debian > 11 (bullseye)
199199
elif grep -q suse /etc/os-release; then

0 commit comments

Comments
 (0)