foreman_discovery 21.0.0 → 21.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: 96449844722349c5dbde7fe09e0ca06051bf7fa1a7bb87c36de52a103d505611
4
- data.tar.gz: cb1bb8e19220de291965b37329d49231b58f40898936cba633be93f6ba5e2009
3
+ metadata.gz: f46a7cb5e8d9844eab1344f89727588ea50ac3a4b4132b9f57b31c59890654f4
4
+ data.tar.gz: 616421f009b108959eb3620b962a34ae1272cf0aaeee05969b531cbe9c23062d
5
5
  SHA512:
6
- metadata.gz: 5f09bca16062aba8ae5d80ec8a2b9498dbaef24eef21f12702472ae0cce9bc083fa2a8635b968b09eeeba321fe63cfc3193d4fc4376c6cbacba0692f2dc4c9aa
7
- data.tar.gz: 80b2978cc54e2790cd4bb17848e92a9831dfac040c47e138b600522a17bb92f8cbd07120af2f3830e107330d057870262a7be5b7b8a2c9cb75a9e84bc7e56f47
6
+ metadata.gz: c58e346d7b486ac0fe4d0e97abd4253af4f80d5f3bcd1895e9e989a53b75deb41570485c29126f43346714cacdb06dedf4ae7e20eed399132e93c964b92f07dd
7
+ data.tar.gz: 05353a4e56ddec1d1c2d97c127b8c18d34bc69055404d98893eec32922e43a24bbfcee5ba5f422f4c0252724ccab544b3c50406197eae8d5cb325ab01f4f0bd5
@@ -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']
@@ -22,6 +22,10 @@ ProvisioningTemplate.without_auditing do
22
22
  tmpl.template = content
23
23
  tmpl.organizations = organizations
24
24
  tmpl.locations = locations
25
+
26
+ metadata = Template.parse_metadata(content)
27
+ tmpl.description = metadata['description']
28
+
25
29
  tmpl.save!(:validate => false) if tmpl.changes.present?
26
30
  end
27
- end
31
+ end
@@ -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 organization"),
67
+ description: N_("The default organization 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.3"
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.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aditi Puntambekar
@@ -14,6 +14,7 @@ authors:
14
14
  - Avi Sharvit
15
15
  - Bryan Kearney
16
16
  - bshuster
17
+ - ChairmanTubeAmp
17
18
  - Daniel Lobato
18
19
  - Daniel Lobato Garcia
19
20
  - Daniel Lobato García
@@ -26,7 +27,6 @@ authors:
26
27
  - Ewoud Kohl van Wijngaarden
27
28
  - Frank Wall
28
29
  - Greg Sutcliffe
29
- - ChairmanTubeAmp
30
30
  - Ido Kanner
31
31
  - imriz
32
32
  - Imri Zvik
@@ -48,10 +48,11 @@ authors:
48
48
  - Matt Jarvis
49
49
  - Michael Moll
50
50
  - Nick
51
+ - nofar
51
52
  - odovzhenko
52
53
  - Ohad Levy
53
- - Ondrej Prazak
54
54
  - Ondřej Ezr
55
+ - Ondrej Prazak
55
56
  - Ori Rabin
56
57
  - orrabin
57
58
  - Partha Aji
@@ -76,7 +77,7 @@ authors:
76
77
  autorequire:
77
78
  bindir: bin
78
79
  cert_chain: []
79
- date: 2022-03-17 00:00:00.000000000 Z
80
+ date: 2022-09-06 00:00:00.000000000 Z
80
81
  dependencies: []
81
82
  description: MaaS Discovery Plugin engine for Foreman
82
83
  email: gsutclif@redhat.com
@@ -203,51 +204,35 @@ files:
203
204
  - lib/foreman_discovery/engine.rb
204
205
  - lib/foreman_discovery/version.rb
205
206
  - locale/ca/LC_MESSAGES/foreman_discovery.mo
206
- - locale/ca/foreman_discovery.edit.po
207
207
  - locale/ca/foreman_discovery.po
208
208
  - locale/de/LC_MESSAGES/foreman_discovery.mo
209
- - locale/de/foreman_discovery.edit.po
210
209
  - locale/de/foreman_discovery.po
211
210
  - locale/en/LC_MESSAGES/foreman_discovery.mo
212
- - locale/en/foreman_discovery.edit.po
213
211
  - locale/en/foreman_discovery.po
214
212
  - locale/en_GB/LC_MESSAGES/foreman_discovery.mo
215
- - locale/en_GB/foreman_discovery.edit.po
216
213
  - locale/en_GB/foreman_discovery.po
217
214
  - locale/es/LC_MESSAGES/foreman_discovery.mo
218
- - locale/es/foreman_discovery.edit.po
219
215
  - locale/es/foreman_discovery.po
220
216
  - locale/foreman_discovery.pot
221
217
  - locale/fr/LC_MESSAGES/foreman_discovery.mo
222
- - locale/fr/foreman_discovery.edit.po
223
218
  - locale/fr/foreman_discovery.po
224
219
  - locale/gl/LC_MESSAGES/foreman_discovery.mo
225
- - locale/gl/foreman_discovery.edit.po
226
220
  - locale/gl/foreman_discovery.po
227
221
  - locale/it/LC_MESSAGES/foreman_discovery.mo
228
- - locale/it/foreman_discovery.edit.po
229
222
  - locale/it/foreman_discovery.po
230
223
  - locale/ja/LC_MESSAGES/foreman_discovery.mo
231
- - locale/ja/foreman_discovery.edit.po
232
224
  - locale/ja/foreman_discovery.po
233
225
  - locale/ko/LC_MESSAGES/foreman_discovery.mo
234
- - locale/ko/foreman_discovery.edit.po
235
226
  - locale/ko/foreman_discovery.po
236
- - locale/messages.mo
237
227
  - locale/pt_BR/LC_MESSAGES/foreman_discovery.mo
238
- - locale/pt_BR/foreman_discovery.edit.po
239
228
  - locale/pt_BR/foreman_discovery.po
240
229
  - locale/ru/LC_MESSAGES/foreman_discovery.mo
241
- - locale/ru/foreman_discovery.edit.po
242
230
  - locale/ru/foreman_discovery.po
243
231
  - locale/sv_SE/LC_MESSAGES/foreman_discovery.mo
244
- - locale/sv_SE/foreman_discovery.edit.po
245
232
  - locale/sv_SE/foreman_discovery.po
246
233
  - locale/zh_CN/LC_MESSAGES/foreman_discovery.mo
247
- - locale/zh_CN/foreman_discovery.edit.po
248
234
  - locale/zh_CN/foreman_discovery.po
249
235
  - locale/zh_TW/LC_MESSAGES/foreman_discovery.mo
250
- - locale/zh_TW/foreman_discovery.edit.po
251
236
  - locale/zh_TW/foreman_discovery.po
252
237
  - package.json
253
238
  - test/factories/discovery_host_related.rb
@@ -334,24 +319,24 @@ summary: MaaS Discovery Plugin for Foreman
334
319
  test_files:
335
320
  - test/factories/discovery_host_related.rb
336
321
  - test/factories/discovery_rule_related.rb
322
+ - test/facts/bond0-eth0-eth1-active-passive.json
337
323
  - test/facts/default.json
338
324
  - test/facts/dell_npars.json
339
325
  - test/facts/dell_vlan.json
340
326
  - test/facts/facts_with_lldp.json
327
+ - test/facts/facts_with_lldp_bond_candidate.json
328
+ - test/facts/only-ipv6.json
341
329
  - test/facts/pxeless-vlan.json
342
330
  - test/facts/regular_host.json
343
331
  - test/facts/rhel-dl380-1kdisks.json
344
332
  - test/facts/rhel-r730.json
345
333
  - test/facts/rhel7-vlan.json
346
334
  - test/facts/simple-bond.json
335
+ - test/facts/skylake-ipv6.json
347
336
  - test/facts/suse-vmware.json
348
337
  - test/facts/vmware_local.json
349
- - test/facts/bond0-eth0-eth1-active-passive.json
350
- - test/facts/facts_with_lldp_bond_candidate.json
351
- - test/facts/only-ipv6.json
352
- - test/facts/skylake-ipv6.json
353
- - test/functional/api/v2/discovery_rules_controller_test.rb
354
338
  - test/functional/api/v2/discovered_hosts_controller_test.rb
339
+ - test/functional/api/v2/discovery_rules_controller_test.rb
355
340
  - test/functional/api/v2/fact_value_extensions_test.rb
356
341
  - test/functional/foreman_discovery/concerns/hosts_controller_extensions_test.rb
357
342
  - test/functional/discovery_rules_controller_test.rb
@@ -359,14 +344,14 @@ test_files:
359
344
  - test/integration/discovered_hosts_test.rb
360
345
  - test/unit/ui_notifications/destroy_host_test.rb
361
346
  - test/unit/ui_notifications/new_host_test.rb
347
+ - test/unit/discovered_extensions_test.rb
362
348
  - test/unit/discovered_mailer_test.rb
363
- - test/unit/discovery_taxonomy_extensions_test.rb
364
- - test/unit/lldp_neighbors_test.rb
365
- - test/unit/discovery_rule_test.rb
366
- - test/unit/fact_to_category_resolver_test.rb
367
349
  - test/unit/discovery_attribute_set_test.rb
350
+ - test/unit/discovery_rule_test.rb
351
+ - test/unit/discovery_taxonomy_extensions_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
354
+ - test/unit/lldp_neighbors_test.rb
370
355
  - test/unit/host_discovered_test.rb
371
356
  - test/unit/managed_extensions_test.rb
372
357
  - test/test_helper_discovery.rb