Force users to set the mysql root password

Fixes bug 1191068

Change-Id: Ic05bbe3648e9e606290218da4215415cb211d09d
This commit is contained in:
Logan McNaughton
2013-07-16 20:17:03 +00:00
parent 7d11996b7b
commit d52895d5ad
4 changed files with 4 additions and 2 deletions

View File

@@ -115,6 +115,7 @@ class openstack::all (
$nova_db_password,
$nova_user_password,
$secret_key,
$mysql_root_password,
# cinder and quantum password are not required b/c they are
# optional. Not sure what to do about this.
$quantum_user_password = false,
@@ -124,7 +125,6 @@ class openstack::all (
# Database
$db_host = '127.0.0.1',
$db_type = 'mysql',
$mysql_root_password = 'sql_pass',
$mysql_account_security = true,
$mysql_bind_address = '0.0.0.0',
$allowed_hosts = '%',

View File

@@ -109,6 +109,7 @@ class openstack::controller (
$nova_db_password,
$nova_user_password,
$secret_key,
$mysql_root_password,
# cinder and quantum password are not required b/c they are
# optional. Not sure what to do about this.
$quantum_user_password = false,
@@ -119,7 +120,6 @@ class openstack::controller (
# Database
$db_host = '127.0.0.1',
$db_type = 'mysql',
$mysql_root_password = 'sql_pass',
$mysql_account_security = true,
$mysql_bind_address = '0.0.0.0',
$sql_idle_timeout = undef,

View File

@@ -17,6 +17,7 @@ describe 'openstack::all' do
:nova_db_password => 'nova_pass',
:nova_user_password => 'nova_pass',
:secret_key => 'secret_key',
:mysql_root_password => 'sql_pass',
}
end

View File

@@ -22,6 +22,7 @@ describe 'openstack::controller' do
:cinder_db_password => 'cinder_pass',
:cinder_user_password => 'cinder_pass',
:secret_key => 'secret_key',
:mysql_root_password => 'sql_pass',
:quantum => false,
:vncproxy_host => '10.0.0.1',
:nova_admin_tenant_name => 'services',