Changeset View
Changeset View
Standalone View
Standalone View
site-modules/profile/manifests/network.pp
# Network configuration for Software Heritage servers | # Network configuration for Software Heritage servers. | ||||
# This class is enabled when the `networks` hiera variable returns a value that | |||||
# is not empty. | |||||
class profile::network { | class profile::network { | ||||
debnet::iface::loopback { 'lo': } | debnet::iface::loopback { 'lo': } | ||||
# The `networks` hiera variable is a dict mapping interface names to a | # The `networks` hiera variable is a dict mapping interface names to a | ||||
# settings dict. Entries of the settings dict with undefined values are not | # settings dict. Entries of the settings dict with undefined values are not | ||||
# output in the interface configuration. | # output in the interface configuration. | ||||
# The settings dict has the following keys: | # The settings dict has the following keys: | ||||
# - type (defaults to 'static'): the type of the interface as used by | # - type (defaults to 'static'): the type of the interface as used by | ||||
▲ Show 20 Lines • Show All 71 Lines • Show Last 20 Lines |