aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/manifests/mod
diff options
context:
space:
mode:
authorOlivier Blin <dev@blino.org>2015-11-22 02:09:53 +0100
committerOlivier Blin <dev@blino.org>2015-11-30 01:32:43 +0100
commit4ad008a4880c770205d0ee9afdf6c522c284788a (patch)
tree1e0a3cde37b3d497f722e2a7d3fe550fd9ca07be /modules/apache/manifests/mod
parent396da52d807c0e1d110ba60ba093d27c70234630 (diff)
downloadpuppet-4ad008a4880c770205d0ee9afdf6c522c284788a.tar
puppet-4ad008a4880c770205d0ee9afdf6c522c284788a.tar.gz
puppet-4ad008a4880c770205d0ee9afdf6c522c284788a.tar.bz2
puppet-4ad008a4880c770205d0ee9afdf6c522c284788a.tar.xz
puppet-4ad008a4880c770205d0ee9afdf6c522c284788a.zip
apache: use proper conf.d dir on Mageia >= 2
Diffstat (limited to 'modules/apache/manifests/mod')
-rw-r--r--modules/apache/manifests/mod/php.pp2
-rw-r--r--modules/apache/manifests/mod/ssl.pp2
-rw-r--r--modules/apache/manifests/mod/wsgi.pp2
3 files changed, 3 insertions, 3 deletions
diff --git a/modules/apache/manifests/mod/php.pp b/modules/apache/manifests/mod/php.pp
index c5de893e..2c8d6733 100644
--- a/modules/apache/manifests/mod/php.pp
+++ b/modules/apache/manifests/mod/php.pp
@@ -4,7 +4,7 @@ class apache::mod::php {
package { 'apache-mod_php': }
- apache::config { '/etc/httpd/conf.d/mod_php.conf':
+ apache::config { "${apache::base::conf_d}/mod_php.conf":
content => template('apache/mod/php.conf'),
}
}
diff --git a/modules/apache/manifests/mod/ssl.pp b/modules/apache/manifests/mod/ssl.pp
index 9065c5cc..ab3d24e4 100644
--- a/modules/apache/manifests/mod/ssl.pp
+++ b/modules/apache/manifests/mod/ssl.pp
@@ -14,7 +14,7 @@ class apache::mod::ssl {
apache::config {
'/etc/httpd/conf/vhosts.d/01_default_ssl_vhost.conf':
content => template('apache/01_default_ssl_vhost.conf');
- '/etc/httpd/conf.d/ssl_vhost.conf':
+ "${apache::base::conf_d}/ssl_vhost.conf":
content => template('apache/mod/ssl_vhost.conf');
}
}
diff --git a/modules/apache/manifests/mod/wsgi.pp b/modules/apache/manifests/mod/wsgi.pp
index d2ab72d2..7f4fb719 100644
--- a/modules/apache/manifests/mod/wsgi.pp
+++ b/modules/apache/manifests/mod/wsgi.pp
@@ -6,7 +6,7 @@ class apache::mod::wsgi {
ensure => directory,
}
- apache::config { '/etc/httpd/conf.d/mod_wsgi.conf':
+ apache::config { "${apache::base::conf_d}/mod_wsgi.conf":
content => template('apache/mod/wsgi.conf'),
}
}