Skip to content
Permalink
Browse files
BIGTOP-3652. Add the python-is-python2 package to the toolchain for U…
…buntu 20.04. (#872)
  • Loading branch information
sekikn committed Mar 11, 2022
1 parent 5d0802e commit cfd45fa17c85ba74a4a26c224491bf4127603f78
Showing 1 changed file with 8 additions and 1 deletion.
@@ -152,7 +152,7 @@
"libffi-devel"
] }
/(Ubuntu|Debian)/: {
$pkgs = [
$_pkgs = [
"unzip",
"curl",
"wget",
@@ -211,6 +211,13 @@
"python3-dev",
"python2.7-dev"
]

if ($operatingsystem == 'Ubuntu' and 0 <= versioncmp($operatingsystemmajrelease, '20.04')) {
$pkgs = concat($_pkgs, ["python-is-python2"])
} else {
$pkgs = $_pkgs
}

file { '/etc/apt/apt.conf.d/01retries':
content => 'Aquire::Retries "5";'
} -> Package <| |>

0 comments on commit cfd45fa

Please sign in to comment.