Support passive mysql servers
Adds code to support passive mysql instances.
This commit is contained in:
@@ -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,
|
||||||
@@ -80,3 +79,4 @@ class openstack::db::mysql (
|
|||||||
allowed_hosts => $allowed_hosts,
|
allowed_hosts => $allowed_hosts,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
Reference in New Issue
Block a user