diff options
Diffstat (limited to 'manifests/vhost')
-rw-r--r-- | manifests/vhost/php/standard.pp | 5 | ||||
-rw-r--r-- | manifests/vhost/template.pp | 1 |
2 files changed, 6 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: diff --git a/manifests/vhost/template.pp b/manifests/vhost/template.pp index 07429a2..ccc4538 100644 --- a/manifests/vhost/template.pp +++ b/manifests/vhost/template.pp @@ -29,6 +29,7 @@ define apache::vhost::template( $options = 'absent', $additional_options = 'absent', $default_charset = 'absent', + $php_use_smarty = false, $run_mode = 'normal', $run_uid = 'absent', $run_gid = 'absent', |