0b60cdd6a1
'apache' module is needed by 'horizon' 4.1.0 173967ab8dd21a93d6f2b47ff2641d0092f729b1 v 1.2.0 Fuel-CI: disable Partial blueprint: merge-openstack-puppet-modules Change-Id: I0f5ff2fafe058c0263c2ace4bc0ce8f7828d3be0
24 lines
553 B
Puppet
24 lines
553 B
Puppet
## SSL-enabled vhosts
|
|
# SSL-enabled vhosts respond only to HTTPS queries.
|
|
|
|
# Base class. Turn off the default vhosts; we will be declaring
|
|
# all vhosts below.
|
|
class { 'apache':
|
|
default_vhost => false,
|
|
}
|
|
|
|
# Non-ssl vhost
|
|
apache::vhost { 'first.example.com non-ssl':
|
|
servername => 'first.example.com',
|
|
port => '80',
|
|
docroot => '/var/www/first',
|
|
}
|
|
|
|
# SSL vhost at the same domain
|
|
apache::vhost { 'first.example.com ssl':
|
|
servername => 'first.example.com',
|
|
port => '443',
|
|
docroot => '/var/www/first',
|
|
ssl => true,
|
|
}
|