From 1d7c391c849094b422ac998e84006515f8ba107d Mon Sep 17 00:00:00 2001 From: Soren Hansen Date: Mon, 2 Jul 2012 16:29:57 +0200 Subject: [PATCH] Make public urls use public_address in all-in-one The public url endpoints currently use 127.0.0.1 for their hostname, so it's impossible to use the all-in-one cloud from outside the host. Change this to public_address so that it can be tested from the outside. --- manifests/all.pp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/manifests/all.pp b/manifests/all.pp index 771e998..b503711 100644 --- a/manifests/all.pp +++ b/manifests/all.pp @@ -134,6 +134,7 @@ class openstack::all( # set up keystone user, endpoint, service class { 'glance::keystone::auth': password => $glance_user_password, + public_address => $public_address, } # creat glance db/user/grants @@ -176,6 +177,7 @@ class openstack::all( class { 'nova::keystone::auth': password => $nova_user_password, + public_address => $public_address, } class { 'nova::rabbitmq':