summaryrefslogtreecommitdiff
path: root/manifests/centos.pp
diff options
context:
space:
mode:
authormh <mh@immerda.ch>2012-06-05 21:35:37 -0300
committermh <mh@immerda.ch>2012-06-05 21:35:37 -0300
commit65f6bb2025218692949530db6703792cc6865c02 (patch)
treeac44acb252c06d2e7de3e74e0fb56db2dbdd51e5 /manifests/centos.pp
parent076909377eaa3aa41936e3acb7e02a9b5b14d493 (diff)
new style for 2.7
Diffstat (limited to 'manifests/centos.pp')
-rw-r--r--manifests/centos.pp10
1 files changed, 5 insertions, 5 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp
index 4181152..7f8ba94 100644
--- a/manifests/centos.pp
+++ b/manifests/centos.pp
@@ -10,16 +10,16 @@ class apache::centos inherits apache::package {
restart => '/etc/init.d/httpd graceful',
}
File[vhosts_dir]{
- path => "$config_dir/vhosts.d",
+ path => "${config_dir}/vhosts.d",
}
File[config_dir]{
- path => "$config_dir/conf.d",
+ path => "${config_dir}/conf.d",
}
File[include_dir]{
- path => "$config_dir/include.d",
+ path => "${config_dir}/include.d",
}
File[modules_dir]{
- path => "$config_dir/modules.d",
+ path => "${config_dir}/modules.d",
}
File[web_dir]{
path => "/var/www/vhosts",
@@ -40,7 +40,7 @@ class apache::centos inherits apache::package {
}
file{'apache_service_config':
path => '/etc/sysconfig/httpd',
- source => [ "puppet:///modules/site_apache/service/CentOS/${fqdn}/httpd",
+ source => [ "puppet:///modules/site_apache/service/CentOS/${::fqdn}/httpd",
"puppet:///modules/site_apache/service/CentOS/httpd",
"puppet:///modules/apache/service/CentOS/httpd" ],
require => Package['apache'],