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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbc5abad67ec340bdfe3ed25013bd59afd164c5aa5b71197cf115fca531f07f8
4
- data.tar.gz: ba6b00159de292b52754d70bab8a79bbd0b77e29f7cba34e2e6e16ab6a5f05a6
3
+ metadata.gz: d32249f5c98624ae023a6975e6eea66482dd39d7a45e827f266ec2f95736bb16
4
+ data.tar.gz: 6618c64182a17f330b959e7fdd7fd7b492ea62dd23f4c3d2e5075db22d5be6d6
5
5
  SHA512:
6
- metadata.gz: c812aab3400e97c3b25523cc6bb7bd118e86a0c6c71383275f442e3c49f71d6a87d6a3f413b9ac5e3b0278d8e8fd7c3cd535bf9dcfc6e2f033433d674f1dcb46
7
- data.tar.gz: f8f22a7eecfa7cdb30f22e691b8433983719d8449b71d9330c6fbf8bfe4240359846b701b71456b46d3b5acca469c65062f4ca57d608913d4ca15fcb16b99352
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
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "21.0.1"
2
+ VERSION = "21.0.2"
3
3
  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.1
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-04-27 00:00:00.000000000 Z
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.4
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