summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
authorAntoine Beaupre <anarcat@koumbit.org>2009-06-24 15:13:16 -0400
committerAntoine Beaupre <anarcat@koumbit.org>2009-06-24 15:13:16 -0400
commite8445ce12b9174eeea071939af4a17177ebc89ce (patch)
tree82ee9ee1882efe6da159071f04798d5b1f3bba77 /manifests
parent54acfd5febac57db6a03798402585906773d209e (diff)
downloadpuppet-reprepro-e8445ce12b9174eeea071939af4a17177ebc89ce.tar.gz
puppet-reprepro-e8445ce12b9174eeea071939af4a17177ebc89ce.tar.bz2
add lighttpd support
Diffstat (limited to 'manifests')
-rw-r--r--manifests/lighty.pp11
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'];
+ }
+}