summaryrefslogtreecommitdiff
path: root/manifests/centos.pp
blob: aa2bc1cd6ab04e80d4ce4d9a71b3557547907dfe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# manage centos specific things for
# lighttpd
class lighttpd::centos inherits lighttpd::base {
  File{
    require => Package['lighttpd'],
    before  => Service['lighttpd'],
  }
  file{
    "${lighttpd::conf_dir}/config.conf":
      ensure  => file,
      owner   => 'root',
      group   => 0,
      mode    => '0644';
    '/var/cache/lighttpd':
      ensure  => directory;
    '/var/cache/lighttpd/compress':
      ensure  => directory,
      owner   => 'lighttpd',
      group   => 'lighttpd',
      mode    => '0640';
  }
}