vhost: make port parameter defaults integers

Fixes test failure for code introduced in abe4b495
This commit is contained in:
Matthew Haughton 2014-10-23 13:13:40 -04:00
parent b5d050719b
commit 318750d553

View file

@ -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',