command "trac-admin /var/lib/trac deploy #{site_directory}"
user "root"
group "root"
- not_if { File.exists?(site_directory) }
+ not_if { File.exist?(site_directory) }
end
cookbook_file "/usr/local/bin/trac-authenticate" do
group "root"
mode 0440
end
+
+template "/etc/cron.daily/trac-backup" do
+ source "backup.cron.erb"
+ owner "root"
+ group "root"
+ mode 0755
+end