From 400add98326c8664db71a3138b0ec7b2948fb2e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= Date: Fri, 17 Jul 2015 13:42:10 -0400 Subject: allow appending arbitrary stuff to the resolv.conf this is useful in Linux to add an 'options' line --- manifests/init.pp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'manifests') diff --git a/manifests/init.pp b/manifests/init.pp index c85b959..28e2fec 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -18,7 +18,8 @@ class resolvconf( $nameservers = [ '77.109.138.45', '77.109.139.29', - ] + ], + $options, ) { $content = $::operatingsystem ? { openbsd => template("resolvconf/resolvconf.${::operatingsystem}.erb"), -- cgit v1.2.3