diff options
Diffstat (limited to 'manifests/centos.pp')
-rw-r--r-- | manifests/centos.pp | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp index faa16e9..aa2bc1c 100644 --- a/manifests/centos.pp +++ b/manifests/centos.pp @@ -1,11 +1,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, - require => Package['lighttpd']; + ensure => directory; '/var/cache/lighttpd/compress': - ensure => directory, - require => Package['lighttpd'], - owner => lighttpd, group => lighttpd, mode => 0640; + ensure => directory, + owner => 'lighttpd', + group => 'lighttpd', + mode => '0640'; } } |