Puppet Function: netbase::service

Defined in:
modules/netbase/functions/service.pp
Function type:
Puppet Language

Summary

function to return a hash of service definitions

Overview

netbase::service(String[1] $filter)Optional[Netbase::Service]

SPDX-License-Identifier: Apache-2.0

Parameters:

  • filter (String[1])

    the name of the service to return

Returns:

  • (Optional[Netbase::Service])


4
5
6
7
8
9
# File 'modules/netbase/functions/service.pp', line 4

function netbase::service (
    String[1] $filter
) >> Optional[Netbase::Service] {
    include netbase
    $netbase::all_services[$filter]
}