foreman_discovery 21.0.0 → 21.0.1

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: 96449844722349c5dbde7fe09e0ca06051bf7fa1a7bb87c36de52a103d505611
4
- data.tar.gz: cb1bb8e19220de291965b37329d49231b58f40898936cba633be93f6ba5e2009
3
+ metadata.gz: dbc5abad67ec340bdfe3ed25013bd59afd164c5aa5b71197cf115fca531f07f8
4
+ data.tar.gz: ba6b00159de292b52754d70bab8a79bbd0b77e29f7cba34e2e6e16ab6a5f05a6
5
5
  SHA512:
6
- metadata.gz: 5f09bca16062aba8ae5d80ec8a2b9498dbaef24eef21f12702472ae0cce9bc083fa2a8635b968b09eeeba321fe63cfc3193d4fc4376c6cbacba0692f2dc4c9aa
7
- data.tar.gz: 80b2978cc54e2790cd4bb17848e92a9831dfac040c47e138b600522a17bb92f8cbd07120af2f3830e107330d057870262a7be5b7b8a2c9cb75a9e84bc7e56f47
6
+ metadata.gz: c812aab3400e97c3b25523cc6bb7bd118e86a0c6c71383275f442e3c49f71d6a87d6a3f413b9ac5e3b0278d8e8fd7c3cd535bf9dcfc6e2f033433d674f1dcb46
7
+ data.tar.gz: f8f22a7eecfa7cdb30f22e691b8433983719d8449b71d9330c6fbf8bfe4240359846b701b71456b46d3b5acca469c65062f4ca57d608913d4ca15fcb16b99352
@@ -1,46 +1,4 @@
1
- class Setting::Discovered < ::Setting
2
- BLANK_ATTRS << "discovery_location"
3
- BLANK_ATTRS << "discovery_organization"
4
- BLANK_ATTRS << "discovery_fact_column"
5
- BLANK_ATTRS << 'discovery_facts_highlights'
6
- BLANK_ATTRS << 'discovery_facts_storage'
7
- BLANK_ATTRS << 'discovery_facts_software'
8
- BLANK_ATTRS << 'discovery_facts_hardware'
9
- BLANK_ATTRS << 'discovery_facts_network'
10
- BLANK_ATTRS << 'discovery_facts_ipmi'
11
-
12
- STRING_PRESENCE_ATTRS = ['discovery_hostname', 'discovery_prefix']
13
- validates :value, :presence => true, :if => proc { |s| STRING_PRESENCE_ATTRS.include?(s.name) }
14
-
15
- def self.default_settings
16
- [
17
- self.set('discovery_location', N_("The default location to place discovered hosts in"), "", N_("Discovery location"), nil, { :collection => Proc.new {Hash[Location.all.map{|loc| [loc[:title], loc[:title]]}]} }),
18
- self.set('discovery_organization', N_("The default organization to place discovered hosts in"), "", N_("Discovery organization"), nil, { :collection => Proc.new {Hash[Organization.all.map{|org| [org[:title], org[:title]]}]} }),
19
- self.set('discovery_fact', N_("Fact name to use for primary interface detection"), "discovery_bootif", N_("Interface fact")),
20
- self.set('discovery_auto_bond', N_("Automatic bond interface (if another interface is detected on the same VLAN via LLDP)"), false, N_("Create bond interfaces")),
21
- self.set('discovery_clean_facts', N_("Clean all reported facts during provisioning (except discovery facts)"), false, N_("Clean all facts")),
22
- self.set('discovery_hostname', N_("List of facts to use for the hostname (separated by comma, first wins)"), "discovery_bootif", N_("Hostname facts")),
23
- self.set('discovery_auto', N_("Automatically provision newly discovered hosts, according to the provisioning rules"), false, N_("Auto provisioning")),
24
- self.set('discovery_reboot', N_("Automatically reboot or kexec discovered host during provisioning"), true, N_("Reboot")),
25
- self.set('discovery_prefix', N_("The default prefix to use for the host name, must start with a letter"), "mac", N_("Hostname prefix")),
26
- self.set('discovery_fact_column', N_("Extra facter columns to show in host lists (separate by comma)"), "", N_("Fact columns")),
27
- self.set('discovery_facts_highlights', N_("Regex to organize facts for highlights section - e.g. ^(abc|cde)$"), "", N_("Highlighted facts")),
28
- self.set('discovery_facts_storage', N_("Regex to organize facts for storage section"), "", N_("Storage facts")),
29
- self.set('discovery_facts_software', N_("Regex to organize facts for software section"), "", N_("Software facts")),
30
- self.set('discovery_facts_hardware', N_("Regex to organize facts for hardware section"), "", N_("Hardware facts")),
31
- self.set('discovery_facts_network', N_("Regex to organize facts for network section"), "", N_("Network facts")),
32
- self.set('discovery_facts_ipmi', N_("Regex to organize facts for ipmi section"), "", N_("IPMI facts")),
33
- self.set('discovery_lock', N_("Automatically generate PXE configuration to pin a newly discovered host to discovery"), false, N_("Lock PXE")),
34
- self.set('discovery_pxelinux_lock_template', N_("PXELinux template to be used when pinning a host to discovery"), 'pxelinux_discovery', N_("Locked PXELinux template name"), nil, { :collection => Proc.new {Hash[ProvisioningTemplate.where(:template_kind => TemplateKind.find_by_name(:snippet)).map{|template| [template[:name], template[:name]]}]} }),
35
- self.set('discovery_pxegrub_lock_template', N_("PXEGrub template to be used when pinning a host to discovery"), 'pxegrub_discovery', N_("Locked PXEGrub template name"), nil, { :collection => Proc.new {Hash[ProvisioningTemplate.where(:template_kind => TemplateKind.find_by_name(:snippet)).map{|template| [template[:name], template[:name]]}]} }),
36
- self.set('discovery_pxegrub2_lock_template', N_("PXEGrub2 template to be used when pinning a host to discovery"), 'pxegrub2_discovery', N_("Locked PXEGrub2 template name"), nil, { :collection => Proc.new {Hash[ProvisioningTemplate.where(:template_kind => TemplateKind.find_by_name(:snippet)).map{|template| [template[:name], template[:name]]}]} }),
37
- self.set('discovery_always_rebuild_dns', N_("Force DNS entries creation when provisioning discovered host"), true, N_("Force DNS")),
38
- self.set('discovery_error_on_existing', N_("Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)"), false, N_("Error on existing NIC")),
39
- self.set('discovery_naming', N_("Discovery hostname naming pattern"), 'Fact', N_("Type of name generator"), nil, {:collection => Proc.new {::Host::Discovered::NAMING_PATTERNS} }),
40
- self.set('discovery_prefer_ipv6', N_("Prefer IPv6 to IPv4 when calling discovered nodes"), false, N_("Prefer IPv6")),
41
- ]
42
- end
43
-
1
+ class Setting::Discovered
44
2
  def self.discovery_fact_column_array
45
3
  from_array(Setting['discovery_fact_column'])
46
4
  end
@@ -4,18 +4,17 @@ name: Discovery Debian kexec
4
4
  oses:
5
5
  - Debian
6
6
  - Ubuntu
7
- -%>
8
- <%#
9
- This template is used to pass command line options to kexec when reloading
10
- kernel on a discovered host instead of rebooting. This is useful in PXE-less
11
- environments. The template must generate JSON format with the following items
12
- "kernel", "initram", "append" and "extra". The kexec command is composed in
13
- the following way:
14
-
15
- kexec --force --debug --append=$append --initrd=$initram $extra $kernel
16
-
17
- Please read kexec(8) man page for more information about semantics.
18
- Extra options like --reset-vga can be set via "extra" array.
7
+ description: |
8
+ This template is used to pass command line options to kexec when reloading
9
+ kernel on a discovered host instead of rebooting. This is useful in PXE-less
10
+ environments. The template must generate JSON format with the following items
11
+ "kernel", "initram", "append" and "extra". The kexec command is composed in
12
+ the following way:
13
+
14
+ kexec --force --debug --append=$append --initrd=$initram $extra $kernel
15
+
16
+ Please read kexec(8) man page for more information about semantics.
17
+ Extra options like --reset-vga can be set via "extra" array.
19
18
  -%>
20
19
  <%
21
20
  mac = @host.facts['discovery_bootif']
@@ -14,18 +14,17 @@ oses:
14
14
  - RedHat 5
15
15
  - RedHat 6
16
16
  - RedHat 7
17
- -%>
18
- <%#
19
- This template is used to pass command line options to kexec when reloading
20
- kernel on a discovered host instead of rebooting. This is useful in PXE-less
21
- environments. The template must generate JSON format with the following items
22
- "kernel", "initram", "append" and "extra". The kexec command is composed in
23
- the following way:
24
-
25
- kexec --force --debug --append=$append --initrd=$initram $extra $kernel
26
-
27
- Please read kexec(8) man page for more information about semantics.
28
- Extra options like --reset-vga can be set via "extra" array.
17
+ description: |
18
+ This template is used to pass command line options to kexec when reloading
19
+ kernel on a discovered host instead of rebooting. This is useful in PXE-less
20
+ environments. The template must generate JSON format with the following items
21
+ "kernel", "initram", "append" and "extra". The kexec command is composed in
22
+ the following way:
23
+
24
+ kexec --force --debug --append=$append --initrd=$initram $extra $kernel
25
+
26
+ Please read kexec(8) man page for more information about semantics.
27
+ Extra options like --reset-vga can be set via "extra" array.
29
28
  -%>
30
29
  <%
31
30
  mac = @host.facts['discovery_bootif']
@@ -45,38 +45,201 @@ module ForemanDiscovery
45
45
  Foreman::Plugin.register :foreman_discovery do
46
46
  requires_foreman '>= 3.2'
47
47
 
48
- # discovered hosts permissions
49
- security_block :discovery do
50
- permission :view_discovered_hosts, {
51
- :discovered_hosts => [:index, :show, :auto_complete_search, :welcome],
52
- :"api/v2/discovered_hosts" => [:index, :show],
53
- :'discovered_hosts/react' => [:index]
54
- }, :resource_type => 'Host'
55
- permission :submit_discovered_hosts, {
56
- :"api/v2/discovered_hosts" => [:facts, :create]
57
- }, :resource_type => 'Host'
58
- permission :auto_provision_discovered_hosts, {
59
- :discovered_hosts => [:auto_provision,
60
- :multiple_auto_provision,
61
- :submit_multiple_auto_provision],
62
- :"api/v2/discovered_hosts" => [:auto_provision, :auto_provision_all]
63
- }, :resource_type => 'Host'
64
- permission :provision_discovered_hosts, {
65
- :discovered_hosts => [:edit, :update],
66
- :"api/v2/discovered_hosts" => [:update]
67
- }, :resource_type => 'Host'
68
- permission :edit_discovered_hosts, {
69
- :discovered_hosts => [:update_multiple_location,
70
- :select_multiple_organization,
71
- :update_multiple_organization,
72
- :select_multiple_location,
73
- :refresh_facts,
74
- :reboot,
75
- :multiple_reboot,
76
- :submit_multiple_reboot],
77
- :hosts => [:process_hostgroup],
78
- :"api/v2/discovered_hosts" => [:refresh_facts, :reboot, :reboot_all]
79
- }, :resource_type => 'Host'
48
+ # settings
49
+ settings do
50
+ category :discovery, N_("Discovery") do
51
+ snippets = Proc.new {
52
+ Hash[ProvisioningTemplate.where(:template_kind => TemplateKind.find_by_name(:snippet)).map{|template| [template[:name], template[:name]]}]
53
+ }
54
+
55
+ setting "discovery_location",
56
+ type: :string,
57
+ collection: Proc.new { Hash[[['', '']].concat Location.all.map{|loc| [loc[:title], loc[:title]]}] },
58
+ default: "",
59
+ full_name: N_("Discovery location"),
60
+ description: N_("The default location to place discovered hosts in")
61
+
62
+ setting "discovery_organization",
63
+ type: :string,
64
+ collection: Proc.new { Hash[[['', '']].concat Organization.all.map{|org| [org[:title], org[:title]]}] },
65
+ default: "",
66
+ full_name: N_("Discovery location"),
67
+ description: N_("The default location to place discovered hosts in")
68
+
69
+ setting "discovery_fact",
70
+ type: :string,
71
+ default: "discovery_bootif",
72
+ full_name: N_("Interface fact"),
73
+ description: N_("Fact name to use for primary interface detection")
74
+
75
+ setting "discovery_auto_bond",
76
+ type: :boolean,
77
+ default: false,
78
+ full_name: N_("Create bond interfaces"),
79
+ description: N_("Automatic bond interface (if another interface is detected on the same VLAN via LLDP)")
80
+
81
+ setting "discovery_clean_facts",
82
+ type: :boolean,
83
+ default: false,
84
+ full_name: N_("Clean all facts"),
85
+ description: N_("Clean all reported facts during provisioning (except discovery facts)")
86
+
87
+ setting "discovery_hostname",
88
+ type: :string,
89
+ default: "discovery_bootif",
90
+ full_name: N_("Hostname facts"),
91
+ description: N_("List of facts to use for the hostname (separated by comma, first wins)")
92
+
93
+ validates "discovery_hostname", presence: true
94
+
95
+ setting "discovery_auto",
96
+ type: :boolean,
97
+ default: false,
98
+ full_name: N_("Auto provisioning"),
99
+ description: N_("Automatically provision newly discovered hosts, according to the provisioning rules")
100
+
101
+ setting "discovery_reboot",
102
+ type: :boolean,
103
+ default: true,
104
+ full_name: N_("Reboot"),
105
+ description: N_("Automatically reboot or kexec discovered host during provisioning")
106
+
107
+ setting "discovery_prefix",
108
+ type: :string,
109
+ default: "mac",
110
+ full_name: N_("Hostname prefix"),
111
+ description: N_("The default prefix to use for the host name, must start with a letter")
112
+
113
+ validates "discovery_prefix", presence: true
114
+
115
+ setting "discovery_fact_column",
116
+ type: :string,
117
+ default: "",
118
+ full_name: N_("Fact columns"),
119
+ description: N_("Extra facter columns to show in host lists (separate by comma)")
120
+
121
+ setting "discovery_facts_highlights",
122
+ type: :string,
123
+ default: "",
124
+ full_name: N_("Highlighted facts"),
125
+ description: N_("Regex to organize facts for highlights section - e.g. ^(abc|cde)$")
126
+
127
+ setting "discovery_facts_storage",
128
+ type: :string,
129
+ default: "",
130
+ full_name: N_("Storage facts"),
131
+ description: N_("Regex to organize facts for storage section")
132
+
133
+ setting "discovery_facts_software",
134
+ type: :string,
135
+ default: "",
136
+ full_name: N_("Software facts"),
137
+ description: N_("Regex to organize facts for software section")
138
+
139
+ setting "discovery_facts_hardware",
140
+ type: :string,
141
+ default: "",
142
+ full_name: N_("Hardware facts"),
143
+ description: N_("Regex to organize facts for hardware section")
144
+
145
+ setting "discovery_facts_network",
146
+ type: :string,
147
+ default: "",
148
+ full_name: N_("Network facts"),
149
+ description: N_("Regex to organize facts for network section")
150
+
151
+ setting "discovery_facts_ipmi",
152
+ type: :string,
153
+ default: "",
154
+ full_name: N_("IPMI facts"),
155
+ description: N_("Regex to organize facts for ipmi section")
156
+
157
+ setting "discovery_lock",
158
+ type: :boolean,
159
+ default: false,
160
+ full_name: N_("Lock PXE"),
161
+ description: N_("Automatically generate PXE configuration to pin a newly discovered host to discovery")
162
+
163
+ setting "discovery_pxelinux_lock_template",
164
+ type: :string,
165
+ collection: snippets,
166
+ default: "pxelinux_discovery",
167
+ full_name: N_("Locked PXELinux template name"),
168
+ description: N_("PXELinux template to be used when pinning a host to discovery")
169
+
170
+ setting "discovery_pxegrub_lock_template",
171
+ type: :string,
172
+ collection: snippets,
173
+ default: "pxegrub_discovery",
174
+ full_name: N_("Locked PXEGrub template name"),
175
+ description: N_("PXEGrub template to be used when pinning a host to discovery")
176
+
177
+ setting "discovery_pxegrub2_lock_template",
178
+ type: :string,
179
+ collection: snippets,
180
+ default: "pxegrub2_discovery",
181
+ full_name: N_("Locked PXEGrub2 template name"),
182
+ description: N_("PXEGrub2 template to be used when pinning a host to discovery")
183
+
184
+ setting "discovery_always_rebuild_dns",
185
+ type: :boolean,
186
+ default: true,
187
+ full_name: N_("Force DNS"),
188
+ description: N_("Force DNS entries creation when provisioning discovered host")
189
+
190
+ setting "discovery_error_on_existing",
191
+ type: :boolean,
192
+ default: false,
193
+ full_name: N_("Error on existing NIC"),
194
+ description: N_("Do not allow to discover existing managed host matching MAC of a provisioning NIC (errors out early)")
195
+
196
+ setting "discovery_naming",
197
+ type: :string,
198
+ collection: Proc.new { ::Host::Discovered::NAMING_PATTERNS },
199
+ default: "Fact",
200
+ full_name: N_("Type of name generator"),
201
+ description: N_("Discovery hostname naming pattern")
202
+
203
+ setting "discovery_prefer_ipv6",
204
+ type: :boolean,
205
+ default: false,
206
+ full_name: N_("Prefer IPv6"),
207
+ description: N_("Prefer IPv6 to IPv4 when calling discovered nodes")
208
+ end
209
+ end
210
+
211
+ # discovered hosts permissions
212
+ security_block :discovery do
213
+ permission :view_discovered_hosts, {
214
+ :discovered_hosts => [:index, :show, :auto_complete_search, :welcome],
215
+ :"api/v2/discovered_hosts" => [:index, :show],
216
+ :'discovered_hosts/react' => [:index]
217
+ }, :resource_type => 'Host'
218
+ permission :submit_discovered_hosts, {
219
+ :"api/v2/discovered_hosts" => [:facts, :create]
220
+ }, :resource_type => 'Host'
221
+ permission :auto_provision_discovered_hosts, {
222
+ :discovered_hosts => [:auto_provision,
223
+ :multiple_auto_provision,
224
+ :submit_multiple_auto_provision],
225
+ :"api/v2/discovered_hosts" => [:auto_provision, :auto_provision_all]
226
+ }, :resource_type => 'Host'
227
+ permission :provision_discovered_hosts, {
228
+ :discovered_hosts => [:edit, :update],
229
+ :"api/v2/discovered_hosts" => [:update]
230
+ }, :resource_type => 'Host'
231
+ permission :edit_discovered_hosts, {
232
+ :discovered_hosts => [:update_multiple_location,
233
+ :select_multiple_organization,
234
+ :update_multiple_organization,
235
+ :select_multiple_location,
236
+ :refresh_facts,
237
+ :reboot,
238
+ :multiple_reboot,
239
+ :submit_multiple_reboot],
240
+ :hosts => [:process_hostgroup],
241
+ :"api/v2/discovered_hosts" => [:refresh_facts, :reboot, :reboot_all]
242
+ }, :resource_type => 'Host'
80
243
  permission :destroy_discovered_hosts, {
81
244
  :discovered_hosts => [:destroy, :submit_multiple_destroy, :multiple_destroy],
82
245
  :"api/v2/discovered_hosts" => [:destroy]
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "21.0.0"
2
+ VERSION = "21.0.1"
3
3
  end
data/package.json CHANGED
@@ -21,16 +21,14 @@
21
21
  "url": "http://projects.theforeman.org/projects/foreman_discovery/issues"
22
22
  },
23
23
  "peerDependencies": {
24
- "@theforeman/vendor": "^6.0.0"
24
+ "@theforeman/vendor": ">= 0"
25
25
  },
26
26
  "devDependencies": {
27
27
  "@babel/core": "^7.7.0",
28
- "@theforeman/builder": "^6.0.0",
29
- "@theforeman/eslint-plugin-foreman": "^6.0.0",
30
- "@theforeman/stories": "^7.0.0",
31
- "@theforeman/test": "^8.0.0",
32
- "@theforeman/vendor-dev": "^6.0.0",
33
- "babel-eslint": "^10.0.3",
28
+ "@theforeman/builder": ">= 0",
29
+ "@theforeman/eslint-plugin-foreman": ">= 0",
30
+ "@theforeman/stories": ">= 0",
31
+ "@theforeman/test": ">= 0",
34
32
  "eslint": "^6.7.2",
35
33
  "prettier": "^1.19.1",
36
34
  "stylelint": "^9.3.0",
@@ -91,7 +91,7 @@ class ManagedExtensionsTest < ActiveSupport::TestCase
91
91
 
92
92
  test "kexec template is correctly rendered" do
93
93
  expected = {
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",
94
+ "append" => "inst.ks=http://foreman.example.com/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: 21.0.0
4
+ version: 21.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditi Puntambekar
@@ -76,7 +76,7 @@ authors:
76
76
  autorequire:
77
77
  bindir: bin
78
78
  cert_chain: []
79
- date: 2022-03-17 00:00:00.000000000 Z
79
+ date: 2022-04-27 00:00:00.000000000 Z
80
80
  dependencies: []
81
81
  description: MaaS Discovery Plugin engine for Foreman
82
82
  email: gsutclif@redhat.com
@@ -203,51 +203,35 @@ files:
203
203
  - lib/foreman_discovery/engine.rb
204
204
  - lib/foreman_discovery/version.rb
205
205
  - locale/ca/LC_MESSAGES/foreman_discovery.mo
206
- - locale/ca/foreman_discovery.edit.po
207
206
  - locale/ca/foreman_discovery.po
208
207
  - locale/de/LC_MESSAGES/foreman_discovery.mo
209
- - locale/de/foreman_discovery.edit.po
210
208
  - locale/de/foreman_discovery.po
211
209
  - locale/en/LC_MESSAGES/foreman_discovery.mo
212
- - locale/en/foreman_discovery.edit.po
213
210
  - locale/en/foreman_discovery.po
214
211
  - locale/en_GB/LC_MESSAGES/foreman_discovery.mo
215
- - locale/en_GB/foreman_discovery.edit.po
216
212
  - locale/en_GB/foreman_discovery.po
217
213
  - locale/es/LC_MESSAGES/foreman_discovery.mo
218
- - locale/es/foreman_discovery.edit.po
219
214
  - locale/es/foreman_discovery.po
220
215
  - locale/foreman_discovery.pot
221
216
  - locale/fr/LC_MESSAGES/foreman_discovery.mo
222
- - locale/fr/foreman_discovery.edit.po
223
217
  - locale/fr/foreman_discovery.po
224
218
  - locale/gl/LC_MESSAGES/foreman_discovery.mo
225
- - locale/gl/foreman_discovery.edit.po
226
219
  - locale/gl/foreman_discovery.po
227
220
  - locale/it/LC_MESSAGES/foreman_discovery.mo
228
- - locale/it/foreman_discovery.edit.po
229
221
  - locale/it/foreman_discovery.po
230
222
  - locale/ja/LC_MESSAGES/foreman_discovery.mo
231
- - locale/ja/foreman_discovery.edit.po
232
223
  - locale/ja/foreman_discovery.po
233
224
  - locale/ko/LC_MESSAGES/foreman_discovery.mo
234
- - locale/ko/foreman_discovery.edit.po
235
225
  - locale/ko/foreman_discovery.po
236
- - locale/messages.mo
237
226
  - locale/pt_BR/LC_MESSAGES/foreman_discovery.mo
238
- - locale/pt_BR/foreman_discovery.edit.po
239
227
  - locale/pt_BR/foreman_discovery.po
240
228
  - locale/ru/LC_MESSAGES/foreman_discovery.mo
241
- - locale/ru/foreman_discovery.edit.po
242
229
  - locale/ru/foreman_discovery.po
243
230
  - locale/sv_SE/LC_MESSAGES/foreman_discovery.mo
244
- - locale/sv_SE/foreman_discovery.edit.po
245
231
  - locale/sv_SE/foreman_discovery.po
246
232
  - locale/zh_CN/LC_MESSAGES/foreman_discovery.mo
247
- - locale/zh_CN/foreman_discovery.edit.po
248
233
  - locale/zh_CN/foreman_discovery.po
249
234
  - locale/zh_TW/LC_MESSAGES/foreman_discovery.mo
250
- - locale/zh_TW/foreman_discovery.edit.po
251
235
  - locale/zh_TW/foreman_discovery.po
252
236
  - package.json
253
237
  - test/factories/discovery_host_related.rb
@@ -327,17 +311,19 @@ required_rubygems_version: !ruby/object:Gem::Requirement
327
311
  - !ruby/object:Gem::Version
328
312
  version: '0'
329
313
  requirements: []
330
- rubygems_version: 3.1.6
314
+ rubygems_version: 3.1.4
331
315
  signing_key:
332
316
  specification_version: 4
333
317
  summary: MaaS Discovery Plugin for Foreman
334
318
  test_files:
335
319
  - test/factories/discovery_host_related.rb
336
320
  - test/factories/discovery_rule_related.rb
321
+ - test/facts/bond0-eth0-eth1-active-passive.json
337
322
  - test/facts/default.json
338
323
  - test/facts/dell_npars.json
339
324
  - test/facts/dell_vlan.json
340
325
  - test/facts/facts_with_lldp.json
326
+ - test/facts/facts_with_lldp_bond_candidate.json
341
327
  - test/facts/pxeless-vlan.json
342
328
  - test/facts/regular_host.json
343
329
  - test/facts/rhel-dl380-1kdisks.json
@@ -346,27 +332,25 @@ test_files:
346
332
  - test/facts/simple-bond.json
347
333
  - test/facts/suse-vmware.json
348
334
  - test/facts/vmware_local.json
349
- - test/facts/bond0-eth0-eth1-active-passive.json
350
- - test/facts/facts_with_lldp_bond_candidate.json
351
335
  - test/facts/only-ipv6.json
352
336
  - test/facts/skylake-ipv6.json
353
337
  - test/functional/api/v2/discovery_rules_controller_test.rb
354
338
  - test/functional/api/v2/discovered_hosts_controller_test.rb
355
339
  - test/functional/api/v2/fact_value_extensions_test.rb
356
340
  - test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb
357
- - test/functional/discovery_rules_controller_test.rb
358
341
  - test/functional/discovered_hosts_controller_test.rb
342
+ - test/functional/discovery_rules_controller_test.rb
359
343
  - test/integration/discovered_hosts_test.rb
360
- - test/unit/ui_notifications/destroy_host_test.rb
361
- - test/unit/ui_notifications/new_host_test.rb
362
344
  - test/unit/discovered_mailer_test.rb
363
345
  - test/unit/discovery_taxonomy_extensions_test.rb
364
346
  - test/unit/lldp_neighbors_test.rb
365
- - test/unit/discovery_rule_test.rb
366
- - test/unit/fact_to_category_resolver_test.rb
347
+ - test/unit/ui_notifications/destroy_host_test.rb
348
+ - test/unit/ui_notifications/new_host_test.rb
349
+ - test/unit/discovered_extensions_test.rb
367
350
  - test/unit/discovery_attribute_set_test.rb
351
+ - test/unit/discovery_rule_test.rb
368
352
  - test/unit/fact_parser_test.rb
369
- - test/unit/discovered_extensions_test.rb
353
+ - test/unit/fact_to_category_resolver_test.rb
370
354
  - test/unit/host_discovered_test.rb
371
355
  - test/unit/managed_extensions_test.rb
372
356
  - test/test_helper_discovery.rb