diff options
author | andreas <andreas@immerda.ch> | 2008-03-08 14:30:01 +0000 |
---|---|---|
committer | andreas <andreas@immerda.ch> | 2008-03-08 14:30:01 +0000 |
commit | 6f3ee56cac7162de96f1c23773c63c4f1a92170c (patch) | |
tree | bf759036ea2e97514bc651ea528b0ac70386e7c3 | |
parent | 9e3ff494ae29c94f9c4d63a69939b564ce03c088 (diff) |
default files:
1. fehlte included file default_vhost.include
2. kein richtiger default in module apache definiert
-rw-r--r-- | manifests/init.pp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 82864b1..e483117 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -122,6 +122,7 @@ define apache::vhost::file( '' => [ "apache/vhosts.d/${fqdn}/${name}.conf", "dist/apache/vhosts.d/${fqdn}/${name}.conf" + "dist/apache/vhosts.d/${name}.conf" ], default => $source, } @@ -138,6 +139,16 @@ define apache::vhost::file( } } +class apache::vhost::file::defaults { + case $operatingsystem { + gentoo: { + apache::vhost::file { '00_default_ssl_vhost': } + apache::vhost::file { '00_default_vhost': } + apache::vhost::file { 'default_vhost.include': } + } + } +} + define apache::config::file( $source = '', $destination = '' |