summaryrefslogtreecommitdiff
path: root/manifests/config
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/config')
-rw-r--r--manifests/config/file.pp14
1 files changed, 9 insertions, 5 deletions
diff --git a/manifests/config/file.pp b/manifests/config/file.pp
index ca1abdd..8e361f7 100644
--- a/manifests/config/file.pp
+++ b/manifests/config/file.pp
@@ -13,11 +13,15 @@ define lighttpd::config::file(
mode => '0644';
}
- file_line{$name:
- ensure => $ensure,
- path => "${lighttpd::conf_dir}/config.conf",
- line => "include \"${lighttpd::conf_dir_name}/${name}.conf\"",
- notify => Service['lighttpd'],
+ case $operatingsystem {
+ centos,redhat,fedora: {
+ file_line{$name:
+ ensure => $ensure,
+ path => "${lighttpd::conf_dir}/config.conf",
+ line => "include \"${lighttpd::conf_dir_name}/${name}.conf\"",
+ notify => Service['lighttpd'],
+ }
+ }
}
case $content {