summaryrefslogtreecommitdiff
path: root/manifests/vhosts.pp
blob: f84238c1ec00190bbfd9f702ef26223f5a5337b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class lighttpd::vhosts {
  file{'/etc/lighttpd/vhosts.d':
    source => "puppet:///modules/common/empty",
    ensure => directory,
    purge => true,
    recurse => true,
    require => Package['lighttpd'],
    notify => Service['lighttpd'],
    owner => root, group => 0, mode => 0644;
  }

  file{'/var/www/vhosts':
    ensure => directory,
    require => Package['lighttpd'],
    owner => root, group => 0, mode => 0644;
  }
}