class reprepro::lighty inherits lighttpd { file { "/etc/lighttpd/conf-available/20-reprepro.conf": ensure => present, content => "alias.url += ( \"/debian/\" => \"$reprepro::basedir/\" )\n"; "/etc/lighttpd/conf-enabled/20-reprepro.conf": ensure => "/etc/lighttpd/conf-available/20-reprepro.conf", require => File['/etc/lighttpd/conf-available/20-reprepro.conf'], notify => Service['lighttpd']; } }