diff options
author | andreas <andreas@immerda.ch> | 2008-03-08 16:43:52 +0000 |
---|---|---|
committer | andreas <andreas@immerda.ch> | 2008-03-08 16:43:52 +0000 |
commit | ccc8d2cc9b11710d1d419c8ff8265fad80bbde5c (patch) | |
tree | 2704c05467662d291bc556180196da9a8546296f | |
parent | 18394fa6e8a3aa88887374dfe61c0444caa77c29 (diff) |
* falscher pfad
* fehlende puppet://
-rw-r--r-- | manifests/init.pp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/manifests/init.pp b/manifests/init.pp index 1bcd8d4..3967cc3 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -83,7 +83,10 @@ class apache::gentoo inherits apache::base { } apache::vhost::file { '00_default_ssl_vhost': } apache::vhost::file { '00_default_vhost': } - apache::config::file { 'default_vhost.include': destination => '$config_dir/vhosts.d/default_vhost.include' } + apache::config::file { 'default_vhost.include': + source => 'apache/vhosts.d/default_vhost.include', + destination => '$config_dir/vhosts.d/default_vhost.include', + } } class apache::debian inherits apache::base { @@ -127,7 +130,7 @@ define apache::vhost::file( "puppet://$server/dist/apache/vhosts.d/${name}.conf", "puppet://$server/apache/vhosts.d/${fqdn}/${name}.conf" ], - default => $source, + default => "puppet://$server/$source", } file{"vhost_${name}.conf": @@ -155,7 +158,7 @@ define apache::config::file( "puppet://$server/apache/conf/${name}.${operatingsystem}", "puppet://$server/apache/conf/${name}.Default" ], - default => $source, + default => "puppet://$server/$source", } $real_destination = $destination ? { |