foreman_bootdisk 19.0.2 → 19.0.3
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: 22450c623bbb4cde0debe357734390dc1adcf7c35a35541a045e19a510c7da28
|
4
|
+
data.tar.gz: 6a56ff9451ea1524088c06698cfd512db0dc00bca16e5a0fadb84ba156062a72
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8db9ffc3a8670c2c525a1c1906f31fb2a9d92958e7680f9f8a9fbd0e0a1027eb98138fe151e0bef2a286192e53329086ff146ab22638600e5986736560686978
|
7
|
+
data.tar.gz: c674a98098cfd8d67d44ccec841dea92d249d1589d4b8a59fa07fbf2068e5b0cc0096ea30abfa3afcc71988382a7f2e0db9fb92d389973935914b8a72fab1bac
|
@@ -7,6 +7,7 @@ class ChangeTemplatekindToBootdisk < ActiveRecord::Migration[4.2]
|
|
7
7
|
else
|
8
8
|
'templates'
|
9
9
|
end
|
10
|
+
self.inheritance_column = :_type_disabled
|
10
11
|
end
|
11
12
|
|
12
13
|
def self.up
|
@@ -15,10 +16,8 @@ class ChangeTemplatekindToBootdisk < ActiveRecord::Migration[4.2]
|
|
15
16
|
tmpl_h = Setting.find_by(name: 'bootdisk_host_template').try(:value)
|
16
17
|
tmpl_g = Setting.find_by(name: 'bootdisk_generic_host_template').try(:value)
|
17
18
|
|
18
|
-
|
19
|
-
|
20
|
-
tmpl.update_attribute(:template_kind_id, kind.id)
|
21
|
-
end
|
19
|
+
FakeConfigTemplate.unscoped.where('name LIKE ?', '%Boot disk%').update_all(template_kind_id: kind.id)
|
20
|
+
FakeConfigTemplate.unscoped.where(name: [tmpl_h, tmpl_g].compact).update_all(template_kind_id: kind.id)
|
22
21
|
end
|
23
22
|
|
24
23
|
def self.down
|
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.3
|
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-01-
|
11
|
+
date: 2022-01-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: theforeman-rubocop
|