foreman_bootdisk 12.0.0 → 12.0.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: abab6031b8511f7af62b971e9c5c71f6232939598072f768293bccd601006426
|
|
4
|
+
data.tar.gz: b00a72a8e9671356e7bb6fa2f0de33024d58c8e6eb96aa72da75149e99c2e496
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5a8be6424824875972b6416ed1b68415ced0c1979db35b693a05e91660078114ff0489c7ba113d4be11b1ae3c15c779012ed71d770242248e9d87859c67adb75
|
|
7
|
+
data.tar.gz: 0fd0503eb874bd3c3a73b9e2515a5a15d28076a1a714a484865b447302601af299615b14f8f7d430b89eb373d1f684dfdc93279ce0fd7f06409e8d5afee47437
|
|
@@ -26,10 +26,6 @@ module ForemanBootdisk::HostExt
|
|
|
26
26
|
/i.86|x86[_-]64/ =~ architecture.name
|
|
27
27
|
end
|
|
28
28
|
|
|
29
|
-
def validate_media?
|
|
30
|
-
super || (managed && bootdisk_build? && build?)
|
|
31
|
-
end
|
|
32
|
-
|
|
33
29
|
def can_be_built?
|
|
34
30
|
super || (managed? and SETTINGS[:unattended] and bootdisk_build? and !build?)
|
|
35
31
|
end
|
|
@@ -9,14 +9,6 @@ class ForemanBootdisk::HostTest < ActiveSupport::TestCase
|
|
|
9
9
|
refute host.pxe_build?
|
|
10
10
|
end
|
|
11
11
|
|
|
12
|
-
test "#validate_media? must be true when provision_method is bootdisk" do
|
|
13
|
-
host = FactoryBot.build(:host, :managed,
|
|
14
|
-
:provision_method => "bootdisk",
|
|
15
|
-
:build => true,
|
|
16
|
-
)
|
|
17
|
-
assert host.validate_media?
|
|
18
|
-
end
|
|
19
|
-
|
|
20
12
|
test "#can_be_built? must be true when provision_method is bootdisk" do
|
|
21
13
|
host = FactoryBot.build(:host, :managed,
|
|
22
14
|
:provision_method => "bootdisk"
|
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: 12.0.
|
|
4
|
+
version: 12.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Dominic Cleal
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date:
|
|
11
|
+
date: 2019-05-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies: []
|
|
13
13
|
description: Plugin for Foreman that creates iPXE-based boot disks to provision hosts
|
|
14
14
|
without the need for PXE infrastructure.
|