Permalink
Browse files

Fix enabled flag for web_app resource

The enabled flag was being incorrectly passed to apache_site.  The default value defined in apache_site.rb (:enable => true) was always being used making it impossible to create a new web_app in a disabled state.
  • Loading branch information...
1 parent 6d01a55 commit 9a1b019aa3633ef7901161fecc22a11f43c7e02c @mtowers mtowers committed Oct 23, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 definitions/web_app.rb
View
@@ -43,7 +43,8 @@
end
end
+ site_enabled = params[:enable]
apache_site "#{params[:name]}.conf" do
- enable params[:enable]
+ enable site_enabled
end
end

0 comments on commit 9a1b019

Please sign in to comment.