Alexandros Kosiaris has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/119869

Change subject: Create a user for access to OSM db
......................................................................

Create a user for access to OSM db

Provide access from Labs IP space and to database gis

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


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/69/119869/1

diff --git a/manifests/role/osm.pp b/manifests/role/osm.pp
index c34ab62..4fb0bdb 100644
--- a/manifests/role/osm.pp
+++ b/manifests/role/osm.pp
@@ -40,6 +40,17 @@
             database => 'replication',
         }
     }
+
+    # OSM user
+    postgresql::user { "osm@labs":
+            ensure   => 'present',
+            user     => 'osm',
+            password => $passwords::osm::osm_password,
+            cidr     => "10.68.16.0/21",
+            type     => 'host',
+            method   => 'md5',
+            database => 'gis',
+    }
 }
 
 class role::osm::slave {

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I7037ad48bb7667d188c3f36d88771fdbf5ea8edd
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Alexandros Kosiaris <akosia...@wikimedia.org>

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

Reply via email to