diff options
author | mh <mh@immerda.ch> | 2012-10-21 15:09:35 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2012-10-21 15:09:35 +0200 |
commit | 94b99fef7a85d9165b40e2dc01c5617824330826 (patch) | |
tree | 43b1ffe6d6015b92e60d3f78bb7304919d7de0ee /manifests/centos.pp | |
parent | e293b5be988133c04c2611ca6f5b1ab974c8d8f1 (diff) | |
download | puppet-lighttpd-94b99fef7a85d9165b40e2dc01c5617824330826.tar.gz puppet-lighttpd-94b99fef7a85d9165b40e2dc01c5617824330826.tar.bz2 |
this include construct is only needed on centos systems
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'; } } |