diff options
Diffstat (limited to 'manifests/subsystems')
-rw-r--r-- | manifests/subsystems/dhclient.pp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/manifests/subsystems/dhclient.pp b/manifests/subsystems/dhclient.pp new file mode 100644 index 0000000..7c4ebf4 --- /dev/null +++ b/manifests/subsystems/dhclient.pp @@ -0,0 +1,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'), + } +} |