Index: modules/sitescripts/manifests/init.pp |
=================================================================== |
--- a/modules/sitescripts/manifests/init.pp |
+++ b/modules/sitescripts/manifests/init.pp |
@@ -30,14 +30,14 @@ class sitescripts ( |
command => "hg clone https://hg.adblockplus.org/sitescripts /opt/sitescripts", |
path => ["/usr/bin/", "/bin/"], |
require => Package['mercurial'], |
onlyif => "test ! -d /opt/sitescripts" |
} |
cron {"update_sitescripts": |
ensure => present, |
- command => "hg pull -q -u -R /opt/sitescripts", |
+ command => "hg pull -q -u -R /opt/sitescripts && /opt/sitescripts/ensure_dependencies.py -q", |
environment => ['MAILTO=admins@adblockplus.org,root'], |
user => root, |
require => Exec["fetch_sitescripts"], |
} |
} |