foreman_bootdisk 19.0.5 → 19.0.6

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: c50d87e902b43ec4b94df5845e8f5f660663e9d9220285401e223e2e2cdf3624
4
- data.tar.gz: 3b1092081bda0337d725ecb66ce3e2acd2ffbf2e32fd179e34f11ee3bc137b28
3
+ metadata.gz: 3e45f52942dcc02997951e5994c28cf2225e2a7843b4c7f7df5105ea6298ad8b
4
+ data.tar.gz: a6cdb77d4f5bf6ff0e4cbb425a054ea9dd0f4cb21cb2e44b68919b5886c700c9
5
5
  SHA512:
6
- metadata.gz: eaa41fe654e374bc71a02a8fd30b5b74cb50e15cded72af4375e4df943dd890f086abe973a376dc84bb5f307bd8e1c62bb5f27505176ff5299229110434b1760
7
- data.tar.gz: 978d4631aa89857baf2a8b1e26fd19917e5118fb482f03ddfe7a3ac5b52ed78f71f85142a2d3a8a0b17eb4aebbda2e6f9b081e6fe8075c6490c32f85a4d3cd68
6
+ metadata.gz: fff8a878907faca8d28fb33026879db8d94be2c2fb8655dedc84447cc0210a053e29115bbbe95da8126b62256028e07c11aa5f44b821eb4f2091304b125b768a
7
+ data.tar.gz: 5cf6cdd0fff635f0c88500bd5489cc5402de8ef899637dfd9915da42780ecb8690209b735663df074aa0826edc31c77238ea54268e67c106e4d6b16b0764c943
@@ -21,6 +21,10 @@ def ensure_bootdisk_template(name, content)
21
21
  tmpl.locked = true
22
22
  tmpl.organizations = Organization.unscoped.all if SETTINGS[:organizations_enabled]
23
23
  tmpl.locations = Location.unscoped.all if SETTINGS[:locations_enabled]
24
+
25
+ metadata = Template.parse_metadata(content)
26
+ tmpl.description = metadata['description']
27
+
24
28
  tmpl.save!(validate: false) if tmpl.changes.present?
25
29
  end
26
30
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanBootdisk
4
- VERSION = '19.0.5'
4
+ VERSION = '19.0.6'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_bootdisk
3
3
  version: !ruby/object:Gem::Version
4
- version: 19.0.5
4
+ version: 19.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dominic Cleal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-04-28 00:00:00.000000000 Z
11
+ date: 2022-08-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: theforeman-rubocop
@@ -161,7 +161,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0'
163
163
  requirements: []
164
- rubygems_version: 3.1.4
164
+ rubygems_version: 3.1.6
165
165
  signing_key:
166
166
  specification_version: 4
167
167
  summary: Create boot disks to provision hosts with Foreman