feat: enable use of dhcp addresses in networkd (#273)
- change ipaddress to be optional - add dhcp option Reviewed-on: https://git.query.consul/unkinben/puppet-prod/pulls/273
This commit was merged in pull request #273.
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
# manage static interfaces
|
||||
define networking::static (
|
||||
String $type,
|
||||
Stdlib::IP::Address $ipaddress,
|
||||
Stdlib::IP::Address $netmask = '255.255.255.0',
|
||||
Integer[100-9200] $mtu = 1500,
|
||||
Boolean $dhcp = false,
|
||||
Optional[Boolean] $forwarding = false,
|
||||
Optional[Stdlib::IP::Address] $ipaddress = undef,
|
||||
Optional[Stdlib::IP::Address] $gateway = undef,
|
||||
Optional[Array[Stdlib::IP::Address]] $dns = undef,
|
||||
Optional[Array[Stdlib::Fqdn]] $domains = undef,
|
||||
|
||||
Reference in New Issue
Block a user