]> gitweb.fluxo.info Git - puppet-drupal.git/commitdiff
Ensure no drush backup folders on drupal root
authorSilvio Rhatto <rhatto@riseup.net>
Tue, 24 Dec 2013 20:20:07 +0000 (18:20 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Tue, 24 Dec 2013 20:20:07 +0000 (18:20 -0200)
manifests/init.pp

index 9094988cc5a5b71962f1f18bff1fe5e0c543b882..5c626276a40139edb87924fde4de6867a131b93d 100644 (file)
@@ -117,4 +117,11 @@ class drupal(
     mode    => 644,
     source  => "puppet:///modules/drupal/htaccess",
   }
+
+  file { [ '/var/www/data/drupal-6/backup', '/var/www/data/drupal-7/backup' ]:
+    ensure  => absent,
+    recurse => true,
+    force   => true,
+    backup  => false,
+  }
 }