summaryrefslogtreecommitdiff
path: root/manifests/lighty.pp
blob: 4e34f5ed6f58dd997f90877b3187dfebc1d6473f (plain)
1
2
3
4
5
6
7
8
9
10
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'];
  }
}