Puppet Class: profile::base::netbase

Defined in:
modules/profile/manifests/base/netbase.pp

Overview

Parameters:

  • manage_etc_services (Boolean) (defaults to: lookup('profile::base::netbase::manage_etc_services'))
  • extra_services (Hash[String,Netbase::Service]) (defaults to: lookup('profile::base::netbase::extra_services'))


1
2
3
4
5
6
7
8
9
10
11
12
# File 'modules/profile/manifests/base/netbase.pp', line 1

class profile::base::netbase(
    Boolean                       $manage_etc_services = lookup('profile::base::netbase::manage_etc_services'),
    Hash[String,Netbase::Service] $extra_services      = lookup('profile::base::netbase::extra_services'),
) {
    # Need to create a function which parse the service catalogue to create a hash of
    # service definitions to pass to netbase
    $services = $extra_services # + wmflib::get_service_definitions()
    class {'netbase':
        services            => $services,
        manage_etc_services => $manage_etc_services,
    }
}