summaryrefslogtreecommitdiffstats
path: root/puppet/hieradata/database.yaml
diff options
context:
space:
mode:
authorDavid Moreau Simard <dms@redhat.com>2016-02-05 10:34:57 -0500
committerDavid Moreau Simard <dms@redhat.com>2016-02-10 15:44:14 -0500
commit65353adb6f4dce73c9c7384bd9cbbea6b09f3e6c (patch)
treee7b35aeb86fba5c86d867311c437a61a43a6eebc /puppet/hieradata/database.yaml
parent2125ffc65073d172b70c49f933ba3f7c442d1ff0 (diff)
Nova now requires an api database to be created
This enables the creation of the nova_api database that is now mandatory since https://review.openstack.org/#/c/245828/ Change-Id: Ia8242f23864ebb14ccf858a77ba754059e9c2d4a Related-Bug: #1539793
Diffstat (limited to 'puppet/hieradata/database.yaml')
-rw-r--r--puppet/hieradata/database.yaml7
1 files changed, 7 insertions, 0 deletions
diff --git a/puppet/hieradata/database.yaml b/puppet/hieradata/database.yaml
index 89577505..61714691 100644
--- a/puppet/hieradata/database.yaml
+++ b/puppet/hieradata/database.yaml
@@ -6,6 +6,13 @@ nova::db::mysql::allowed_hosts:
- '%'
- "%{hiera('mysql_bind_host')}"
+nova::db::mysql_api::user: nova_api
+nova::db::mysql_api::host: "%{hiera('mysql_virtual_ip')}"
+nova::db::mysql_api::dbname: nova_api
+nova::db::mysql_api::allowed_hosts:
+ - '%'
+ - "%{hiera('mysql_bind_host')}"
+
# Glance
glance::db::mysql::user: glance
glance::db::mysql::host: "%{hiera('mysql_virtual_ip')}"