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: Id03b3895a5676b8d81cdd79a9536b4084dc8c3e3
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2015-07-14 15:26:36 -04:00
parent dd44e9c1e6
commit 0162ef56c9
2 changed files with 13 additions and 13 deletions

View File

@ -155,10 +155,10 @@ class openstackid (
mode => '0755',
}
include apache
include apache::ssl
include apache::php
apache::vhost { $vhost_name:
include ::httpd
include ::httpd::ssl
include ::httpd::php
::httpd::vhost { $vhost_name:
port => 443,
docroot => '/srv/openstackid/w/public',
priority => '50',
@ -166,13 +166,13 @@ class openstackid (
ssl => true,
require => File[$docroot_dirs],
}
a2mod { 'rewrite':
httpd_mod { 'rewrite':
ensure => present,
}
a2mod { 'proxy':
httpd_mod { 'proxy':
ensure => present,
}
a2mod { 'proxy_http':
httpd_mod { 'proxy_http':
ensure => present,
}
@ -182,7 +182,7 @@ class openstackid (
group => 'root',
mode => '0640',
content => $ssl_cert_file_contents,
before => Apache::Vhost[$vhost_name],
before => Httpd::Vhost[$vhost_name],
}
}
@ -192,7 +192,7 @@ class openstackid (
group => 'root',
mode => '0640',
content => $ssl_key_file_contents,
before => Apache::Vhost[$vhost_name],
before => Httpd::Vhost[$vhost_name],
}
}
@ -202,7 +202,7 @@ class openstackid (
group => 'root',
mode => '0640',
content => $ssl_chain_file_contents,
before => Apache::Vhost[$vhost_name],
before => Httpd::Vhost[$vhost_name],
}
}
@ -224,7 +224,7 @@ class openstackid (
logoutput => on_failure,
require => [
File['/opt/deploy/conf.d/openstackid.conf'],
Apache::Vhost[$vhost_name],
Httpd::Vhost[$vhost_name],
File['/etc/openstackid/recaptcha.php'],
File['/etc/openstackid/database.php'],
File['/etc/openstackid/log.php'],
@ -241,7 +241,7 @@ class openstackid (
logoutput => on_failure,
require => [
File['/opt/deploy/conf.d/openstackid.conf'],
Apache::Vhost[$vhost_name],
Httpd::Vhost[$vhost_name],
File['/etc/openstackid/recaptcha.php'],
File['/etc/openstackid/database.php'],
File['/etc/openstackid/log.php'],

View File

@ -17,7 +17,7 @@
"dependencies": [
{ "name": "puppetlabs/stdlib", "version_requirement": ">= 3.2.0" },
{ "name": "puppetlabs/mysql", "version_requirement": "= 0.6.1" },
{ "name": "puppetlabs/apache", "version_requirement": "= 0.0.4" },
{ "name": "openstackinfra/httpd", "version_requirement": "0.x" },
{ "name": "openstackinfra/redis", "version_requirement": "= 0.0.1" }
]
}