Alexandros Kosiaris has uploaded a new change for review.
https://gerrit.wikimedia.org/r/260361
Change subject: osm::planet_sync: Add ensure parameter as well in sync cron
......................................................................
osm::planet_sync: Add ensure parameter as well in sync cron
Add the missing ensure parameter in the cron sync resource
Change-Id: I17363e17e7989c1c3ca2efd7adfc945c5655bbbe
---
M modules/osm/manifests/planet_sync.pp
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/61/260361/1
diff --git a/modules/osm/manifests/planet_sync.pp
b/modules/osm/manifests/planet_sync.pp
index b7b4b3f..56babf7 100644
--- a/modules/osm/manifests/planet_sync.pp
+++ b/modules/osm/manifests/planet_sync.pp
@@ -94,6 +94,7 @@
}
cron { "planet_sync-${name}":
+ ensure => $ensure,
command => '/usr/local/bin/replicate-osm > /tmp/osm2pgsql.log
2>&1',
user => 'osmupdater',
hour => $hour,
--
To view, visit https://gerrit.wikimedia.org/r/260361
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I17363e17e7989c1c3ca2efd7adfc945c5655bbbe
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits