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
This commit is contained in:
parent
af02d02575
commit
5daf45b075
@ -3,12 +3,15 @@
|
|||||||
class openstack_project::paste (
|
class openstack_project::paste (
|
||||||
$db_password,
|
$db_password,
|
||||||
$mysql_root_password,
|
$mysql_root_password,
|
||||||
|
$vhost_name = $::fqdn,
|
||||||
) {
|
) {
|
||||||
include lodgeit
|
include lodgeit
|
||||||
lodgeit::site { 'openstack':
|
lodgeit::site { 'openstack':
|
||||||
db_host => 'localhost',
|
|
||||||
db_password => $db_password,
|
|
||||||
port => '5000',
|
port => '5000',
|
||||||
|
db_password => $db_password,
|
||||||
|
db_host => 'localhost',
|
||||||
|
db_user => 'openstack',
|
||||||
|
vhost_name => $vhost_name,
|
||||||
image => 'header-bg2.png',
|
image => 'header-bg2.png',
|
||||||
require => mysql::db['openstack'],
|
require => mysql::db['openstack'],
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user