From 1a791a6e0ea96b075a2d4d59a65a6b1f48a80cd5 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Thu, 23 Jan 2014 21:06:02 +0000 Subject: [PATCH] Point the fmn frontend at datanommer. --- files/hosts/notifs-backend01.stg.phx2.fedoraproject.org-hosts | 1 + roles/notifs-frontend/templates/fmn.web.py | 3 +++ 2 files changed, 4 insertions(+) diff --git a/files/hosts/notifs-backend01.stg.phx2.fedoraproject.org-hosts b/files/hosts/notifs-backend01.stg.phx2.fedoraproject.org-hosts index 39a889c3e2..6ba829d3d2 100644 --- a/files/hosts/notifs-backend01.stg.phx2.fedoraproject.org-hosts +++ b/files/hosts/notifs-backend01.stg.phx2.fedoraproject.org-hosts @@ -9,3 +9,4 @@ 10.5.126.81 memcached03 memcached03.stg app01 app01.stg 10.5.126.85 db-notifs db-notifs +10.5.126.85 db-datanommer db-datanommer diff --git a/roles/notifs-frontend/templates/fmn.web.py b/roles/notifs-frontend/templates/fmn.web.py index 8697214a7f..6edc02f884 100644 --- a/roles/notifs-frontend/templates/fmn.web.py +++ b/roles/notifs-frontend/templates/fmn.web.py @@ -1,3 +1,6 @@ config = { + # This is for *our* database "fmn.sqlalchemy.uri": "postgresql://{{notifs_db_user}}:{{notifs_db_password}}@db-notifs/notifications", + # And this is for the datanommer database + "datanommer.sqlalchemy.url": "postgresql://{{datanommerDBUser}}:{{datanommerDBPassword}}@db-datanommer/datanommer", }