From e8445ce12b9174eeea071939af4a17177ebc89ce Mon Sep 17 00:00:00 2001 From: Antoine Beaupre Date: Wed, 24 Jun 2009 15:13:16 -0400 Subject: add lighttpd support --- manifests/lighty.pp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 manifests/lighty.pp (limited to 'manifests') 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']; + } +} -- cgit v1.2.3