Re: [Puppet Users] Overriding class parameters within Foreman

2016-02-11 Thread Felix Frank
On 02/05/2016 02:25 AM, Kyle Flavin wrote: In the example above, I'm unable to override $dhcp_dnsdomain by setting the corresponding value on the host in Foreman. It always goes with the value of $::domain. Could you describe more specifically what you are setting where? Adding a variable ca

[Puppet Users] Overriding class parameters within Foreman

2016-02-04 Thread Kyle Flavin
We're using Foreman to manage puppet. I'm trying to create a class that uses the default value of $::domain, for $dhcp_dnsdomain, unless the parameter is defined as a host parameter within Foreman. For example: class foreman_proxy ( $dhcp_dnsdomain = $::domain, $nameservers= ['