Resource Type: nic
- Defined in:
- lib/puppet/type/nic.rb
- Providers:
-
v1
Overview
Type representing a ProfitBricks network interface.
Properties
-
datacenter_id
The ID of the virtual data center where the NIC will reside.
-
datacenter_name
The name of the virtual data center where the NIC will reside.
-
dhcp
(defaults to: false)
Enable or disable DHCP on the NIC.
Supported values:- true
- false
-
ensure
(defaults to: present)
The basic property that the resource should be in.
Supported values:- present
- absent
-
firewall_active
(defaults to: false)
Indicates the firewall is active.
Supported values:- true
- false
-
firewall_rules
A list of firewall rules associated to the NIC.
-
ips
The IPs assigned to the NIC.
-
lan
The LAN name the NIC will sit on.
-
nat
(defaults to: false)
A boolean which indicates if the NIC will perform Network Address Translation.
Supported values:- true
- false
-
server_id
The server ID the NIC will be attached to.
-
server_name
The server name the NIC will be attached to.
Parameters
-
name (namevar)
The name of the NIC.
-
provider
The specific backend to use for this ‘nic` resource. You will seldom need to specify this — Puppet will usually discover the appropriate provider for your platform.