Skip to content

Commit

Permalink
Fixes #25591 - Remove $use_ranges from infoblox dhcp
Browse files Browse the repository at this point in the history
This parameter was removed in smart_proxy_dhcp_infobox 0.0.12.
  • Loading branch information
ekohl authored and mmoll committed Dec 15, 2018
1 parent 2977d3a commit 2973ea9
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
3 changes: 0 additions & 3 deletions manifests/plugin/dhcp/infoblox.pp
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@
#
# $record_type:: Record type to manage
#
# $use_ranges:: Use pre-definded ranges in networks to find available IP's
#
# $dns_view:: The DNS view to use
#
# $network_view:: The network view to use
Expand All @@ -20,7 +18,6 @@
String $username = undef,
String $password = undef,
Enum['host', 'fixedaddress'] $record_type = 'fixedaddress',
Boolean $use_ranges = false,
String $dns_view = 'default',
String $network_view = 'default',
) {
Expand Down
3 changes: 0 additions & 3 deletions spec/classes/foreman_proxy__plugin__dhcp__infoblox_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,6 @@
':username: "admin"',
':password: "infoblox"',
':record_type: "fixedaddress"',
':use_ranges: false',
':dns_view: "default"',
':network_view: "default"',
])
Expand All @@ -41,7 +40,6 @@
{
:username => 'admin',
:password => 'infoblox',
:use_ranges => true,
:record_type => 'host',
:dns_view => 'non-default',
:network_view => 'another-non-default',
Expand All @@ -54,7 +52,6 @@
':username: "admin"',
':password: "infoblox"',
':record_type: "host"',
':use_ranges: true',
':dns_view: "non-default"',
':network_view: "another-non-default"',
])
Expand Down
5 changes: 0 additions & 5 deletions templates/plugin/dhcp_infoblox.yml.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,5 @@
# Record type to manage: can be "host" or "fixedaddress"
#
:record_type: "<%= scope.lookupvar('::foreman_proxy::plugin::dhcp::infoblox::record_type') %>"
#
# Use pre-definded ranges in networks to find available IP's
#
:use_ranges: <%= scope.lookupvar('::foreman_proxy::plugin::dhcp::infoblox::use_ranges') %>

:dns_view: "<%= scope.lookupvar('::foreman_proxy::plugin::dhcp::infoblox::dns_view') %>"
:network_view: "<%= scope.lookupvar('::foreman_proxy::plugin::dhcp::infoblox::network_view') %>"

0 comments on commit 2973ea9

Please sign in to comment.