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

Commit

Permalink
Added example for vlan interface configuration Fix #315
Browse files Browse the repository at this point in the history
  • Loading branch information
alvagante committed Jul 26, 2020
1 parent c930953 commit 9ebd4e4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions manifests/interface.pp
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,16 @@
# parameter.The Red Hat Enterprise Linux (7 )installation program currently
# uses this to configure the layer mode (layer2) and the relative port
# number (portno) of qeth devices.
#
# @example Configure a vlan interface:
#
# network::interface { 'ens18.252':
# method => 'static',
# ipaddress => '10.10.10.10',
# netmask => '255.255.255.0',
# type => 'vlan',
# }
#
define network::interface (

$enable = true,
Expand Down

0 comments on commit 9ebd4e4

Please sign in to comment.