foreman_ipxe 0.2.0 → 0.3.0

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: d6b0acc3adbccdc5259b52d8843a8dc658fed064c06f6e2904791c90444822c4
4
- data.tar.gz: 4a4a13198eb1b7a0d6837b21a48ecb6a7e9de8a47ecd364cbdb18df1f72b81ec
3
+ metadata.gz: f0fbe4a8f5ce287f28aefac6df50a105d8b9eb5ca7135dfc0fb68265899136f7
4
+ data.tar.gz: b304576a4c558365c1baf2adaa12732da5970dab24f9da7ccaa226277504a090
5
5
  SHA512:
6
- metadata.gz: 0ac724a5b17329600276dc29c3f16833cebaaf4e97c26007c63a070234f8601b678d6a3b8e1836ac247b3b62dac9b05591828074ec269a697fb6a28d8b5dd8fd
7
- data.tar.gz: 37cdea5e26cbb5f7a4c72fadd52857c157e742da3f8035577f7799409f20cdda046a828e99a524f0ca451cb283f892ca1656e8d62a619683b2c116ec6faee0aa
6
+ metadata.gz: 690ae8c33c3c4ffdb1002454e689c5389e8c312701f7b7a9d49bc2a2662a7cf84652e68ba92c4b8a6cea053fa32b6f9433afcc43de9f4d8f60eefa3c538eee7e
7
+ data.tar.gz: 1a5b4dbeda23ff07c51096e674b272015c480a8da7ee0aa25aafc71d9f0aa3b29083dfb88c920c5b831ac59461c573c304246973cd8b82dda9e9b8db12c0dda9
@@ -53,6 +53,12 @@ module ForemanIpxe
53
53
 
54
54
  super
55
55
  end
56
+
57
+ def verify_found_host
58
+ return false if host_not_found?(@host) || host_os_is_missing?(@host) || host_os_family_is_missing?(@host)
59
+ logger.debug "Found #{@host}"
60
+ true
61
+ end
56
62
  end
57
63
 
58
64
  included do
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanIpxe
4
- VERSION = '0.2.0'
4
+ VERSION = '0.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_ipxe
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Alexander Olofsson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-08-24 00:00:00.000000000 Z
11
+ date: 2018-09-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rdoc
@@ -82,7 +82,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
82
  version: '0'
83
83
  requirements: []
84
84
  rubyforge_project:
85
- rubygems_version: 2.7.6
85
+ rubygems_version: 2.7.7
86
86
  signing_key:
87
87
  specification_version: 4
88
88
  summary: Adds chainloaded iPXE loaders