Puppet Class: profile::netbox::data

Defined in:
modules/profile/manifests/netbox/data.pp

Summary

profile to load and access common netbox data

Overview

SPDX-License-Identifier: Apache-2.0

Parameters:

  • mgmt (Hash[Stdlib::Host, Netbox::Device]) (defaults to: lookup('profile::netbox::data::mgmt'))

    hash of managment hosts

  • network_devices (Hash[String[3], Netbox::Device::Network]) (defaults to: lookup('profile::netbox::data::network_devices'))

    hash of network_devices

  • prefixes (Hash[Stdlib::IP::Address, Netbox::Prefix]) (defaults to: lookup('profile::netbox::data::prefixes'))

    hash of prefixes



6
7
8
9
10
11
12
13
# File 'modules/profile/manifests/netbox/data.pp', line 6

class profile::netbox::data (
    # TODO: if this becomes to much data we should restrict what we load
    Hash[Stdlib::Host, Netbox::Device]        $mgmt            = lookup('profile::netbox::data::mgmt'),
    Hash[String[3], Netbox::Device::Network]  $network_devices = lookup('profile::netbox::data::network_devices'),
    Hash[Stdlib::IP::Address, Netbox::Prefix] $prefixes        = lookup('profile::netbox::data::prefixes'),
) {
    requires_realm('production')
}