Skip to content
This repository was archived by the owner on Nov 11, 2021. It is now read-only.

Commit 9ebd4e4

Browse files
committed
Added example for vlan interface configuration Fix #315
1 parent c930953 commit 9ebd4e4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

manifests/interface.pp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,16 @@
250250
# parameter.The Red Hat Enterprise Linux (7 )installation program currently
251251
# uses this to configure the layer mode (layer2) and the relative port
252252
# number (portno) of qeth devices.
253+
#
254+
# @example Configure a vlan interface:
255+
#
256+
# network::interface { 'ens18.252':
257+
# method => 'static',
258+
# ipaddress => '10.10.10.10',
259+
# netmask => '255.255.255.0',
260+
# type => 'vlan',
261+
# }
262+
#
253263
define network::interface (
254264

255265
$enable = true,

0 commit comments

Comments
 (0)