From 8ae2d5c9064f8f32ec2c33bc534bdc2a5366ba39 Mon Sep 17 00:00:00 2001 From: nrhope Date: Fri, 24 Apr 2015 12:48:08 +1000 Subject: [PATCH 1/2] allow use of pre-installed python (have problem with Amazon image that already has 2.7 installed but tries to install 2.6) --- recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/default.rb b/recipes/default.rb index 725b6cb..04af420 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -18,6 +18,6 @@ # limitations under the License. # -include_recipe "python::#{node['python']['install_method']}" +include_recipe "python::#{node['python']['install_method']}" if node[‘python’][‘install_method’] include_recipe "python::pip" include_recipe "python::virtualenv" From ef0df07ed1feda675a7a3d768bda6febcbef7a41 Mon Sep 17 00:00:00 2001 From: nrhope Date: Fri, 24 Apr 2015 13:01:54 +1000 Subject: [PATCH 2/2] replace funny quote chars (TextEdit) --- recipes/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes/default.rb b/recipes/default.rb index 04af420..5ec5198 100644 --- a/recipes/default.rb +++ b/recipes/default.rb @@ -18,6 +18,6 @@ # limitations under the License. # -include_recipe "python::#{node['python']['install_method']}" if node[‘python’][‘install_method’] +include_recipe "python::#{node['python']['install_method']}" if node['python']['install_method'] include_recipe "python::pip" include_recipe "python::virtualenv"