Merge "Removing deprecated cluster_id db var"
This commit is contained in:
commit
f7538b2bf7
@ -28,11 +28,6 @@
|
||||
# [*collate*]
|
||||
# the database collation. Optional. Defaults to 'utf8_general_ci'
|
||||
#
|
||||
# === Deprecated Parameters
|
||||
#
|
||||
# [*cluster_id*]
|
||||
# Unused. No effect.
|
||||
#
|
||||
class cinder::db::mysql (
|
||||
$password,
|
||||
$dbname = 'cinder',
|
||||
@ -41,15 +36,10 @@ class cinder::db::mysql (
|
||||
$allowed_hosts = undef,
|
||||
$charset = 'utf8',
|
||||
$collate = 'utf8_general_ci',
|
||||
$cluster_id = 'localzone',
|
||||
) {
|
||||
|
||||
validate_string($password)
|
||||
|
||||
if $cluster_id != 'localzone' {
|
||||
warning('The cluster_id parameter is deprecated and has no affect. It will be completely removed from puppet-cinder in the N-release')
|
||||
}
|
||||
|
||||
::openstacklib::db::mysql { 'cinder':
|
||||
user => $user,
|
||||
password_hash => mysql_password($password),
|
||||
|
Loading…
x
Reference in New Issue
Block a user