Dzahn has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/336990 )

Change subject: toollabs: Preparing to move `/usr/local/bin/crontab` to 
labs/toollabs
......................................................................


toollabs: Preparing to move `/usr/local/bin/crontab` to labs/toollabs

File `/etc/toollabs-cronhost` has been installed in order to let the
rewritten crontab read from this file.

Bug: T156174
Change-Id: I43597437b44e8255b837e947569406e5d8fb357d
---
M modules/toollabs/manifests/bastion.pp
1 file changed, 7 insertions(+), 0 deletions(-)

Approvals:
  BryanDavis: Looks good to me, but someone else must approve
  jenkins-bot: Verified
  Dzahn: Looks good to me, approved



diff --git a/modules/toollabs/manifests/bastion.pp 
b/modules/toollabs/manifests/bastion.pp
index 31a075e..a2fcb94 100644
--- a/modules/toollabs/manifests/bastion.pp
+++ b/modules/toollabs/manifests/bastion.pp
@@ -212,6 +212,13 @@
         mode    => '0755',
         content => template('toollabs/crontab.erb'),
     }
+    file { '/etc/toollabs-cronhost':
+        ensure  => file,
+        owner   => 'root',
+        group   => 'root',
+        mode    => '0644',
+        content => $cron_host,
+    }
 
     file { '/usr/local/bin/killgridjobs.sh':
         ensure => file,

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I43597437b44e8255b837e947569406e5d8fb357d
Gerrit-PatchSet: 9
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Zhuyifei1999 <zhuyifei1...@gmail.com>
Gerrit-Reviewer: Andrew Bogott <abog...@wikimedia.org>
Gerrit-Reviewer: BryanDavis <bda...@wikimedia.org>
Gerrit-Reviewer: Coren <m...@uberbox.org>
Gerrit-Reviewer: Dzahn <dz...@wikimedia.org>
Gerrit-Reviewer: Madhuvishy <mviswanat...@wikimedia.org>
Gerrit-Reviewer: Merlijn van Deen <valhall...@arctus.nl>
Gerrit-Reviewer: Rush <r...@wikimedia.org>
Gerrit-Reviewer: Tim Landscheidt <t...@tim-landscheidt.de>
Gerrit-Reviewer: Yuvipanda <yuvipa...@wikimedia.org>
Gerrit-Reviewer: Zhuyifei1999 <zhuyifei1...@gmail.com>
Gerrit-Reviewer: jenkins-bot <>

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

Reply via email to