diff options
author | mh <mh@immerda.ch> | 2010-10-16 21:52:24 +0200 |
---|---|---|
committer | mh <mh@immerda.ch> | 2010-10-16 21:52:24 +0200 |
commit | 9c1e8330bced02c09eae75127b4689902bd9d0c6 (patch) | |
tree | 92d67ec8bd9e4cda00279d0218387a39ea860170 /manifests | |
parent | 2408b555be4021b02a7a853347a3224db8b09ac0 (diff) | |
download | puppet-lighttpd-9c1e8330bced02c09eae75127b4689902bd9d0c6.tar.gz puppet-lighttpd-9c1e8330bced02c09eae75127b4689902bd9d0c6.tar.bz2 |
create caching dir for centos
Diffstat (limited to 'manifests')
-rw-r--r-- | manifests/centos.pp | 11 | ||||
-rw-r--r-- | manifests/init.pp | 1 |
2 files changed, 12 insertions, 0 deletions
diff --git a/manifests/centos.pp b/manifests/centos.pp new file mode 100644 index 0000000..faa16e9 --- /dev/null +++ b/manifests/centos.pp @@ -0,0 +1,11 @@ +class lighttpd::centos inherits lighttpd::base { + file{ + '/var/cache/lighttpd': + ensure => directory, + require => Package['lighttpd']; + '/var/cache/lighttpd/compress': + ensure => directory, + require => Package['lighttpd'], + owner => lighttpd, group => lighttpd, mode => 0640; + } +} diff --git a/manifests/init.pp b/manifests/init.pp index 9772817..9ec22fb 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -5,6 +5,7 @@ class lighttpd { case $operatingsystem { debian,ubuntu: { include lighttpd::debian } + centos,redhat,fedora: { include lighttpd::centos } default: { include lighttpd::base } } |