diff options
Diffstat (limited to 'manifests/lighty.pp')
-rw-r--r-- | manifests/lighty.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/lighty.pp b/manifests/lighty.pp new file mode 100644 index 0000000..4e34f5e --- /dev/null +++ b/manifests/lighty.pp @@ -0,0 +1,11 @@ +class reprepro::lighty inherits lighttpd { + include reprepro + 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']; + } +} |