diff --git a/manifests/custom_service.pp b/manifests/custom_service.pp index 48580610..98263a3d 100644 --- a/manifests/custom_service.pp +++ b/manifests/custom_service.pp @@ -38,6 +38,7 @@ Enum['ipv4', 'ipv6'], String ]] $destination = undef, + Optional[Array[String]] $protocols = undef, String $filename = $short, Stdlib::Unixpath $config_dir = '/etc/firewalld/services', Enum['present','absent'] $ensure = 'present', @@ -47,6 +48,7 @@ 'short' => $short, 'description' => $description, 'ports' => $port, + 'protocols' => $protocols, 'modules' => $module, 'ipv4_destination' => $destination.dig('ipv4'), 'ipv6_destination' => $destination.dig('ipv6'),