foreman_bootdisk 19.0.5 → 19.0.6
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-bootdisk_templates.rb +4 -0
- data/lib/foreman_bootdisk/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3e45f52942dcc02997951e5994c28cf2225e2a7843b4c7f7df5105ea6298ad8b
|
4
|
+
data.tar.gz: a6cdb77d4f5bf6ff0e4cbb425a054ea9dd0f4cb21cb2e44b68919b5886c700c9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
|
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.
|
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-
|
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.
|
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
|