Migrate to puppet-httpd module
puppet-httpd is the openstack-infra version of puppetlabs-apache (0.0.4) release. This patchset will remove the puppetlabs-apache namespace from -infra allowing for possible future patchsets to use newer puppetlabs-apache modules. Change-Id: I4f509f1ce72b069ac89d42f2cb55550e3b5bf590 Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
902f3d3eda
commit
e8b959a5a2
@ -68,8 +68,8 @@ class storyboard::application (
|
|||||||
|
|
||||||
# Dependencies
|
# Dependencies
|
||||||
require storyboard::params
|
require storyboard::params
|
||||||
include apache
|
include ::httpd
|
||||||
include apache::mod::wsgi
|
include ::httpd::mod::wsgi
|
||||||
|
|
||||||
class { 'python':
|
class { 'python':
|
||||||
pip => true,
|
pip => true,
|
||||||
@ -106,7 +106,7 @@ class storyboard::application (
|
|||||||
content => template('storyboard/storyboard.conf.erb'),
|
content => template('storyboard/storyboard.conf.erb'),
|
||||||
notify => Service['httpd'],
|
notify => Service['httpd'],
|
||||||
require => [
|
require => [
|
||||||
Class['apache::params'],
|
Class['httpd::params'],
|
||||||
File['/etc/storyboard']
|
File['/etc/storyboard']
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -128,7 +128,7 @@ class storyboard::application (
|
|||||||
subscribe => Vcsrepo[$src_root_api],
|
subscribe => Vcsrepo[$src_root_api],
|
||||||
notify => Service['httpd'],
|
notify => Service['httpd'],
|
||||||
require => [
|
require => [
|
||||||
Class['apache::params'],
|
Class['httpd::params'],
|
||||||
Class['python::install'],
|
Class['python::install'],
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@ -233,7 +233,7 @@ class storyboard::application (
|
|||||||
# Are we setting up TLS or non-TLS?
|
# Are we setting up TLS or non-TLS?
|
||||||
if defined(Class['storyboard::cert']) {
|
if defined(Class['storyboard::cert']) {
|
||||||
# Set up storyboard as HTTPS
|
# Set up storyboard as HTTPS
|
||||||
apache::vhost { $hostname:
|
::httpd::vhost { $hostname:
|
||||||
port => 443,
|
port => 443,
|
||||||
docroot => $www_root,
|
docroot => $www_root,
|
||||||
priority => '50',
|
priority => '50',
|
||||||
@ -242,7 +242,7 @@ class storyboard::application (
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
# Set up storyboard as HTTPS
|
# Set up storyboard as HTTPS
|
||||||
apache::vhost { $hostname:
|
::httpd::vhost { $hostname:
|
||||||
port => 80,
|
port => 80,
|
||||||
docroot => $www_root,
|
docroot => $www_root,
|
||||||
priority => '50',
|
priority => '50',
|
||||||
|
@ -18,10 +18,10 @@
|
|||||||
#
|
#
|
||||||
class storyboard::params () {
|
class storyboard::params () {
|
||||||
|
|
||||||
include apache::params
|
include ::httpd::params
|
||||||
|
|
||||||
$user = $apache::params::user
|
$user = $::httpd::params::user
|
||||||
$group = $apache::params::group
|
$group = $::httpd::params::group
|
||||||
|
|
||||||
case $::osfamily {
|
case $::osfamily {
|
||||||
'Debian': {
|
'Debian': {
|
||||||
|
@ -17,8 +17,8 @@
|
|||||||
"version_requirement": ">= 0.6.1"
|
"version_requirement": ">= 0.6.1"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "puppetlabs/apache",
|
"name": "openstackinfra/httpd",
|
||||||
"version_requirement": "= 0.0.4"
|
"version_requirement": "= 0.x"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "puppetlabs/rabbitmq",
|
"name": "puppetlabs/rabbitmq",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user