apache_module "cache_disk"
apache_module "headers"
-file "/etc/cron.d/taginfo" do
- action :delete
-end
-
directory "/var/log/taginfo" do
owner "taginfo"
group "taginfo"
notifies :restart, "passenger_application[#{directory}/taginfo/web/public]"
end
- %w[taginfo/web/tmp bin data data/old download sources planet planet/log].each do |dir|
+ %w[taginfo/web/tmp bin data data/old download sources].each do |dir|
directory "#{directory}/#{dir}" do
owner "taginfo"
group "taginfo"
end
end
- file "#{directory}/bin/update-planet" do
- action :delete
- end
-
- file "#{directory}/bin/update-taginfo" do
- action :delete
- end
-
template "#{directory}/bin/update" do
source "update.erb"
owner "taginfo"
variables :name => site_name, :directory => directory
end
- passenger_application "#{directory}/taginfo/web/public"
+ passenger_application "#{directory}/taginfo/web/public" do
+ action :nothing
+ end
ssl_certificate site_name do
domains [site_name] + site_aliases