diff options
author | Marcel Haerry <haerry@puzzle.ch> | 2009-05-26 15:08:17 +0200 |
---|---|---|
committer | Marcel Haerry <haerry@puzzle.ch> | 2009-05-26 15:08:26 +0200 |
commit | 3d77aa1b26b01a15f8335ed5741b3e99352f73da (patch) | |
tree | 44aa446e4b8f07dc37cd9291ac2726b93217e495 /manifests/vhost/php | |
parent | b232a1df036ae44237586ae565e25e5b69f1da0c (diff) |
only enable smarty when told to
and include smarty then
Diffstat (limited to 'manifests/vhost/php')
-rw-r--r-- | manifests/vhost/php/standard.pp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/manifests/vhost/php/standard.pp b/manifests/vhost/php/standard.pp index fcca6cd..461c85a 100644 --- a/manifests/vhost/php/standard.pp +++ b/manifests/vhost/php/standard.pp @@ -24,6 +24,7 @@ define apache::vhost::php::standard( $allow_override = 'None', $php_upload_tmp_dir = 'absent', $php_session_save_path = 'absent', + $php_use_smarty = false, $do_includes = false, $options = 'absent', $additional_options = 'absent', @@ -48,6 +49,10 @@ define apache::vhost::php::standard( run_uid => $run_uid, } + if $php_use_smarty { + include php::extensions::smarty + } + if $manage_webdir { # create webdir ::apache::vhost::webdir{$name: |