Resource Type: vlan
Included in Puppet Enterprise 2016.1. A newer version is available; see the version menu above for details.
NOTE: This page was generated from the Puppet source code on 2016-03-16 18:28:11 -0700
vlan
Description
Manages a VLAN on a router or switch.
Attributes
vlan { 'resource title':
name => # (namevar) The numeric VLAN ID. Values can match...
ensure => # The basic property that the resource should be...
description => # The VLAN's...
device_url => # The URL of the router or switch maintaining this
provider => # The specific backend to use for this `vlan...
# ...plus any applicable metaparameters.
}
name
(Namevar: If omitted, this attribute’s value defaults to the resource’s title.)
The numeric VLAN ID.
Values can match /^\d+/
.
ensure
(Property: This attribute represents concrete state on the target system.)
The basic property that the resource should be in.
Valid values are present
, absent
.
description
(Property: This attribute represents concrete state on the target system.)
The VLAN’s name.
device_url
The URL of the router or switch maintaining this VLAN.
provider
The specific backend to use for this vlan
resource. You will seldom need to specify this — Puppet will usually
discover the appropriate provider for your platform.
Available providers are:
Providers
cisco
Cisco switch/router provider for vlans.
NOTE: This page was generated from the Puppet source code on 2016-03-16 18:28:11 -0700