aboutsummaryrefslogtreecommitdiff
path: root/manifests/subsystems
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/subsystems')
-rw-r--r--manifests/subsystems/dhclient.pp9
1 files changed, 6 insertions, 3 deletions
diff --git a/manifests/subsystems/dhclient.pp b/manifests/subsystems/dhclient.pp
index 7c4ebf4..b901d2b 100644
--- a/manifests/subsystems/dhclient.pp
+++ b/manifests/subsystems/dhclient.pp
@@ -1,10 +1,13 @@
-class dhclient {
+class dhclient(
+ $ensure = hiera('nodo::dhclient::manage', 'present'),
+ $supersede_domain = hiera('nodo::dhclient::supersede_domain', '')
+) {
package { 'isc-dhcp-client':
- ensure => present,
+ ensure => $ensure,
}
file { '/etc/dhcp/dhclient.conf':
- ensure => present,
+ ensure => $ensure,
owner => root,
group => root,
mode => 0644,