diff --git a/cfengine-ci/cfengine-ci-buildhost.cf b/cfengine-ci/cfengine-ci-buildhost.cf index b930bc8..9c38fba 100644 --- a/cfengine-ci/cfengine-ci-buildhost.cf +++ b/cfengine-ci/cfengine-ci-buildhost.cf @@ -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"