File tree Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Expand file tree Collapse file tree 2 files changed +32
-0
lines changed Original file line number Diff line number Diff line change @@ -46,6 +46,20 @@ dhcp::pools:
4646 range :
4747 - " 139.229.161.40 139.229.161.42"
4848 search_domains : " %{alias('dhcp::dnsdomain')}"
49+ MERKEN-FQDN :
50+ network : " 139.229.161.64"
51+ mask : " 255.255.255.240"
52+ gateway : " 139.229.161.78"
53+ range :
54+ - " 139.229.161.65 139.229.161.75"
55+ search_domains : " %{alias('dhcp::dnsdomain')}"
56+ MERKEN-METALLB :
57+ network : " 139.229.161.80"
58+ mask : " 255.255.255.224"
59+ gateway : " 139.229.161.110"
60+ range :
61+ - " 139.229.161.81 139.229.161.107"
62+ search_domains : " %{alias('dhcp::dnsdomain')}"
4963 IT-BMC :
5064 network : " 139.229.162.0"
5165 mask : " 255.255.255.0"
Original file line number Diff line number Diff line change 362362 gateway : '10.18.5.254'
363363 )
364364 end
365+
366+ it do
367+ is_expected . to contain_dhcp__pool ( 'MERKEN-FQDN' ) . with (
368+ network : '139.229.161.64' ,
369+ mask : '255.255.255.240' ,
370+ range : [ '139.229.161.65 139.229.161.75' ] ,
371+ gateway : '139.229.161.78'
372+ )
373+ end
374+
375+ it do
376+ is_expected . to contain_dhcp__pool ( 'MERKEN-METALLB' ) . with (
377+ network : '139.229.161.80' ,
378+ mask : '255.255.255.224' ,
379+ range : [ '139.229.161.81 139.229.161.107' ] ,
380+ gateway : '139.229.161.110'
381+ )
382+ end
365383 end # on os
366384 end # on_supported_os
367385end # role
You can’t perform that action at this time.
0 commit comments