changeset 288:be66955bf27d

Fix another optional argument Type safety is hard!
author IBBoard <dev@ibboard.co.uk>
date Sun, 16 Feb 2020 20:11:00 +0000
parents 97e732f67770
children 386881985a35
files modules/website/manifests/init.pp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/modules/website/manifests/init.pp	Sun Feb 16 19:55:29 2020 +0000
+++ b/modules/website/manifests/init.pp	Sun Feb 16 20:11:00 2020 +0000
@@ -2,7 +2,7 @@
   Pattern[/^(\/[^\/]+)*$/] $base_dir,
   Pattern[/^(\/[^\/]+)*$/] $cert_dir           = '/etc/pki/custom',
   Stdlib::IP::Address $primary_ip,
-  Stdlib::IP::Address::V6 $proxy_4to6_ip_prefix = undef,
+  Optional[Stdlib::IP::Address::V6] $proxy_4to6_ip_prefix = undef,
   Optional[Integer] $proxy_4to6_mask = undef,
   Array[Stdlib::IP::Address::V6] $proxy_4to6_addresses = [],
   Optional[Array] $proxy_upstream = undef,