diff options
Diffstat (limited to 'manifests/init.pp')
-rw-r--r-- | manifests/init.pp | 9 |
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, |