gcc
g++
libsqlite3-dev
+ sqlite3
]
directory "/srv/blogs.openstreetmap.org" do
bundle_install "/srv/blogs.openstreetmap.org" do
action :nothing
options "--deployment"
- user "blogs"
- group "blogs"
+ user "root"
+ group "root"
notifies :run, "bundle_exec[/srv/blogs.openstreetmap.org]", :immediately
end
command "/usr/local/bin/blogs-update"
mailto "admins@openstreetmap.org"
end
+
+template "/etc/cron.daily/blogs-backup" do
+ source "backup.cron.erb"
+ owner "root"
+ group "root"
+ mode "0755"
+end