]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/python/recipes/default.rb
Bump cookstyle from 6.20.1 to 6.20.2
[chef.git] / cookbooks / python / recipes / default.rb
index 53dc4c59ab29de609ab792bffd52891667c59599..00f763bac9a0b7a5c084ac3f98e15900f4e0b908 100644 (file)
 # limitations under the License.
 #
 
 # 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 "python3"
 package "python3-pip"
 
-package "python-virtualenv"
+package "virtualenv"