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