aboutsummaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2012-09-27 00:13:59 -0300
committerSilvio Rhatto <rhatto@riseup.net>2012-09-27 00:13:59 -0300
commit83b868cb893515188f1c16522103ce6ac063600b (patch)
treee9f741df0c49ad14103c2808b0eaa10544890a45 /manifests
parentabb77b0ef54dade4362f7048840e7e9137c53862 (diff)
downloadpuppet-drupal-83b868cb893515188f1c16522103ce6ac063600b.tar.gz
puppet-drupal-83b868cb893515188f1c16522103ce6ac063600b.tar.bz2
Adding SILENT mode and drupal-update action into cron
Diffstat (limited to 'manifests')
-rw-r--r--manifests/init.pp9
1 files changed, 9 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 7613693..d0a6e6b 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -37,6 +37,15 @@ class drupal inherits pear {
require => File['/usr/local/sbin/drupal'],
}
+ # Keep themes and modules up-to-date
+ cron { "drupal-update":
+ command => "/usr/local/sbin/drupal cron-update",
+ user => root,
+ hour => "02",
+ minute => "30",
+ ensure => present,
+ }
+
# Drupal shared folder
file { "/usr/local/share/drupal":
ensure => directory,