diff options
Diffstat (limited to 'manifests')
| -rw-r--r-- | manifests/init.pp | 1 | ||||
| -rw-r--r-- | manifests/subsystems/dhclient.pp | 14 | 
2 files changed, 15 insertions, 0 deletions
| diff --git a/manifests/init.pp b/manifests/init.pp index 1d4006b..a4a94fa 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -79,6 +79,7 @@ import "subsystems/profile.pp"  import "subsystems/schroot.pp"  import "subsystems/resolver.pp"  import "subsystems/domain.pp" +import "subsystems/dhclient.pp"  import "subsystems/utils.pp"  import "subsystems/utils/debian.pp"  import "subsystems/utils/desktop.pp" 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'), +  } +} | 
