diff options
author | Marcel Haerry <haerry@puzzle.ch> | 2009-06-16 14:20:48 +0200 |
---|---|---|
committer | Marcel Haerry <haerry@puzzle.ch> | 2009-06-16 14:20:48 +0200 |
commit | e7e1bd007f4ac5ac324192d6e35da72ee4d6626b (patch) | |
tree | 18d129dad614f5c91d91eb466a9515aa2f727840 /manifests/vhost/file.pp | |
parent | 4e97d1e5a61f111beecaa9bc7e366d7ff567a5ef (diff) |
introduce usage of mod_macro
Diffstat (limited to 'manifests/vhost/file.pp')
-rw-r--r-- | manifests/vhost/file.pp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/manifests/vhost/file.pp b/manifests/vhost/file.pp index c31420e..bacdca5 100644 --- a/manifests/vhost/file.pp +++ b/manifests/vhost/file.pp @@ -14,7 +14,8 @@ define apache::vhost::file( $content = 'absent', $do_includes = false, $htpasswd_file = 'absent', - $htpasswd_path = 'absent' + $htpasswd_path = 'absent', + $use_mod_macro = false ){ $vhosts_dir = $operatingsystem ? { centos => "$apache::centos::config_dir/vhosts.d/", @@ -36,7 +37,10 @@ define apache::vhost::file( owner => root, group => 0, mode => 0644; } if $do_includes { - include apache::includes + include ::apache::includes + } + if $use_mod_macro { + include ::apache::mod_macro } case $content { 'absent': { |