diff --git a/manifests/vhost.pp b/manifests/vhost.pp index 36b94338c..2d1d3d261 100644 --- a/manifests/vhost.pp +++ b/manifests/vhost.pp @@ -242,6 +242,10 @@ validate_re($fallbackresource, '^/|disabled', 'Please make sure fallbackresource starts with a / (or is "disabled")') } + if $custom_fragment { + validate_string($custom_fragment) + } + if $ssl and $ensure == 'present' { include ::apache::mod::ssl # Required for the AddType lines.