BryanDavis has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/353727 )

Change subject: Ensure that a cron service is available
......................................................................

Ensure that a cron service is available

Discovered that the LXC base image is missing any cron package while
setting up a new MediaWiki-Vagrant ISO build server. Anacron is a nice
one to use for VMs and laptops since it can catch up after a host is
restarted.

Change-Id: I053fda6c80082f9c6d2026cb06573781181989fb
---
M puppet/modules/mwv/manifests/packages.pp
1 file changed, 11 insertions(+), 2 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/vagrant 
refs/changes/27/353727/1

diff --git a/puppet/modules/mwv/manifests/packages.pp 
b/puppet/modules/mwv/manifests/packages.pp
index a8f16f7..0ea781b 100644
--- a/puppet/modules/mwv/manifests/packages.pp
+++ b/puppet/modules/mwv/manifests/packages.pp
@@ -3,8 +3,17 @@
 class mwv::packages {
     package { 'python-pip': } -> Package <| provider == pip |>
 
-    # Install common development tools
-    require_package('build-essential', 'gdb', 'python-dev', 'ruby-dev')
+    # Install common packages
+    require_package(
+        'anacron',
+        'build-essential',
+        'gdb',
+        'python-dev',
+        'ruby-dev',
+    )
+
+    # Cron resources need a cron provider installed
+    Package['anacron'] -> Cron <| |>
 
     # Remove chef if it is installed in the base image
     # Bug: 67693

-- 
To view, visit https://gerrit.wikimedia.org/r/353727
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I053fda6c80082f9c6d2026cb06573781181989fb
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/vagrant
Gerrit-Branch: master
Gerrit-Owner: BryanDavis <bda...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to