blob: b901d2b1bf1e9cb6f6294ef0f4c2b9b13fc4b4eb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
class dhclient(
$ensure = hiera('nodo::dhclient::manage', 'present'),
$supersede_domain = hiera('nodo::dhclient::supersede_domain', '')
) {
package { 'isc-dhcp-client':
ensure => $ensure,
}
file { '/etc/dhcp/dhclient.conf':
ensure => $ensure,
owner => root,
group => root,
mode => 0644,
require => Package['isc-dhcp-client'],
content => template('nodo/dhcp/dhclient.conf.erb'),
}
}
|