Project

General

Profile

« Previous | Next » 

Revision f9b886b9

Added by Lorenz Bischof about 8 years ago

Add dhcp_search_domains parameter

View differences:

spec/classes/foreman_proxy__proxydhcp__spec.rb
) end
end
context "with dhcp_search_domains" do
let :facts do
default_facts.merge({:ipaddress_eth0 => '127.0.1.1',
:netmask_eth0 => '255.0.0.0',
:network_eth0 => '127.0.0.0'})
end
let :pre_condition do
"class {'foreman_proxy':
dhcp_range => false,
dhcp_gateway => '127.0.0.254',
dhcp_search_domains => ['example.com', 'example.org']
}"
end
it do should contain_dhcp__pool('example.com').with(
'search_domains' => ['example.com','example.org']
) end
end
end
end
end

Also available in: Unified diff