diff --git a/manifests/package/suse.pp b/manifests/package/suse.pp index 9c908f9..6e6bd54 100644 --- a/manifests/package/suse.pp +++ b/manifests/package/suse.pp @@ -15,15 +15,15 @@ # Sample Usage: # # This class file is not called directly -class nginx::package::suse { +class nginx::package::suse ( + $package_name = 'nginx' +) { if $caller_module_name != $module_name { warning("${name} is deprecated as a public API of the ${module_name} module and should no longer be directly included in the manifest.") } - $suse_packages = ['nginx'] - - package { $suse_packages: + package { $package_name: ensure => $nginx::package_ensure, } } diff --git a/templates/conf.d/proxy.conf.erb b/templates/conf.d/proxy.conf.erb index 640061a..aa473f5 100644 --- a/templates/conf.d/proxy.conf.erb +++ b/templates/conf.d/proxy.conf.erb @@ -6,7 +6,7 @@ proxy_send_timeout <%= @proxy_send_timeout %>; proxy_read_timeout <%= @proxy_read_timeout %>; proxy_buffers <%= @proxy_buffers %>; proxy_buffer_size <%= @proxy_buffer_size %>; -proxy_http_version <%= @proxy_http_version %>; +<%# proxy_http_version <%= @proxy_http_version %><%#; %> <% @proxy_set_header.each do |header| %> proxy_set_header <%= header %>;<% end %> proxy_headers_hash_bucket_size <%= @proxy_headers_hash_bucket_size %>; diff --git a/templates/vhost/fastcgi_params.erb b/templates/vhost/fastcgi_params.erb index fe8bc20..fb6b2a6 100644 --- a/templates/vhost/fastcgi_params.erb +++ b/templates/vhost/fastcgi_params.erb @@ -21,7 +21,7 @@ fastcgi_param SERVER_ADDR $server_addr; fastcgi_param SERVER_PORT $server_port; fastcgi_param SERVER_NAME $server_name; -fastcgi_param HTTPS $https; +<%# fastcgi_param HTTPS $https; %> # PHP only, required if PHP was built with --enable-force-cgi-redirect fastcgi_param REDIRECT_STATUS 200;