From 3baa2ec37bae0c9fe0660936eaffa8aaf715c5d6 Mon Sep 17 00:00:00 2001 From: andreas Date: Tue, 29 Apr 2008 08:30:13 +0000 Subject: default ServerName template --- manifests/init.pp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'manifests/init.pp') 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 { -- cgit v1.2.3