aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-24 18:20:07 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-24 18:20:07 -0200
commit3bcf048229faa8cfb1c06e7a2eaaaec9636069d6 (patch)
tree32bccf08278c4855af443cd61a1f6fe947b163d4
parent7c6e37bfafc3309cf4309d8cf46215211cab91bf (diff)
downloadpuppet-drupal-3bcf048229faa8cfb1c06e7a2eaaaec9636069d6.tar.gz
puppet-drupal-3bcf048229faa8cfb1c06e7a2eaaaec9636069d6.tar.bz2
Ensure no drush backup folders on drupal root
-rw-r--r--manifests/init.pp7
1 files changed, 7 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 9094988..5c62627 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -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,
+ }
}