summaryrefslogtreecommitdiff
path: root/manifests/gentoo/module.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/gentoo/module.pp')
-rw-r--r--manifests/gentoo/module.pp14
1 files changed, 7 insertions, 7 deletions
diff --git a/manifests/gentoo/module.pp b/manifests/gentoo/module.pp
index 7764c6f..1e9d03a 100644
--- a/manifests/gentoo/module.pp
+++ b/manifests/gentoo/module.pp
@@ -3,20 +3,20 @@ define apache::gentoo::module(
$source = '',
$destination = ''
){
- $modules_dir = "$apache::gentoo::config_dir/modules.d"
+ $modules_dir = "${apache::gentoo::config_dir}/modules.d"
$real_destination = $destination ? {
'' => "${modules_dir}/${name}.conf",
default => $destination,
}
$real_source = $source ? {
'' => [
- "puppet://$server/modules/site-apache/modules.d/${fqdn}/${name}.conf",
- "puppet://$server/modules/site-apache/modules.d/${apache_cluster_node}/${name}.conf",
- "puppet://$server/modules/site-apache/modules.d/${name}.conf",
- "puppet://$server/modules/apache/modules.d/${operatingsystem}/${name}.conf",
- "puppet://$server/modules/apache/modules.d/${name}.conf"
+ "puppet:///modules/site_apache/modules.d/${::fqdn}/${name}.conf",
+ "puppet:///modules/site_apache/modules.d/${apache::cluster_node}/${name}.conf",
+ "puppet:///modules/site_apache/modules.d/${name}.conf",
+ "puppet:///modules/apache/modules.d/${::operatingsystem}/${name}.conf",
+ "puppet:///modules/apache/modules.d/${name}.conf"
],
- default => "puppet://$server/$source",
+ default => "puppet:///$source",
}
file{"modules_${name}.conf":
ensure => $ensure,