Support passive mysql servers

Adds code to support passive mysql instances.
This commit is contained in:
Dan Bode
2012-08-19 00:44:23 -07:00
parent bcb75dda9e
commit f1e8a37300

View File

@@ -17,8 +17,6 @@
# nova_db_password => 'changeme', # nova_db_password => 'changeme',
# allowed_hosts => ['127.0.0.1', '10.0.0.%'], # allowed_hosts => ['127.0.0.1', '10.0.0.%'],
# } # }
class openstack::db::mysql ( class openstack::db::mysql (
# Required MySQL # Required MySQL
# passwords # passwords
@@ -56,6 +54,7 @@ class openstack::db::mysql (
class { 'mysql::server::account_security': } class { 'mysql::server::account_security': }
} }
if ($enabled) {
# Create the Keystone db # Create the Keystone db
class { 'keystone::db::mysql': class { 'keystone::db::mysql':
user => $keystone_db_user, user => $keystone_db_user,
@@ -79,4 +78,5 @@ class openstack::db::mysql (
dbname => $nova_db_dbname, dbname => $nova_db_dbname,
allowed_hosts => $allowed_hosts, allowed_hosts => $allowed_hosts,
} }
}
} }