summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--manifests/centos.pp11
-rw-r--r--manifests/init.pp1
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 }
}