Fix keystone regression on devstack server

Change-Id: I462812fc5bc0b180282d4a34dae571b19d5ee5fd
This commit is contained in:
David Schroeder 2014-07-23 14:23:23 -06:00
parent 261c1c82f8
commit 6632d4ceef
2 changed files with 16 additions and 5 deletions

View File

@ -2,6 +2,6 @@ name "devstack"
maintainer "Mon Team"
maintainer_email "hpcs-mon@hp.com"
license "All rights reserved"
description "Build customized devstack server"
description "Customizes devstack server for use with mini-mon"
long_description IO.read(File.join(File.dirname(__FILE__), 'README.md'))
version "0.0.1"
version "0.0.2"

View File

@ -1,3 +1,14 @@
# As of 2014-07-10, Keystone is no longer run as a daemon, but under Apache.
# Therefore, this recipe, which prepared keystone.conf for mini-mon use,
# is no longer necessary, but left in place in case future tweaks are needed.
# Modify devstack image (https://vagrantcloud.com/monasca/devstack) as needed
# for use in mini-mon
my_ip = '192.168.10.5'
ks_conf = '/etc/keystone/keystone.conf'
# Modify keystone configuration to use the IP address specified above
execute "sed -i.bak 's^\\(.*endpoint = http://\\).*\\(:.*\\)^\\1#{my_ip}\\2^' #{ks_conf}"
# Reload the apache configuration following this change
service "apache2" do
action :restart
end