aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems/dhclient.pp
blob: 7c4ebf49bafb52cc28f9839a5f0e58ecefa85495 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
class dhclient {
  package { 'isc-dhcp-client':
    ensure => present,
  }

  file { '/etc/dhcp/dhclient.conf':
    ensure  => present,
    owner   => root,
    group   => root,
    mode    => 0644,
    require => Package['isc-dhcp-client'],
    content => template('nodo/dhcp/dhclient.conf.erb'),
  }
}