From 318750d553d1034490bbd3ed8b1be097e4be3857 Mon Sep 17 00:00:00 2001 From: Matthew Haughton <3flex@users.noreply.github.com> Date: Thu, 23 Oct 2014 13:13:40 -0400 Subject: [PATCH] vhost: make port parameter defaults integers Fixes test failure for code introduced in abe4b495 --- manifests/resource/vhost.pp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifests/resource/vhost.pp b/manifests/resource/vhost.pp index 79a2af9..9c80a46 100644 --- a/manifests/resource/vhost.pp +++ b/manifests/resource/vhost.pp @@ -150,13 +150,13 @@ define nginx::resource::vhost ( $ensure = 'present', $listen_ip = '*', - $listen_port = '80', + $listen_port = 80, $listen_options = undef, $location_allow = [], $location_deny = [], $ipv6_enable = false, $ipv6_listen_ip = '::', - $ipv6_listen_port = '80', + $ipv6_listen_port = 80, $ipv6_listen_options = 'default ipv6only=on', $add_header = undef, $ssl = false, @@ -164,7 +164,7 @@ define nginx::resource::vhost ( $ssl_cert = undef, $ssl_dhparam = undef, $ssl_key = undef, - $ssl_port = '443', + $ssl_port = 443, $ssl_protocols = 'TLSv1 TLSv1.1 TLSv1.2', $ssl_ciphers = 'HIGH:!aNULL:!MD5', $ssl_cache = 'shared:SSL:10m',