]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/backup/recipes/default.rb
Avoid hypens in munin variable names for composite graphs
[chef.git] / cookbooks / backup / recipes / default.rb
index a9b70f168dabcfa4603729250bfdc753fab33e9d..27d12eb9bbf5cf2d634f30d7bfb55fece0b99315 100644 (file)
 # limitations under the License.
 #
 
+package "perl"
+package "libdate-calc-perl"
+
 directory "/store/backup" do
   owner "osmbackup"
   group "osmbackup"
-  mode 02755
+  mode 0o2755
 end
 
 cookbook_file "/usr/local/bin/expire-backups" do
   owner "root"
   group "root"
-  mode 0755
+  mode 0o755
 end
 
 template "/etc/cron.daily/expire-backups" do
   source "expire.cron.erb"
   owner "root"
   group "root"
-  mode 0644
+  mode 0o755
 end