Skip to content

Commit

Permalink
debian 9 repo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
craigcomstock committed Jan 16, 2024
1 parent 2a1ce2b commit dc1e13f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions cfengine-ci/cfengine-ci-buildhost.cf
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,13 @@ bundle agent cfengine_ci_buildhost
classes:
debian_11::
"have_pip2" expression => fileexists("/usr/local/bin/pip");

files:
debian_9::
"/etc/apt/sources.list.d/*"
delete => tidy;
"/etc/apt/sources.list"
content => "deb http://archive.debian.org/debian/ stretch main contrib non-free";
commands:
debian_11.!have_pip2::
"wget https://bootstrap.pypa.io/pip/2.7/get-pip.py -O get-pip.py && python2 get-pip.py && pip install psycopg2-binary"
Expand Down

0 comments on commit dc1e13f

Please sign in to comment.