From 5daf45b0752c5939df4664d432a2d2a72ca6d896 Mon Sep 17 00:00:00 2001 From: Yolanda Robla Date: Wed, 8 Apr 2015 10:58:03 +0200 Subject: [PATCH] Allow configuring vhost parameter on paste Parameterize vhost parameter for lodgeit, defaulting to ::fqdn, for easier deployment in other testing environments and to make it more reconsumable downstream. Change-Id: Id88d8fb52599b6bd002f7373a6adfad63e21c620 --- modules/openstack_project/manifests/paste.pp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/modules/openstack_project/manifests/paste.pp b/modules/openstack_project/manifests/paste.pp index f8c6382dc7..42852f8439 100644 --- a/modules/openstack_project/manifests/paste.pp +++ b/modules/openstack_project/manifests/paste.pp @@ -3,12 +3,15 @@ class openstack_project::paste ( $db_password, $mysql_root_password, + $vhost_name = $::fqdn, ) { include lodgeit lodgeit::site { 'openstack': - db_host => 'localhost', - db_password => $db_password, port => '5000', + db_password => $db_password, + db_host => 'localhost', + db_user => 'openstack', + vhost_name => $vhost_name, image => 'header-bg2.png', require => mysql::db['openstack'], }