]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/backup/recipes/default.rb
Add test for backup cookbook
[chef.git] / cookbooks / backup / recipes / default.rb
index 0204f56f294f6b558c22a26c59f2147687ccef85..794f8e51eb0494530df0bf23ba417e93c880dd78 100644 (file)
@@ -17,6 +17,8 @@
 # limitations under the License.
 #
 
+include_recipe "accounts"
+
 package %w[
   perl
   libdate-calc-perl
@@ -26,6 +28,7 @@ directory "/store/backup" do
   owner "osmbackup"
   group "osmbackup"
   mode 0o2755
+  recursive true
 end
 
 cookbook_file "/usr/local/bin/expire-backups" do