Merge "Use httpd::mod instead of httpd_mod"

This commit is contained in:
Jenkins
2015-12-21 18:18:57 +00:00
committed by Gerrit Code Review
5 changed files with 50 additions and 22 deletions

View File

@@ -26,14 +26,22 @@ class openstack_project::status (
include ::httpd
httpd_mod { 'rewrite':
ensure => present,
if ! defined(Httpd::Mod['rewrite']) {
httpd::mod { 'rewrite':
ensure => present,
}
}
httpd_mod { 'proxy':
ensure => present,
if ! defined(Httpd::Mod['proxy']) {
httpd::mod { 'proxy':
ensure => present,
}
}
httpd_mod { 'proxy_http':
ensure => present,
if ! defined(Httpd::Mod['proxy_http']) {
httpd::mod { 'proxy_http':
ensure => present,
}
}
file { '/srv/static':