[MediaWiki-commits] [Gerrit] servermon: Set a cron for the make_updates command - change (operations/puppet)
Alexandros Kosiaris has submitted this change and it was merged. Change subject: servermon: Set a cron for the make_updates command .. servermon: Set a cron for the make_updates command Use the (old) new make_updates.py django management command that populates package updates Change-Id: Ib507c1aaa5dcd9328ae792e13e4ebb8385a5dbe2 --- M modules/servermon/manifests/init.pp 1 file changed, 7 insertions(+), 0 deletions(-) Approvals: Alexandros Kosiaris: Looks good to me, approved jenkins-bot: Verified diff --git a/modules/servermon/manifests/init.pp b/modules/servermon/manifests/init.pp index ea5d957..069cf19 100644 --- a/modules/servermon/manifests/init.pp +++ b/modules/servermon/manifests/init.pp @@ -92,4 +92,11 @@ content => template('servermon/gunicorn.erb'), require => Package['gunicorn'], } + +cron { 'servermon_make_updates': +command => "${directory}/servermon/manage.py make_updates --pythonpath=${directory}", +user=> "www-data", +hour=> 0, +minute => 0, +} } -- To view, visit https://gerrit.wikimedia.org/r/166408 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ib507c1aaa5dcd9328ae792e13e4ebb8385a5dbe2 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Alexandros Kosiaris Gerrit-Reviewer: Alexandros Kosiaris Gerrit-Reviewer: jenkins-bot <> ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
[MediaWiki-commits] [Gerrit] servermon: Set a cron for the make_updates command - change (operations/puppet)
Alexandros Kosiaris has uploaded a new change for review. https://gerrit.wikimedia.org/r/166408 Change subject: servermon: Set a cron for the make_updates command .. servermon: Set a cron for the make_updates command Use the (old) new make_updates.py django management command that populates package updates Change-Id: Ib507c1aaa5dcd9328ae792e13e4ebb8385a5dbe2 --- M modules/servermon/manifests/init.pp 1 file changed, 7 insertions(+), 0 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/operations/puppet refs/changes/08/166408/1 diff --git a/modules/servermon/manifests/init.pp b/modules/servermon/manifests/init.pp index ea5d957..069cf19 100644 --- a/modules/servermon/manifests/init.pp +++ b/modules/servermon/manifests/init.pp @@ -92,4 +92,11 @@ content => template('servermon/gunicorn.erb'), require => Package['gunicorn'], } + +cron { 'servermon_make_updates': +command => "${directory}/servermon/manage.py make_updates --pythonpath=${directory}", +user=> "www-data", +hour=> 0, +minute => 0, +} } -- To view, visit https://gerrit.wikimedia.org/r/166408 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Ib507c1aaa5dcd9328ae792e13e4ebb8385a5dbe2 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Alexandros Kosiaris ___ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits