Remove hardcoded localhost for mysql host param
Currently we have hardcoded the mysql database host to be localhost. This should not be necessary if mysql is configured correctly. As decisions about database configuration are outside the scope of this cookbook, removing the hardcoded value. Change-Id: I13a4ed271229793e634858fc2a41502e11f2fac5
This commit is contained in:
@@ -2,6 +2,9 @@
|
||||
|
||||
This file is used to list changes made in each version of cookbook-openstack-common.
|
||||
|
||||
## 0.4.2:
|
||||
* Remove hardcoded localhost for mysql host specification.
|
||||
|
||||
## 0.4.1:
|
||||
* Changed endpoint attributes to use http for default scheme. this is inline with
|
||||
default settings in keystone. fine for dev, but should be ssl for prod.
|
||||
|
||||
@@ -53,8 +53,6 @@ module ::Openstack
|
||||
user_prov = ::Chef::Provider::Database::MysqlUser
|
||||
super_user = "root"
|
||||
|
||||
# For some reason, setting this to anything other than localhost fails miserably :(
|
||||
host = "localhost"
|
||||
if root_user_use_databag
|
||||
user_key = node['openstack']['db']['root_user_key']
|
||||
super_password = user_password user_key
|
||||
|
||||
@@ -4,7 +4,7 @@ maintainer_email "cookbooks@lists.tfoundry.com"
|
||||
license "Apache 2.0"
|
||||
description "Common OpenStack attributes, libraries and recipes."
|
||||
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
|
||||
version "0.4.1"
|
||||
version "0.4.2"
|
||||
|
||||
recipe "openstack-common", "Installs/Configures common recipes"
|
||||
recipe "openstack-common::logging", "Installs/Configures common logging"
|
||||
|
||||
Reference in New Issue
Block a user