Alexandros Kosiaris has submitted this change and it was merged.

Change subject: Enable planet.osm population on labsdb1004
......................................................................


Enable planet.osm population on labsdb1004

Using the already introduced osm and postgresql modules

Change-Id: Ifce01ff31d1871e9d659b74fdf24612040b8d4e7
---
M manifests/role/osm.pp
1 file changed, 6 insertions(+), 0 deletions(-)

Approvals:
  Alexandros Kosiaris: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/manifests/role/osm.pp b/manifests/role/osm.pp
index f1c841b..c34ab62 100644
--- a/manifests/role/osm.pp
+++ b/manifests/role/osm.pp
@@ -7,8 +7,14 @@
     include role::osm::common
     include postgresql::master
     include postgresql::postgis
+    include osm::packages
     include passwords::osm
+
     postgresql::spatialdb { 'gis': }
+    osm::populatedb { 'gis':
+        input_pbf_file => '/srv/labsdb/planet-latest-osm.pbf',
+        require => Postgresql::Spatialdb['gis']
+    }
 
     if $osm_slave_v4 {
         postgresql::user { "replication@${::osm_slave}-v4":

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

Gerrit-MessageType: merged
Gerrit-Change-Id: Ifce01ff31d1871e9d659b74fdf24612040b8d4e7
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org>
Gerrit-Reviewer: Alexandros Kosiaris <akosia...@wikimedia.org>
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