summaryrefslogtreecommitdiff
path: root/manifests/dhcp.pp
diff options
context:
space:
mode:
Diffstat (limited to 'manifests/dhcp.pp')
-rw-r--r--manifests/dhcp.pp12
1 files changed, 12 insertions, 0 deletions
diff --git a/manifests/dhcp.pp b/manifests/dhcp.pp
new file mode 100644
index 0000000..b1de2c4
--- /dev/null
+++ b/manifests/dhcp.pp
@@ -0,0 +1,12 @@
+class resolvconf::dhcp(
+ $tail,
+)
+{
+ package { 'resolvconf': ensure => installed, }
+ if $tail {
+ file { '/etc/resolvconf/resolv.conf.d/tail':
+ content => $tail,
+ require => Package['resolvconf'],
+ }
+ }
+}