Resource Type: interface_properties

Defined in:
lib/puppet/type/interface_properties.rb
Providers:
interface_properties

Overview

Manage Oracle Solaris interface properties Protocol must be defined either at the interface/resource name or in the properties hash.

Preferred: name: net0 Properties: A complex hash of proto => { property => value },... { 'ipv4' => { 'mtu' => '1776' }, 'ipv6' => { 'mtu' => '2048' }, }

Old Syntax: name: net0/ipv4 Properties: A hash of property => value when Interface defines protocol { 'mtu' => '1776' }

Properties

  • ensure

    The basic property that the resource should be in.

    Supported values:
    • present
    • absent
  • properties

    A hash table of proto/propname => propvalue entries to apply to the interface OR a complex hash of { proto => { propname => propvalue },... } Values are assigned as '='; list properties must be fully specified. If proto is absent the protocol must be defined in the interface name. For proto 'ip' only the 'standby' property can be managed. See ipadm(8)

Parameters

  • name (namevar)

    The name of the interface

    Supported values:
    • /^[a-z_0-9]+[0-9]+(?:\/ipv[46]?)?$/
  • temporary

    Optional parameter that specifies changes to the interface are temporary. Changes last until the next reboot.

    Supported values:
    • true
    • false