apache_module "proxy_fcgi"
apache_module "rewrite"
apache_module "wsgi"
+apache_module "headers"
gem_package "sqlite3"
directory "#{user_home}/public_html"
variables :user => name, :port => port
end
+
+ template "/etc/sudoers.d/#{name}" do
+ source "sudoers.user.erb"
+ owner "root"
+ group "root"
+ mode 0440
+ variables :user => name
+ end
end
if node[:postgresql][:clusters][:"9.3/main"]
recursive true
end
- file "/etc/cron.daily/rails-#{site_name}" do
+ file "/etc/cron.daily/rails-#{site_name.tr('.', '-')}" do
action :delete
end