From 63dd04279c5987ccb6fb7121efc12531637043df Mon Sep 17 00:00:00 2001 From: Ewoud Kohl van Wijngaarden Date: Tue, 29 Jan 2019 18:05:59 +0100 Subject: [PATCH] Allow passing in arbitrary DHCP pool options --- manifests/proxydhcp.pp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manifests/proxydhcp.pp b/manifests/proxydhcp.pp index 3aeb2f05..af1771e2 100644 --- a/manifests/proxydhcp.pp +++ b/manifests/proxydhcp.pp @@ -1,5 +1,7 @@ # Configure the DHCP component -class foreman_proxy::proxydhcp { +class foreman_proxy::proxydhcp( + Hash[String, Any] $pool_options = {}, +) { # puppet fact names are converted from ethX.X and ethX:X to ethX_X # so for alias and vlan interfaces we have to modify the name accordingly $interface_fact_name = regsubst($foreman_proxy::dhcp_interface, '[.:]', '_') @@ -47,6 +49,7 @@ gateway => $foreman_proxy::dhcp_gateway, search_domains => $foreman_proxy::dhcp_search_domains, failover => $failover, + * => $pool_options, }