diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2012-11-28 00:22:28 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2012-11-28 00:22:28 -0200 |
commit | 36b821022fde2d3efafac99264b47745463086ed (patch) | |
tree | 8a8b7360442e73e2afc35280bcae83630301dabd /manifests/subsystems | |
parent | ef621e978bbd54e35e72ca3f0cbbe624e02323ca (diff) | |
download | puppet-nodo-36b821022fde2d3efafac99264b47745463086ed.tar.gz puppet-nodo-36b821022fde2d3efafac99264b47745463086ed.tar.bz2 |
Adding dhclient class
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'), + } +} |