From 61b6b1f69dfbfa1e0d0f878b12fd0b1b87dfcda8 Mon Sep 17 00:00:00 2001 From: Paul Belanger Date: Thu, 9 Jul 2015 16:29:16 -0400 Subject: [PATCH] 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: I45be21c08d5ccdccbf0a8c386b794e2d75cdff45 Signed-off-by: Paul Belanger --- manifests/apache.pp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/manifests/apache.pp b/manifests/apache.pp index effaaab..c9eff15 100644 --- a/manifests/apache.pp +++ b/manifests/apache.pp @@ -16,21 +16,21 @@ class etherpad_lite::apache ( ensure => present, } - include apache - apache::vhost { $vhost_name: + include httpd + httpd::vhost { $vhost_name: port => 443, docroot => $docroot, priority => '50', template => 'etherpad_lite/etherpadlite.vhost.erb', ssl => true, } - a2mod { 'rewrite': + httpd_mod { 'rewrite': ensure => present, } - a2mod { 'proxy': + httpd_mod { 'proxy': ensure => present, } - a2mod { 'proxy_http': + httpd_mod { 'proxy_http': ensure => present, } @@ -91,7 +91,7 @@ class etherpad_lite::apache ( group => 'root', mode => '0640', content => $ssl_cert_file_contents, - before => Apache::Vhost[$vhost_name], + before => Httpd::Vhost[$vhost_name], } } @@ -102,7 +102,7 @@ class etherpad_lite::apache ( mode => '0640', content => $ssl_key_file_contents, require => Package['ssl-cert'], - before => Apache::Vhost[$vhost_name], + before => Httpd::Vhost[$vhost_name], } } @@ -112,7 +112,7 @@ class etherpad_lite::apache ( group => 'root', mode => '0640', content => $ssl_chain_file_contents, - before => Apache::Vhost[$vhost_name], + before => Httpd::Vhost[$vhost_name], } } }