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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: db9a40b5eced1c71a3724f822961f21e18ec8f785da702eb3ec9618bfb5ac68a
|
|
4
|
+
data.tar.gz: 44e6f535f5c82c87dcbd66283cd7c2184b39279bd9280946b0ff59a4d9e6b397
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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
|
|
2
|
+
raise "Unable to create proxy feature: #{SeedHelper.format_errors(f)}" if f.nil? || f.errors.any?
|
|
@@ -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
|
|
242
|
-
subnet2 = FactoryBot.create(:subnet_ipv6, :tftp, :dhcp, :network => "2001:db9
|
|
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)
|