From fcf3f95309148fc2f4fe63a6266056596cf4328e Mon Sep 17 00:00:00 2001 From: "Michael S. Klishin" Date: Sat, 12 Nov 2011 19:50:23 +0400 Subject: [PATCH] Remove default value on phpfarm_compile resource MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Looks like in production we are hitting a Chef bug that makes it ignore named attribute and always use default value instead. This magically makes the issue go away. Per discussion with Loïc. --- vagrant_base/phpfarm/resources/compile.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vagrant_base/phpfarm/resources/compile.rb b/vagrant_base/phpfarm/resources/compile.rb index 91548aafb..109b4a8d6 100644 --- a/vagrant_base/phpfarm/resources/compile.rb +++ b/vagrant_base/phpfarm/resources/compile.rb @@ -1,5 +1,5 @@ actions :create, :delete -attribute :version, :default => "5.3.8", :name_attribute => true +attribute :version, :name_attribute => true attribute :owner, :regex => Chef::Config[:user_valid_regex] attribute :group, :regex => Chef::Config[:group_valid_regex]