foreman_discovery 26.1.5 → 26.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 3ddb46b8dc521ac60448107f7dd8add6a7961447be828389d1d484ee964ea889
4
- data.tar.gz: 83dcfda1675d856a4a0509102b9ba9534824433aeef45f39348b6550426de5f4
3
+ metadata.gz: db9a40b5eced1c71a3724f822961f21e18ec8f785da702eb3ec9618bfb5ac68a
4
+ data.tar.gz: 44e6f535f5c82c87dcbd66283cd7c2184b39279bd9280946b0ff59a4d9e6b397
5
5
  SHA512:
6
- metadata.gz: a0e88df4ca487f357de26cf637f599ff8e47d3b9fe8e73fcec223845091c8f7a0ec412ff114f8076dbd2143d56e0bb78c06c7f50d0849fdf3646a8cad6c25273
7
- data.tar.gz: 31bb82e5dbd001e8fe2731b6d9c57b79851b0c2b1594e39b5f59a1eadb940e62a24a56f9e3648c11f0039246eef01e78147cbad0a06c8ec40b045a8d3dd8082b
6
+ metadata.gz: dd5dda0f43e6173fefbfaf295b9da9d6ba5c6b4d4099aee461796616da9f6a57fd6fa2d74724cd397f16069387cf479f9bb4a501083ceccbb684a71bfcbae2c8
7
+ data.tar.gz: 10dfc2528a92aacc77c741b6a1d623912ba9592f37625c819be6e8f5993037780e1fe3713528a470b3617f76df070d2824eacaa72ef3681159f9552fc5709699
@@ -1,2 +1,2 @@
1
1
  f = Feature.unscoped.where(:name => 'Discovery').first_or_create
2
- raise "Unable to create proxy feature: #{format_errors f}" if f.nil? || f.errors.any?
2
+ raise "Unable to create proxy feature: #{SeedHelper.format_errors(f)}" if f.nil? || f.errors.any?
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "26.1.5"
2
+ VERSION = "26.2.0"
3
3
  end
@@ -238,8 +238,8 @@ class DiscoveredExtensionsTest < ActiveSupport::TestCase
238
238
  ::ForemanDiscovery::HostConverter.unstub(:unused_ip_for_host)
239
239
  facts = @facts_ipv6.merge({"somefact" => "abc"})
240
240
  domain = FactoryBot.create(:domain)
241
- subnet = FactoryBot.create(:subnet_ipv6, :tftp, :dhcp, :network => "2001:db8::/32", :mask => "ffff:ffff::", :name => "ipv6_discovered", :ipam => IPAM::MODES[:eui64], :organizations => [Organization.find_by_name("Organization 1")], :locations => [Location.find_by_name("Location 1")])
242
- subnet2 = FactoryBot.create(:subnet_ipv6, :tftp, :dhcp, :network => "2001:db9::/32", :mask => "ffff:ffff::", :name => "ipv6_provision", :ipam => IPAM::MODES[:eui64], :organizations => [Organization.find_by_name("Organization 1")], :locations => [Location.find_by_name("Location 1")])
241
+ subnet = FactoryBot.create(:subnet_ipv6, :tftp, :dhcp, :network => "2001:db8::", :mask => "ffff:ffff::", :name => "ipv6_discovered", :ipam => IPAM::MODES[:eui64], :organizations => [Organization.find_by_name("Organization 1")], :locations => [Location.find_by_name("Location 1")])
242
+ subnet2 = FactoryBot.create(:subnet_ipv6, :tftp, :dhcp, :network => "2001:db9::", :mask => "ffff:ffff::", :name => "ipv6_provision", :ipam => IPAM::MODES[:eui64], :organizations => [Organization.find_by_name("Organization 1")], :locations => [Location.find_by_name("Location 1")])
243
243
  host = discover_host_from_facts(facts)
244
244
  assert_equal subnet, host.subnet6
245
245
  hostgroup = FactoryBot.create(:hostgroup, :with_rootpass, :with_os, :pxe_loader => "PXELinux BIOS", :subnet6 => subnet2, :domain => domain)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_discovery
3
3
  version: !ruby/object:Gem::Version
4
- version: 26.1.5
4
+ version: 26.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditi Puntambekar