Merge "Require the UI package when creating the virtual host"
This commit is contained in:
commit
b221948fc9
@ -17,10 +17,6 @@
|
|||||||
# UI profile for tripleo
|
# UI profile for tripleo
|
||||||
#
|
#
|
||||||
class tripleo::profile::base::ui () {
|
class tripleo::profile::base::ui () {
|
||||||
package {'openstack-tripleo-ui': }
|
|
||||||
|
|
||||||
include ::apache
|
|
||||||
|
|
||||||
include ::tripleo::ui
|
include ::tripleo::ui
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -136,13 +136,16 @@ class tripleo::ui (
|
|||||||
$endpoint_config_swift = undef,
|
$endpoint_config_swift = undef,
|
||||||
|
|
||||||
) {
|
) {
|
||||||
|
package {'openstack-tripleo-ui': }
|
||||||
|
|
||||||
|
include ::apache
|
||||||
include ::apache::mod::proxy
|
include ::apache::mod::proxy
|
||||||
include ::apache::mod::proxy_http
|
include ::apache::mod::proxy_http
|
||||||
include ::apache::mod::proxy_wstunnel
|
include ::apache::mod::proxy_wstunnel
|
||||||
|
|
||||||
::apache::vhost { 'tripleo-ui':
|
::apache::vhost { 'tripleo-ui':
|
||||||
ensure => 'present',
|
ensure => 'present',
|
||||||
|
require => Package['openstack-tripleo-ui'],
|
||||||
servername => $servername,
|
servername => $servername,
|
||||||
ip => $bind_host,
|
ip => $bind_host,
|
||||||
port => $ui_port,
|
port => $ui_port,
|
||||||
|
Loading…
Reference in New Issue
Block a user