Puppet Data Type Alias: Netbase::Service

Defined in:
modules/netbase/types/service.pp

Summary

This structure is used to represent service definitions across our infrastructre it has been designed to be mostly compatible with the values data present in /etc/services however also addes some additional flexibility namely a portend parameter so we can represent port ranges

Overview

SPDX-License-Identifier: Apache-2.0 Im not sure if puppet-strings pares params fore types but still useful to stick to the convention

Alias of

Struct[{
    protocols   => Array[Enum['udp', 'tcp']],
    port        => Stdlib::Port,
    portend     => Optional[Stdlib::Port],
    description => Optional[String[1]],
    aliases     => Optional[Array[Pattern[/\w+/]]],
}]


# File 'modules/netbase/types/service.pp', line 17