summaryrefslogtreecommitdiff
path: root/manifests/init.pp
diff options
context:
space:
mode:
authorandreas <andreas@immerda.ch>2008-04-29 08:30:13 +0000
committerandreas <andreas@immerda.ch>2008-04-29 08:30:13 +0000
commit3baa2ec37bae0c9fe0660936eaffa8aaf715c5d6 (patch)
tree4b807b66fc2ba56327010b2b3c9b99c678b64d4f /manifests/init.pp
parent98450dcb5690df65c5ffda008a1831c06ea98796 (diff)
default ServerName template
Diffstat (limited to 'manifests/init.pp')
-rw-r--r--manifests/init.pp13
1 files changed, 13 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp
index 4850615..1e02fef 100644
--- a/manifests/init.pp
+++ b/manifests/init.pp
@@ -117,7 +117,20 @@ class apache::gentoo inherits apache::base {
source => "apache/vhosts.d/default_vhost.include",
destination => "$config_dir/vhosts.d/default_vhost.include",
}
+
apache::module::file { '00_default_settings': }
+ apache::module::file { '00_error_documents': }
+
+ # to set the default for the ServerName
+ file { '00_default_settings_ServerName.conf':
+ path => '$modules_dir/00_default_settings_ServerName.conf',
+ ensure => file,
+ owner => 'root',
+ group => 0,
+ mode => 644,
+ require => Package[apache],
+ content => template('apache/modules_dir_00_default_settings_ServerName.conf.erb'),
+ }
}
class apache::debian inherits apache::base {