foreman_discovery 21.0.1 → 21.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/db/seeds.d/50_discovery_templates.rb +5 -1
- data/lib/foreman_discovery/version.rb +1 -1
- metadata +19 -19
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d32249f5c98624ae023a6975e6eea66482dd39d7a45e827f266ec2f95736bb16
|
4
|
+
data.tar.gz: 6618c64182a17f330b959e7fdd7fd7b492ea62dd23f4c3d2e5075db22d5be6d6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bf903b6db9cb5f294acf140b5fec570c9116a9f3a143d1c43e1021e3df644493443ffc708d117658aaca4658056273b87ff3e2fc1429dae6a514ea5bced27a8a
|
7
|
+
data.tar.gz: a2a06e0006bd674b35237a3a8bf70e67cddfe8abdaad08ed69c3049526023c77d7aa157affdc3701c9109b276f020a44557d3248d91c3b02547607d4876fcfcf
|
@@ -22,6 +22,10 @@ ProvisioningTemplate.without_auditing do
|
|
22
22
|
tmpl.template = content
|
23
23
|
tmpl.organizations = organizations
|
24
24
|
tmpl.locations = locations
|
25
|
+
|
26
|
+
metadata = Template.parse_metadata(content)
|
27
|
+
tmpl.description = metadata['description']
|
28
|
+
|
25
29
|
tmpl.save!(:validate => false) if tmpl.changes.present?
|
26
30
|
end
|
27
|
-
end
|
31
|
+
end
|
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.2
|
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-08-08 00:00:00.000000000 Z
|
80
80
|
dependencies: []
|
81
81
|
description: MaaS Discovery Plugin engine for Foreman
|
82
82
|
email: gsutclif@redhat.com
|
@@ -311,11 +311,23 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
311
311
|
- !ruby/object:Gem::Version
|
312
312
|
version: '0'
|
313
313
|
requirements: []
|
314
|
-
rubygems_version: 3.1.
|
314
|
+
rubygems_version: 3.1.6
|
315
315
|
signing_key:
|
316
316
|
specification_version: 4
|
317
317
|
summary: MaaS Discovery Plugin for Foreman
|
318
318
|
test_files:
|
319
|
+
- test/unit/discovered_extensions_test.rb
|
320
|
+
- test/unit/discovered_mailer_test.rb
|
321
|
+
- test/unit/discovery_attribute_set_test.rb
|
322
|
+
- test/unit/discovery_rule_test.rb
|
323
|
+
- test/unit/discovery_taxonomy_extensions_test.rb
|
324
|
+
- test/unit/fact_parser_test.rb
|
325
|
+
- test/unit/fact_to_category_resolver_test.rb
|
326
|
+
- test/unit/lldp_neighbors_test.rb
|
327
|
+
- test/unit/managed_extensions_test.rb
|
328
|
+
- test/unit/ui_notifications/destroy_host_test.rb
|
329
|
+
- test/unit/ui_notifications/new_host_test.rb
|
330
|
+
- test/unit/host_discovered_test.rb
|
319
331
|
- test/factories/discovery_host_related.rb
|
320
332
|
- test/factories/discovery_rule_related.rb
|
321
333
|
- test/facts/bond0-eth0-eth1-active-passive.json
|
@@ -324,34 +336,22 @@ test_files:
|
|
324
336
|
- test/facts/dell_vlan.json
|
325
337
|
- test/facts/facts_with_lldp.json
|
326
338
|
- test/facts/facts_with_lldp_bond_candidate.json
|
339
|
+
- test/facts/only-ipv6.json
|
327
340
|
- test/facts/pxeless-vlan.json
|
328
341
|
- test/facts/regular_host.json
|
329
342
|
- test/facts/rhel-dl380-1kdisks.json
|
330
343
|
- test/facts/rhel-r730.json
|
331
344
|
- test/facts/rhel7-vlan.json
|
332
345
|
- test/facts/simple-bond.json
|
346
|
+
- test/facts/skylake-ipv6.json
|
333
347
|
- test/facts/suse-vmware.json
|
334
348
|
- test/facts/vmware_local.json
|
335
|
-
- test/facts/only-ipv6.json
|
336
|
-
- test/facts/skylake-ipv6.json
|
337
|
-
- test/functional/api/v2/discovery_rules_controller_test.rb
|
338
349
|
- test/functional/api/v2/discovered_hosts_controller_test.rb
|
350
|
+
- test/functional/api/v2/discovery_rules_controller_test.rb
|
339
351
|
- test/functional/api/v2/fact_value_extensions_test.rb
|
352
|
+
- test/functional/discovery_rules_controller_test.rb
|
340
353
|
- test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb
|
341
354
|
- test/functional/discovered_hosts_controller_test.rb
|
342
|
-
- test/functional/discovery_rules_controller_test.rb
|
343
355
|
- test/integration/discovered_hosts_test.rb
|
344
|
-
- test/unit/discovered_mailer_test.rb
|
345
|
-
- test/unit/discovery_taxonomy_extensions_test.rb
|
346
|
-
- test/unit/lldp_neighbors_test.rb
|
347
|
-
- test/unit/ui_notifications/destroy_host_test.rb
|
348
|
-
- test/unit/ui_notifications/new_host_test.rb
|
349
|
-
- test/unit/discovered_extensions_test.rb
|
350
|
-
- test/unit/discovery_attribute_set_test.rb
|
351
|
-
- test/unit/discovery_rule_test.rb
|
352
|
-
- test/unit/fact_parser_test.rb
|
353
|
-
- test/unit/fact_to_category_resolver_test.rb
|
354
|
-
- test/unit/host_discovered_test.rb
|
355
|
-
- test/unit/managed_extensions_test.rb
|
356
356
|
- test/test_helper_discovery.rb
|
357
357
|
- test/test_plugin_helper.rb
|