File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ bundle agent cfengine_build_host_setup
1111 packages:
1212 debian_9|debian_10|ubuntu_16::
1313 "python-psycopg2";
14- debian_11|debian_12::
14+ debian_11|debian_12|ubuntu_20|ubuntu_22|ubuntu_24 ::
1515 "python3-psycopg2";
1616 ubuntu_16::
1717 "systemd-coredump" comment => "ubuntu_16 doesn't have systemd-coredump by default?";
@@ -191,12 +191,6 @@ bundle agent cfengine_build_host_setup
191191 "sed -i '/best=True/s/True/False/' /etc/yum.conf" contain => in_shell;
192192 (redhat_8|centos_8|redhat_9).!dnf_conf_ok::
193193 "sed -i '/best=True/s/True/False/' /etc/dnf/dnf.conf" contain => in_shell;
194- ubuntu_20.!have_python2_pip::
195- "sh $(this.promise_dirname)/install-python2-pip.sh" contain => in_shell,
196- comment => "pip(2) is required for psycopg2 for nova/tests/reporting.";
197- ubuntu_20.!have_python2_psycopg2::
198- "pip install psycopg2-binary" contain => in_shell,
199- comment => "Here we install psycopg2 as root because nova/tests/reporting runs as root.";
200194
201195
202196 classes:
You can’t perform that action at this time.
0 commit comments