foreman_discovery 19.0.1 → 19.0.2

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: 427ba539a0f0044029faf7ffaca507c4091736f89a14de73559e81515295780a
4
- data.tar.gz: 4f7a1b8fee20f9dd472a06b9dce2f385bc02246de5e592a2923e3156e332ee66
3
+ metadata.gz: 1cda16d49c5599931d1446f4cd8166f92b2671e1acb24e7d7cd8e89ed158d303
4
+ data.tar.gz: e126cbf08924d0e09c9b0b367dc4ab8f2aadb4bdd8cd0bf1a69edca6c46cc915
5
5
  SHA512:
6
- metadata.gz: 6e2655e4136af4af6cd76fa3415ce0463ecc3984ed6e89d703e24eedc83f518b59481722fb232d008643f8e78beb4d523f95f80333c6ffac0e120fb49d91fe48
7
- data.tar.gz: d18c12e3f57d69a80bf79ebfaa4e5de88a779c10aa12790ae057446fc3a4940c47f6654aa64edcec8fbfe430b9fa6a54e727476319ac61b11e61e78893b712c6
6
+ metadata.gz: 1d1269213feae40fbdc833a3eea8a98a855b600e2513f44fd3f9dc452c09fa9c631c8ef02bf3ae485b1ef4bd1bd03efa733c5393b5b833d7c9d4c01c3259f3d8
7
+ data.tar.gz: 507e87375c35a562bc8ddb9aaccd51f58671772ea6e8a482150bf2bfb4bb665319744090bfd265102b8f98895a3e3075b731e0ce0c48e704561f898fcf1853dc
@@ -47,9 +47,9 @@ Extra options like --reset-vga can be set via "extra" array.
47
47
  "initram": "<%= @initrd_uri %>",
48
48
  <% if (@host.operatingsystem.name == 'Fedora' and @host.operatingsystem.major.to_i > 16) or
49
49
  (@host.operatingsystem.name != 'Fedora' and @host.operatingsystem.major.to_i >= 7) -%>
50
- "append": "ks=<%= foreman_url('provision') + "&static=yes" %> inst.ks.sendmac <%= "ip=#{ip}::#{gw}:#{mask}:::none nameserver=#{dns} ksdevice=bootif BOOTIF=#{bootif} nomodeset nokaslr " + options.compact.join(' ') %>",
50
+ "append": "inst.ks=<%= foreman_url('provision') + "&static=yes" %> inst.ks.sendmac <%= "ip=#{ip}::#{gw}:#{mask}:::none nameserver=#{dns} ksdevice=bootif BOOTIF=#{bootif} nomodeset nokaslr " + options.compact.join(' ') %>",
51
51
  <% else -%>
52
- "append": "ks=<%= foreman_url('provision') + "&static=yes" %> kssendmac nicdelay=5 <%= "ip=#{ip} netmask=#{mask} gateway=#{gw} dns=#{dns} ksdevice=#{mac} BOOTIF=#{bootif} nomodeset nokaslr " + options.compact.join(' ') %>",
52
+ "append": "inst.ks=<%= foreman_url('provision') + "&static=yes" %> kssendmac nicdelay=5 <%= "ip=#{ip} netmask=#{mask} gateway=#{gw} dns=#{dns} ksdevice=#{mac} BOOTIF=#{bootif} nomodeset nokaslr " + options.compact.join(' ') %>",
53
53
  <% end -%>
54
54
  "extra": []
55
55
  }
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "19.0.1"
2
+ VERSION = "19.0.2"
3
3
  end
@@ -91,7 +91,7 @@ class ManagedExtensionsTest < ActiveSupport::TestCase
91
91
 
92
92
  test "kexec template is correctly rendered" do
93
93
  expected = {
94
- "append" => "ks=http://foreman.some.host.fqdn/unattended/provision&static=yes inst.ks.sendmac ip=::::::none nameserver= ksdevice=bootif BOOTIF= nomodeset nokaslr nomodeset",
94
+ "append" => "inst.ks=http://foreman.some.host.fqdn/unattended/provision&static=yes inst.ks.sendmac ip=::::::none nameserver= ksdevice=bootif BOOTIF= nomodeset nokaslr nomodeset",
95
95
  "extra" => []
96
96
  }
97
97
  assert @host.operatingsystem.respond_to?(:pxe_type)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_discovery
3
3
  version: !ruby/object:Gem::Version
4
- version: 19.0.1
4
+ version: 19.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditi Puntambekar
@@ -74,7 +74,7 @@ authors:
74
74
  autorequire:
75
75
  bindir: bin
76
76
  cert_chain: []
77
- date: 2021-11-25 00:00:00.000000000 Z
77
+ date: 2022-02-11 00:00:00.000000000 Z
78
78
  dependencies: []
79
79
  description: MaaS Discovery Plugin engine for Foreman
80
80
  email: gsutclif@redhat.com
@@ -362,10 +362,10 @@ test_files:
362
362
  - test/unit/lldp_neighbors_test.rb
363
363
  - test/unit/discovery_rule_test.rb
364
364
  - test/unit/fact_to_category_resolver_test.rb
365
- - test/unit/managed_extensions_test.rb
366
- - test/unit/host_discovered_test.rb
367
- - test/unit/discovered_extensions_test.rb
368
365
  - test/unit/discovery_attribute_set_test.rb
369
366
  - test/unit/fact_parser_test.rb
367
+ - test/unit/discovered_extensions_test.rb
368
+ - test/unit/host_discovered_test.rb
369
+ - test/unit/managed_extensions_test.rb
370
370
  - test/test_helper_discovery.rb
371
371
  - test/test_plugin_helper.rb