X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/45dde9418dd342bb1a632d82559201c0b3becf1a..f1cfd16d358496bafb94dfc8c40585fdc6567963:/cookbooks/python/recipes/default.rb 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"