foreman_discovery 21.0.2 → 21.0.4
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: 41dc13d4745676ed7a12b866014897799f501bbb04c38efb9a0bd95481a7e76d
|
4
|
+
data.tar.gz: 8a2924cfe5c5d106b573dc2a32552997863d882807144ef68bc6fb4ab1ee70bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ac4ccdd49976a17aae697aa24013a7f0271a712571991201d0fd9ecabe3063b3367c15c64df2ff3a75bc138f6d95b653ec41e4a77fc92bbecedbc7566614077d
|
7
|
+
data.tar.gz: bb3b4741228a457353d635e77ff9093f2e319a4b2942ad66661f4b9dbaae1f386e1e8047a4e750a53efc7a12d23bbef8bf515579793b6ff81afdd320545d8417
|
@@ -0,0 +1,9 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
class FixDiscoverySettingsCategoryToDsl < ActiveRecord::Migration[6.0]
|
4
|
+
def up
|
5
|
+
# rubocop:disable Rails/SkipsModelValidations
|
6
|
+
Setting.where(category: 'Setting::Discovered').update_all(category: 'Setting')
|
7
|
+
# rubocop:enable Rails/SkipsModelValidations
|
8
|
+
end
|
9
|
+
end
|
@@ -63,8 +63,8 @@ module ForemanDiscovery
|
|
63
63
|
type: :string,
|
64
64
|
collection: Proc.new { Hash[[['', '']].concat Organization.all.map{|org| [org[:title], org[:title]]}] },
|
65
65
|
default: "",
|
66
|
-
full_name: N_("Discovery
|
67
|
-
description: N_("The default
|
66
|
+
full_name: N_("Discovery organization"),
|
67
|
+
description: N_("The default organization to place discovered hosts in")
|
68
68
|
|
69
69
|
setting "discovery_fact",
|
70
70
|
type: :string,
|
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: 21.0.
|
4
|
+
version: 21.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aditi Puntambekar
|
@@ -76,7 +76,7 @@ authors:
|
|
76
76
|
autorequire:
|
77
77
|
bindir: bin
|
78
78
|
cert_chain: []
|
79
|
-
date: 2022-
|
79
|
+
date: 2022-11-02 00:00:00.000000000 Z
|
80
80
|
dependencies: []
|
81
81
|
description: MaaS Discovery Plugin engine for Foreman
|
82
82
|
email: gsutclif@redhat.com
|
@@ -191,6 +191,7 @@ files:
|
|
191
191
|
- db/migrate/20161006094714_add_constraints_on_subnets_smart_proxies.rb
|
192
192
|
- db/migrate/20171222120314_add_constraints_on_discovery_rules_hostgroups.rb
|
193
193
|
- db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb
|
194
|
+
- db/migrate/20221102065954_fix_discovery_settings_category_to_dsl.rb
|
194
195
|
- db/seeds.d/50_discovery_templates.rb
|
195
196
|
- db/seeds.d/60_discovery_proxy_feature.rb
|
196
197
|
- db/seeds.d/70_discovery_mail_notification.rb
|
@@ -324,10 +325,10 @@ test_files:
|
|
324
325
|
- test/unit/fact_parser_test.rb
|
325
326
|
- test/unit/fact_to_category_resolver_test.rb
|
326
327
|
- test/unit/lldp_neighbors_test.rb
|
327
|
-
- test/unit/managed_extensions_test.rb
|
328
328
|
- test/unit/ui_notifications/destroy_host_test.rb
|
329
329
|
- test/unit/ui_notifications/new_host_test.rb
|
330
330
|
- test/unit/host_discovered_test.rb
|
331
|
+
- test/unit/managed_extensions_test.rb
|
331
332
|
- test/factories/discovery_host_related.rb
|
332
333
|
- test/factories/discovery_rule_related.rb
|
333
334
|
- test/facts/bond0-eth0-eth1-active-passive.json
|