From 933b976b57eb025c8126e01a50cb25feb0be7157 Mon Sep 17 00:00:00 2001 From: mh Date: Sun, 21 Oct 2012 13:43:08 +0200 Subject: use the full path --- manifests/config/file.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/config/file.pp b/manifests/config/file.pp index bda958e..ca1abdd 100644 --- a/manifests/config/file.pp +++ b/manifests/config/file.pp @@ -4,7 +4,7 @@ define lighttpd::config::file( $conf_source = 'absent', $content = 'absent' ){ - file{"${lighttpd::conf_dir_name}/${name}.conf": + file{"${lighttpd::conf_dir}/${name}.conf": ensure => $ensure, require => Package['lighttpd'], notify => Service['lighttpd'], @@ -22,7 +22,7 @@ define lighttpd::config::file( case $content { 'absent': { - File["${lighttpd::conf_dir_name}/${name}.conf"]{ + File["${lighttpd::conf_dir}/${name}.conf"]{ source => $conf_source ? { 'absent' => [ "puppet:///modules/site_lighttpd/${lighttpd::conf_dir_name}/${::fqdn}/${name}.conf", @@ -40,7 +40,7 @@ define lighttpd::config::file( } } default: { - File["${lighttpd::conf_dir_name}/${name}.conf"]{ + File["${lighttpd::conf_dir}/${name}.conf"]{ content => $content, } } -- cgit v1.2.3