]> gitweb.fluxo.info Git - puppet-lighttpd.git/commitdiff
use the full path
authormh <mh@immerda.ch>
Sun, 21 Oct 2012 11:43:08 +0000 (13:43 +0200)
committermh <mh@immerda.ch>
Sun, 21 Oct 2012 11:43:08 +0000 (13:43 +0200)
manifests/config/file.pp

index bda958e452461f7a639974f4b7bc4f4d13f6cea0..ca1abdd26825344b2b95ef0d466ac43cea3d9409 100644 (file)
@@ -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,
       }
     }