foreman_discovery 18.0.0 → 18.0.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a4a473961177e15c8f642ecfff5232f2bc5ce86c977221f9f08b42bd92962b8
|
4
|
+
data.tar.gz: a5243bf60845f3d846193f3e3b15c39e046779a065422c1da32a2190c2e3fb77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f19bce5fe35799eb89488f2ceda183c251e1d60f0c75aee74db8d1c6b7b3ffa60f694449c24a13fa336f347693b5ec3296c455d92eeb50b0afac40fe4086ad0f
|
7
|
+
data.tar.gz: 77a7b53a11fb373bb7eac8f98da5f6fa9ff1eb0836f9a322d1762ada91f94acf0f541a1e54acaf13a0c606f99d5d617a00dcea7eed6b0b323067c35d2862ae99
|
@@ -20,7 +20,7 @@ class DiscoveryRulesController < ApplicationController
|
|
20
20
|
end
|
21
21
|
|
22
22
|
def clone
|
23
|
-
@discovery_rule
|
23
|
+
@discovery_rule.deep_clone except: [:name, :priority], include: [:organizations, :locations]
|
24
24
|
@discovery_rule.priority = DiscoveryRule.suggest_priority
|
25
25
|
end
|
26
26
|
|
@@ -83,9 +83,11 @@ class Api::V2::DiscoveredHostsControllerTest < ActionController::TestCase
|
|
83
83
|
assert_equal hostgroup.medium_id, actual.medium_id
|
84
84
|
assert_equal hostgroup.ptable_id, actual.ptable_id
|
85
85
|
assert_equal hostgroup.domain_id, actual.domain_id
|
86
|
-
|
87
|
-
|
88
|
-
|
86
|
+
if defined?(ForemanPuppet)
|
87
|
+
assert_equal hostgroup.environment_id, actual.environment_id
|
88
|
+
assert_equal hostgroup.puppet_proxy_id, actual.puppet_proxy_id
|
89
|
+
assert_equal hostgroup.puppet_ca_proxy_id, actual.puppet_ca_proxy_id
|
90
|
+
end
|
89
91
|
assert actual.build?
|
90
92
|
end
|
91
93
|
|
@@ -161,9 +161,11 @@ class DiscoveredHostsControllerTest < ActionController::TestCase
|
|
161
161
|
assert_equal hostgroup.medium_id, actual.medium_id
|
162
162
|
assert_equal hostgroup.ptable_id, actual.ptable_id
|
163
163
|
assert_equal hostgroup.domain_id, actual.domain_id
|
164
|
-
|
165
|
-
|
166
|
-
|
164
|
+
if defined?(ForemanPuppet)
|
165
|
+
assert_equal hostgroup.environment_id, actual.environment_id
|
166
|
+
assert_equal hostgroup.puppet_proxy_id, actual.puppet_proxy_id
|
167
|
+
assert_equal hostgroup.puppet_ca_proxy_id, actual.puppet_ca_proxy_id
|
168
|
+
end
|
167
169
|
end
|
168
170
|
|
169
171
|
def test_add_entry_to_nav_menu
|
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: 18.0.
|
4
|
+
version: 18.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aditi Puntambekar
|
@@ -74,7 +74,7 @@ authors:
|
|
74
74
|
autorequire:
|
75
75
|
bindir: bin
|
76
76
|
cert_chain: []
|
77
|
-
date: 2021-
|
77
|
+
date: 2021-10-13 00:00:00.000000000 Z
|
78
78
|
dependencies: []
|
79
79
|
description: MaaS Discovery Plugin engine for Foreman
|
80
80
|
email: gsutclif@redhat.com
|
@@ -360,12 +360,12 @@ test_files:
|
|
360
360
|
- test/unit/discovered_mailer_test.rb
|
361
361
|
- test/unit/discovery_taxonomy_extensions_test.rb
|
362
362
|
- test/unit/lldp_neighbors_test.rb
|
363
|
-
- test/unit/host_discovered_test.rb
|
364
363
|
- test/unit/discovery_rule_test.rb
|
365
364
|
- test/unit/fact_to_category_resolver_test.rb
|
366
365
|
- test/unit/managed_extensions_test.rb
|
366
|
+
- test/unit/host_discovered_test.rb
|
367
|
+
- test/unit/discovered_extensions_test.rb
|
367
368
|
- test/unit/discovery_attribute_set_test.rb
|
368
369
|
- test/unit/fact_parser_test.rb
|
369
|
-
- test/unit/discovered_extensions_test.rb
|
370
370
|
- test/test_helper_discovery.rb
|
371
371
|
- test/test_plugin_helper.rb
|