diff options
author | Antoine Beaupre <anarcat@koumbit.org> | 2009-06-24 15:13:16 -0400 |
---|---|---|
committer | Antoine Beaupre <anarcat@koumbit.org> | 2009-06-24 15:13:16 -0400 |
commit | e8445ce12b9174eeea071939af4a17177ebc89ce (patch) | |
tree | 82ee9ee1882efe6da159071f04798d5b1f3bba77 /manifests/lighty.pp | |
parent | 54acfd5febac57db6a03798402585906773d209e (diff) | |
download | puppet-reprepro-e8445ce12b9174eeea071939af4a17177ebc89ce.tar.gz puppet-reprepro-e8445ce12b9174eeea071939af4a17177ebc89ce.tar.bz2 |
add lighttpd support
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']; + } +} |