From adb3b522c509389393f532c62ddcaf353ff70486 Mon Sep 17 00:00:00 2001 From: Jameson Date: Mon, 13 Jan 2014 00:14:53 -0800 Subject: [PATCH 1/2] add virtualenv version --- attributes/default.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/attributes/default.rb b/attributes/default.rb index 85c96eb..0794040 100644 --- a/attributes/default.rb +++ b/attributes/default.rb @@ -41,3 +41,4 @@ default['python']['pip_location'] = "#{node['python']['prefix_dir']}/bin/pip" default['python']['virtualenv_location'] = "#{node['python']['prefix_dir']}/bin/virtualenv" +default['python']['virtualenv_version'] = nil From 3918587aacd3eabe9d96a1cbc2ab3eff7a7f78a0 Mon Sep 17 00:00:00 2001 From: Jameson Date: Mon, 13 Jan 2014 00:17:19 -0800 Subject: [PATCH 2/2] use the virtualenv version --- recipes/virtualenv.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/recipes/virtualenv.rb b/recipes/virtualenv.rb index 4c28f80..719c28c 100644 --- a/recipes/virtualenv.rb +++ b/recipes/virtualenv.rb @@ -21,5 +21,6 @@ include_recipe "python::pip" python_pip "virtualenv" do + version node['python']['virtualenv_version'] action :install end