summaryrefslogtreecommitdiff
path: root/manifests
diff options
context:
space:
mode:
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'];
+ }
+}