modified php config for nginx site
[from now] 2013/07/19 17:03:12

diff --git a/nginx_sites/recipes/default.rb b/nginx_sites/recipes/default.rb
index ec43964..2d3346e 100644
--- a/nginx_sites/recipes/default.rb
+++ b/nginx_sites/recipes/default.rb
@@ -23,7 +23,7 @@ node['nginx_sites']['sites'].each do |site|
     mode 0755
     action :create

-    if_not{ File.exists? site['dir'] }
+    not_if do; File.exists? site['dir']; end
   end
 end