X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45dde9418dd342bb1a632d82559201c0b3becf1a..a406b373ee9a85b2f79e187b582379326b7b70d2:/cookbooks/python/recipes/default.rb?ds=sidebyside diff --git a/cookbooks/python/recipes/default.rb b/cookbooks/python/recipes/default.rb index 53dc4c59a..00f763bac 100644 --- a/cookbooks/python/recipes/default.rb +++ b/cookbooks/python/recipes/default.rb @@ -17,10 +17,12 @@ # limitations under the License. # -package "python" -package "python-pip" +if node[:lsb][:release].to_f < 20.04 + package "python" + package "python-pip" +end package "python3" package "python3-pip" -package "python-virtualenv" +package "virtualenv"