foreman_rh_cloud 7.0.45 → 7.0.46

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: 8ccb21d6d17487bea0ab663a295419706f007207d62c41fc7e0fce30071fdbd0
4
- data.tar.gz: 7f45fd6cb0dfaca6ecd7d0a8a59488aebc91ef9a773056774c062da4623443d7
3
+ metadata.gz: 1383b077fcadc72b19517f0ed1173aec5ac958a207e8b04a6119e91b75b062c0
4
+ data.tar.gz: 98783f069cfd8cbc89e2a295b0433437ec3d88b168ccef7c2b7c42b851d07929
5
5
  SHA512:
6
- metadata.gz: 9f4a974b345a78cfb4071f6648effb5715e7dcd44fe8e0a0dd2a634a03db788a8b7f819bd785974ad378c3b1a8cb01ee1c58a428753335d732da7b2e3192c9a6
7
- data.tar.gz: e3319409f79b9de5eb04fe8bfd07b0efa99d4065bf2a41ef78cfb7db8d210bdbdb0a030c1b3feb406d9ba41627343c5afe2a8f301f22467bfb7eb15fba3c454d
6
+ metadata.gz: 711977116c1b74dfd5b528bf7298df5f9c5da3dda6f63a788ed4ea8f82e76b62139d5d4417b4af19ca3e564e0764d99cc38ca30a496b1f78fd170829fef11017
7
+ data.tar.gz: 78f1a3584c4eea9f64d49cf4be866cd41074e04264c860d22332205124c312c62372cde26435e1e4bfe7303a7574754cbab3f49e3f1c3a31a6abe65c4363890c
@@ -2,6 +2,6 @@
2
2
 
3
3
  class FixRhCloudSettingsCategoryToDsl < ActiveRecord::Migration[6.0]
4
4
  def up
5
- Setting.where(category: 'Setting::RhCloud').update_all(category: 'Setting')
5
+ Setting.where(category: 'Setting::RhCloud').update_all(category: 'Setting') if column_exists?(:settings, :category)
6
6
  end
7
7
  end
@@ -109,6 +109,18 @@ module ForemanInventoryUpload
109
109
  IPAddr.new(max_obfuscated + 1, Socket::AF_INET).to_s
110
110
  end
111
111
 
112
+ def hostname_match
113
+ bash_hostname = `uname -n`.chomp
114
+ foreman_hostname = ForemanRhCloud.foreman_host&.name
115
+ if bash_hostname == foreman_hostname
116
+ fqdn(foreman_hostname)
117
+ elsif Setting[:obfuscate_inventory_hostnames]
118
+ obfuscate_fqdn(bash_hostname)
119
+ else
120
+ bash_hostname
121
+ end
122
+ end
123
+
112
124
  def bios_uuid(host)
113
125
  value = fact_value(host, 'dmi::system::uuid') || ''
114
126
  uuid_value(value)
@@ -1,6 +1,7 @@
1
1
  module ForemanInventoryUpload
2
2
  module Generators
3
3
  class Metadata
4
+ include FactHelpers
4
5
  def initialize(output = [])
5
6
  @stream = JsonStream.new(output)
6
7
  end
@@ -28,6 +29,9 @@ module ForemanInventoryUpload
28
29
  @stream.simple_field('report_id', Foreman.uuid)
29
30
  @stream.simple_field('host_inventory_api_version', '1.0')
30
31
  @stream.simple_field('source', 'Satellite')
32
+ @stream.simple_field('reporting_host_name', hostname_match)
33
+ @stream.simple_field('reporting_host_ips', host_ips(ForemanRhCloud.foreman_host))
34
+ @stream.simple_field('reporting_host_bios_uuid', bios_uuid(ForemanRhCloud.foreman_host))
31
35
  @stream.simple_field('source_metadata', metadata)
32
36
  @stream.object_field('report_slices', :last) do
33
37
  yield(self)
@@ -1,3 +1,3 @@
1
1
  module ForemanRhCloud
2
- VERSION = '7.0.45'.freeze
2
+ VERSION = '7.0.46'.freeze
3
3
  end
@@ -0,0 +1,63 @@
1
+ require 'io/console'
2
+
3
+ namespace :rh_cloud do |args|
4
+ desc 'Register Satellite Organization with Hybrid Cloud API. \
5
+ Specify org_id=x replace your organization ID with x. \
6
+ Specify SATELLITE_RH_CLOUD_URL=https://x with the Hybrid Cloud endpoint you are connecting to.'
7
+ task hybridcloud_register: [:environment] do
8
+ include ::ForemanRhCloud::CertAuth
9
+ include ::InsightsCloud::CandlepinCache
10
+
11
+ def logger
12
+ @logger ||= Logger.new(STDOUT)
13
+ end
14
+
15
+ def registrations_url
16
+ logger.warn("Custom url is not set, using the default one: #{ForemanRhCloud.base_url}") if ENV['SATELLITE_RH_CLOUD_URL'].empty?
17
+ ForemanRhCloud.base_url + '/api/identity/certificate/registrations'
18
+ end
19
+
20
+ if ENV['org_id'].nil?
21
+ logger.error('ERROR: org_id needs to be specified.')
22
+ exit(1)
23
+ end
24
+
25
+ organization = Organization.find_by(id: ENV['org_id'].to_i) # saw this coming in as a string, so making sure it gets passed as an integer.
26
+
27
+ @uid = cp_owner_id(organization)
28
+ logger.error('Organization provided does not have a manifest imported.') + exit(1) if @uid.nil?
29
+
30
+ puts 'Paste your token, output will be hidden.'
31
+ @token = STDIN.noecho(&:gets).chomp
32
+ logger.error('Token was not entered.') + exit(1) if @token.empty?
33
+
34
+ def headers
35
+ {
36
+ Authorization: "Bearer #{@token}"
37
+ }
38
+ end
39
+
40
+ def payload
41
+ {
42
+ "uid": @uid
43
+ }
44
+ end
45
+
46
+ def method
47
+ :post
48
+ end
49
+
50
+ begin
51
+ response = execute_cloud_request(
52
+ organization: organization,
53
+ method: method,
54
+ url: registrations_url,
55
+ headers: headers,
56
+ payload: payload.to_json
57
+ )
58
+ logger.debug(response)
59
+ rescue Exception => ex
60
+ logger.error(ex)
61
+ end
62
+ end
63
+ end
@@ -1,19 +1,1102 @@
1
- # foreman_rh_cloud
2
- #
3
- # This file is distributed under the same license as foreman_rh_cloud.
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_rh_cloud package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
4
5
  #
5
6
  #, fuzzy
6
7
  msgid ""
7
8
  msgstr ""
8
- "Project-Id-Version: version 0.0.1\n"
9
+ "Project-Id-Version: foreman_rh_cloud 1.0.0\n"
9
10
  "Report-Msgid-Bugs-To: \n"
10
- "POT-Creation-Date: 2014-08-20 08:46+0100\n"
11
- "PO-Revision-Date: 2014-08-20 08:46+0100\n"
12
- "Last-Translator: Foreman Team <foreman-dev@googlegroups.com>\n"
13
- "Language-Team: Foreman Team <foreman-dev@googlegroups.com>\n"
11
+ "POT-Creation-Date: 2023-01-20 15:02+0100\n"
12
+ "PO-Revision-Date: 2023-01-20 15:02+0100\n"
13
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
14
+ "Language-Team: LANGUAGE <LL@li.org>\n"
14
15
  "Language: \n"
15
16
  "MIME-Version: 1.0\n"
16
17
  "Content-Type: text/plain; charset=UTF-8\n"
17
18
  "Content-Transfer-Encoding: 8bit\n"
18
19
  "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
19
20
 
21
+ #: ../app/controllers/api/v2/rh_cloud/inventory_controller.rb:9
22
+ msgid "Download latest report"
23
+ msgstr ""
24
+
25
+ #: ../app/controllers/api/v2/rh_cloud/inventory_controller.rb:10
26
+ #: ../app/controllers/api/v2/rh_cloud/inventory_controller.rb:20
27
+ #: ../app/controllers/api/v2/rh_cloud/inventory_controller.rb:32
28
+ msgid "Set the current organization context for the request"
29
+ msgstr ""
30
+
31
+ #: ../app/controllers/api/v2/rh_cloud/inventory_controller.rb:19
32
+ msgid "Start report generation"
33
+ msgstr ""
34
+
35
+ #: ../app/controllers/api/v2/rh_cloud/inventory_controller.rb:31
36
+ msgid "Start inventory synchronization"
37
+ msgstr ""
38
+
39
+ #: ../app/controllers/api/v2/rh_cloud/inventory_controller.rb:45
40
+ msgid "Enable cloud connector"
41
+ msgstr ""
42
+
43
+ #: ../app/controllers/concerns/inventory_upload/report_actions.rb:6
44
+ msgid "The report file %{filename} doesn't exist"
45
+ msgstr ""
46
+
47
+ #: ../app/controllers/concerns/inventory_upload/task_actions.rb:6
48
+ msgid "Nothing to sync, there are no hosts with subscription for this organization."
49
+ msgstr ""
50
+
51
+ #: ../app/controllers/foreman_inventory_upload/tasks_controller.rb:19
52
+ msgid "No task was found"
53
+ msgstr ""
54
+
55
+ #: ../app/helpers/foreman_insights_host_helper.rb:7
56
+ #: ../lib/foreman_rh_cloud/engine.rb:130
57
+ #: ../webpack/InsightsHostDetailsTab/InsightsTab.js:46
58
+ msgid "Recommendations"
59
+ msgstr ""
60
+
61
+ #: ../app/helpers/foreman_insights_host_helper.rb:12
62
+ msgid "Host Insights recommendations"
63
+ msgstr ""
64
+
65
+ #: ../app/models/insights_client_report_status.rb:11
66
+ #: ../lib/foreman_rh_cloud/engine.rb:103 ../lib/foreman_rh_cloud/engine.rb:123
67
+ msgid "Insights"
68
+ msgstr ""
69
+
70
+ #: ../app/models/insights_client_report_status.rb:17
71
+ msgid "Reporting"
72
+ msgstr ""
73
+
74
+ #: ../app/models/insights_client_report_status.rb:19
75
+ msgid "Not reporting"
76
+ msgstr ""
77
+
78
+ #: ../app/models/inventory_sync/inventory_status.rb:7
79
+ msgid "Inventory"
80
+ msgstr ""
81
+
82
+ #: ../app/models/inventory_sync/inventory_status.rb:24
83
+ msgid "Host was not uploaded to your RH cloud inventory"
84
+ msgstr ""
85
+
86
+ #: ../app/models/inventory_sync/inventory_status.rb:26
87
+ msgid "Successfully uploaded to your RH cloud inventory"
88
+ msgstr ""
89
+
90
+ #: ../db/seeds.d/179_ui_notifications.rb:3
91
+ #: ../webpack/InsightsCloudSync/InsightsCloudSyncConstants.js:9
92
+ msgid "Red Hat Insights"
93
+ msgstr ""
94
+
95
+ #: ../db/seeds.d/179_ui_notifications.rb:5
96
+ msgid "Satellite server has %{hits_count} recommendations by Red Hat"
97
+ msgstr ""
98
+
99
+ #: ../lib/foreman_inventory_upload/async/delayed_start.rb:22
100
+ msgid "Wait and %s"
101
+ msgstr ""
102
+
103
+ #: ../lib/foreman_inventory_upload/generators/fact_helpers.rb:124
104
+ msgid "Value %{value} is not a valid UUID"
105
+ msgstr ""
106
+
107
+ #:
108
+ #: ../lib/foreman_inventory_upload/notifications/manifest_import_success_notification_override.rb:11
109
+ msgid "Enable inventory upload"
110
+ msgstr ""
111
+
112
+ #: ../lib/foreman_rh_cloud/engine.rb:101 ../lib/foreman_rh_cloud/engine.rb:129
113
+ msgid "RH Cloud"
114
+ msgstr ""
115
+
116
+ #: ../lib/foreman_rh_cloud/engine.rb:102
117
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/InventoryAutoUpload.js:78
118
+ msgid "Inventory Upload"
119
+ msgstr ""
120
+
121
+ #: ../lib/foreman_rh_cloud/engine.rb:161
122
+ msgid "Apply Insights recommendations"
123
+ msgstr ""
124
+
125
+ #: ../lib/foreman_rh_cloud/engine.rb:162
126
+ msgid "Run remediation playbook generated by Insights"
127
+ msgstr ""
128
+
129
+ #: ../lib/foreman_rh_cloud/engine.rb:167
130
+ msgid "Run RH Cloud playbook"
131
+ msgstr ""
132
+
133
+ #: ../lib/foreman_rh_cloud/engine.rb:168
134
+ msgid "Run playbook genrated by Red Hat remediations app"
135
+ msgstr ""
136
+
137
+ #: ../lib/foreman_rh_cloud/engine.rb:174 ../lib/foreman_rh_cloud/engine.rb:175
138
+ msgid "Configure Cloud Connector on given hosts"
139
+ msgstr ""
140
+
141
+ #: ../lib/foreman_rh_cloud/settings.rb:2
142
+ msgid "RHCloud"
143
+ msgstr ""
144
+
145
+ #: ../lib/foreman_rh_cloud/settings.rb:3
146
+ msgid "Enable automatic upload of your host inventory to the Red Hat cloud"
147
+ msgstr ""
148
+
149
+ #: ../lib/foreman_rh_cloud/settings.rb:3
150
+ #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js:6
151
+ msgid "Automatic inventory upload"
152
+ msgstr ""
153
+
154
+ #: ../lib/foreman_rh_cloud/settings.rb:4
155
+ #: ../webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettings.js:20
156
+ msgid ""
157
+ "Enable automatic synchronization of Insights recommendations from the Red Hat "
158
+ "cloud"
159
+ msgstr ""
160
+
161
+ #: ../lib/foreman_rh_cloud/settings.rb:4
162
+ msgid "Synchronize recommendations Automatically"
163
+ msgstr ""
164
+
165
+ #: ../lib/foreman_rh_cloud/settings.rb:5
166
+ #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js:14
167
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/AdvancedSettings.js:19
168
+ msgid "Obfuscate host names sent to the Red Hat cloud"
169
+ msgstr ""
170
+
171
+ #: ../lib/foreman_rh_cloud/settings.rb:5
172
+ #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js:13
173
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/AdvancedSettings.js:18
174
+ msgid "Obfuscate host names"
175
+ msgstr ""
176
+
177
+ #: ../lib/foreman_rh_cloud/settings.rb:6
178
+ #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js:19
179
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/AdvancedSettings.js:34
180
+ msgid "Obfuscate ipv4 addresses sent to the Red Hat cloud"
181
+ msgstr ""
182
+
183
+ #: ../lib/foreman_rh_cloud/settings.rb:6
184
+ #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js:18
185
+ msgid "Obfuscate host ipv4 addresses"
186
+ msgstr ""
187
+
188
+ #: ../lib/foreman_rh_cloud/settings.rb:7
189
+ #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js:24
190
+ msgid "Exclude installed packages from being uploaded to the Red Hat cloud"
191
+ msgstr ""
192
+
193
+ #: ../lib/foreman_rh_cloud/settings.rb:7
194
+ #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js:23
195
+ msgid "Exclude installed Packages"
196
+ msgstr ""
197
+
198
+ #: ../lib/foreman_rh_cloud/settings.rb:8
199
+ msgid "Should import include parameter tags from Foreman?"
200
+ msgstr ""
201
+
202
+ #: ../lib/foreman_rh_cloud/settings.rb:8
203
+ msgid "Include parameters in insights-client reports"
204
+ msgstr ""
205
+
206
+ #: ../lib/foreman_rh_cloud/settings.rb:9
207
+ msgid "RHC daemon id"
208
+ msgstr ""
209
+
210
+ #: ../lib/foreman_rh_cloud/settings.rb:9
211
+ msgid "ID of the RHC(Yggdrasil) daemon"
212
+ msgstr ""
213
+
214
+ #: ../lib/insights_cloud/async/insights_generate_notifications.rb:50
215
+ msgid "Fix host"
216
+ msgstr ""
217
+
218
+ #:
219
+ #: ../webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyResults/EmptyResults.js:10
220
+ msgid "Oops! Couldn't find organization that matches your query"
221
+ msgstr ""
222
+
223
+ #:
224
+ #: ../webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/EmptyState.js:10
225
+ msgid "Fetching data about your accounts"
226
+ msgstr ""
227
+
228
+ #:
229
+ #: ../webpack/ForemanInventoryUpload/Components/AccountList/Components/EmptyState/EmptyState.js:12
230
+ msgid "Loading..."
231
+ msgstr ""
232
+
233
+ #:
234
+ #: ../webpack/ForemanInventoryUpload/Components/AccountList/Components/ErrorState/ErrorState.js:10
235
+ msgid "Encountered an error while trying to access the server:"
236
+ msgstr ""
237
+
238
+ #:
239
+ #: ../webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatus.js:17
240
+ #: ../webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.js:57
241
+ msgid "Generating"
242
+ msgstr ""
243
+
244
+ #:
245
+ #: ../webpack/ForemanInventoryUpload/Components/AccountList/Components/ListItemStatus/ListItemStatus.js:21
246
+ #: ../webpack/ForemanInventoryUpload/Components/Dashboard/Dashboard.js:69
247
+ msgid "Uploading"
248
+ msgstr ""
249
+
250
+ #: ../webpack/ForemanInventoryUpload/Components/FileDownload/FileDownload.js:12
251
+ #: ../webpack/ForemanInventoryUpload/Components/TabHeader/TabHeader.js:27
252
+ msgid "Download Report"
253
+ msgstr ""
254
+
255
+ #:
256
+ #: ../webpack/ForemanInventoryUpload/Components/FullScreenModal/FullScreenModal.js:28
257
+ #: ../webpack/ForemanInventoryUpload/Components/TabHeader/TabHeader.js:31
258
+ msgid "Full Screen"
259
+ msgstr ""
260
+
261
+ #:
262
+ #: ../webpack/ForemanInventoryUpload/Components/InventoryFilter/Components/ClearButton/ClearButton.js:10
263
+ msgid "Clear"
264
+ msgstr ""
265
+
266
+ #:
267
+ #: ../webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilter.js:31
268
+ msgid "Filter.."
269
+ msgstr ""
270
+
271
+ #:
272
+ #: ../webpack/ForemanInventoryUpload/Components/InventoryFilter/InventoryFilterConstants.js:5
273
+ msgid "Any Organization"
274
+ msgstr ""
275
+
276
+ #:
277
+ #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/AdvancedSetting/AdvancedSettingsConstants.js:7
278
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/InventoryAutoUpload.js:34
279
+ msgid "Enable automatic upload of your hosts inventory to the Red Hat cloud"
280
+ msgstr ""
281
+
282
+ #:
283
+ #: ../webpack/ForemanInventoryUpload/Components/InventorySettings/InventorySettings.js:11
284
+ msgid "Settings"
285
+ msgstr ""
286
+
287
+ #:
288
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorActions.js:14
289
+ msgid "Cloud connector setup is in progress now: "
290
+ msgstr ""
291
+
292
+ #:
293
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorActions.js:16
294
+ msgid "Cloud connector job link"
295
+ msgstr ""
296
+
297
+ #:
298
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorActions.js:20
299
+ msgid "Cloud connector setup has failed: "
300
+ msgstr ""
301
+
302
+ #:
303
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorButton.js:16
304
+ msgid "Cloud connector setup has started: "
305
+ msgstr ""
306
+
307
+ #:
308
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorButton.js:18
309
+ msgid "view the job in progress"
310
+ msgstr ""
311
+
312
+ #:
313
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorButton.js:30
314
+ msgid "Cloud Connector is in progress"
315
+ msgstr ""
316
+
317
+ #:
318
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorButton.js:40
319
+ msgid "Reconfigure Cloud Connector"
320
+ msgstr ""
321
+
322
+ #:
323
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/CloudConnectorButton.js:47
324
+ msgid "Configure Cloud Connector"
325
+ msgstr ""
326
+
327
+ #:
328
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js:20
329
+ msgid "Notice"
330
+ msgstr ""
331
+
332
+ #:
333
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudConnectorButton/index.js:21
334
+ msgid "This action will also enable automatic reports upload"
335
+ msgstr ""
336
+
337
+ #:
338
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudPingModal/index.js:84
339
+ msgid "Organization status"
340
+ msgstr ""
341
+
342
+ #:
343
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudPingModal/index.js:87
344
+ msgid "Displays manifest statuses per accessible organizations."
345
+ msgstr ""
346
+
347
+ #:
348
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/CloudPingModal/index.js:94
349
+ msgid "%s organizations"
350
+ msgstr ""
351
+
352
+ #:
353
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js:9
354
+ msgid ""
355
+ "Red Hat Insights is a set of cloud services which provide unified subscription"
356
+ " reporting, predictive analysis and remediation of issues through this Satelli"
357
+ "te instance."
358
+ msgstr ""
359
+
360
+ #:
361
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js:14
362
+ msgid ""
363
+ "You can toggle the Auto upload switch to the ON position to enable Satellite t"
364
+ "o automatically upload your host inventory once a day."
365
+ msgstr ""
366
+
367
+ #:
368
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js:19
369
+ msgid ""
370
+ "Click Restart to upload your host inventory to Red Hat Insights. Perform this "
371
+ "step for each organization from which you want to manually upload a host inven"
372
+ "tory."
373
+ msgstr ""
374
+
375
+ #:
376
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js:24
377
+ msgid ""
378
+ "Enabling inventory uploads is required by subscription watch. For more informa"
379
+ "tion about subscription watch see link:"
380
+ msgstr ""
381
+
382
+ #:
383
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js:33
384
+ msgid "About subscription watch"
385
+ msgstr ""
386
+
387
+ #:
388
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js:37
389
+ msgid "For more information about Insights and Cloud Connector read"
390
+ msgstr ""
391
+
392
+ #:
393
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/PageDescription/PageDescription.js:44
394
+ msgid "Red Hat Insights Data and Application Security"
395
+ msgstr ""
396
+
397
+ #:
398
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/SettingsWarning.js:26
399
+ msgid ""
400
+ "Cloud Connector has been configured however the inventory auto-upload is disab"
401
+ "led, it's recommended to enable it"
402
+ msgstr ""
403
+
404
+ #:
405
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/SettingsWarning/SettingsWarning.js:40
406
+ msgid ""
407
+ "Cloud Connector has been configured however obfuscating host names setting is "
408
+ "enabled, it's recommended to disable it"
409
+ msgstr ""
410
+
411
+ #:
412
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonActions.js:28
413
+ msgid "Inventory sync has started:"
414
+ msgstr ""
415
+
416
+ #:
417
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/SyncButtonActions.js:56
418
+ msgid "Inventory sync has failed: "
419
+ msgstr ""
420
+
421
+ #:
422
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/Toast.js:11
423
+ msgid "Hosts with subscription in organization: "
424
+ msgstr ""
425
+
426
+ #:
427
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/Toast.js:15
428
+ msgid "Successfully synced hosts: "
429
+ msgstr ""
430
+
431
+ #:
432
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/Toast.js:19
433
+ msgid "Disconnected hosts: "
434
+ msgstr ""
435
+
436
+ #:
437
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/Toast.js:23
438
+ msgid "For more info, please visit the"
439
+ msgstr ""
440
+
441
+ #:
442
+ #: ../webpack/ForemanInventoryUpload/Components/PageHeader/components/SyncButton/components/Toast.js:29
443
+ msgid "hosts page"
444
+ msgstr ""
445
+
446
+ #: ../webpack/ForemanInventoryUpload/Components/ScheduledRun/ScheduledRun.js:13
447
+ msgid "Next run: "
448
+ msgstr ""
449
+
450
+ #: ../webpack/ForemanInventoryUpload/Components/StatusChart/StatusChart.js:10
451
+ #: ../webpack/ForemanInventoryUpload/Components/StatusChart/StatusChart.js:41
452
+ msgid "Completed"
453
+ msgstr ""
454
+
455
+ #: ../webpack/ForemanInventoryUpload/Components/StatusChart/StatusChart.js:11
456
+ msgid "Remain"
457
+ msgstr ""
458
+
459
+ #: ../webpack/ForemanInventoryUpload/Components/TabHeader/TabHeader.js:12
460
+ msgid "Exit Code: %s"
461
+ msgstr ""
462
+
463
+ #: ../webpack/ForemanInventoryUpload/Components/TabHeader/TabHeader.js:22
464
+ msgid "Restart"
465
+ msgstr ""
466
+
467
+ #: ../webpack/ForemanInventoryUpload/ForemanInventoryConstants.js:3
468
+ msgid "Red Hat Inventory"
469
+ msgstr ""
470
+
471
+ #: ../webpack/ForemanInventoryUpload/ForemanInventoryConstants.js:5
472
+ msgid "Documentation"
473
+ msgstr ""
474
+
475
+ #: ../webpack/ForemanInventoryUpload/ForemanInventoryConstants.js:7
476
+ msgid "Actions history"
477
+ msgstr ""
478
+
479
+ #: ../webpack/ForemanInventoryUpload/ForemanInventoryConstants.js:9
480
+ msgid " Sync inventory status"
481
+ msgstr ""
482
+
483
+ #: ../webpack/ForemanInventoryUpload/ForemanInventoryConstants.js:11
484
+ msgid "Connectivity test"
485
+ msgstr ""
486
+
487
+ #:
488
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/InventoryAutoUpload.js:28
489
+ msgid "Red Hat Cloud Inventory"
490
+ msgstr ""
491
+
492
+ #:
493
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/InventoryAutoUpload.js:33
494
+ msgid "Inventory Auto Upload"
495
+ msgstr ""
496
+
497
+ #:
498
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/InventoryAutoUpload.js:45
499
+ msgid "Advanced Inventory Settings"
500
+ msgstr ""
501
+
502
+ #:
503
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/InventoryAutoUpload.js:59
504
+ msgid "Show Advanced Settings"
505
+ msgstr ""
506
+
507
+ #:
508
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/InventoryAutoUpload.js:68
509
+ msgid "More details can be found in"
510
+ msgstr ""
511
+
512
+ #:
513
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/InventoryAutoUpload.js:76
514
+ msgid "Configure"
515
+ msgstr ""
516
+
517
+ #:
518
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/AdvancedSettings.js:33
519
+ msgid "Obfuscate IPs"
520
+ msgstr ""
521
+
522
+ #:
523
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/AdvancedSettings.js:48
524
+ msgid "Exclude packages"
525
+ msgstr ""
526
+
527
+ #:
528
+ #: ../webpack/ForemanInventoryUpload/SubscriptionsPageExtension/InventoryAutoUpload/components/AdvancedSettings/AdvancedSettings.js:49
529
+ msgid "Exclude packages from being uploaded to the Red Hat cloud"
530
+ msgstr ""
531
+
532
+ #: ../webpack/InsightsCloudSync/Components/InsightsHeader/index.js:9
533
+ msgid ""
534
+ "Insights synchronization process is used to provide Insights recommendations o"
535
+ "utput for hosts managed here."
536
+ msgstr ""
537
+
538
+ #:
539
+ #: ../webpack/InsightsCloudSync/Components/InsightsSettings/InsightsSettings.js:19
540
+ msgid "Sync automatically"
541
+ msgstr ""
542
+
543
+ #:
544
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:26
545
+ msgid "Playbook"
546
+ msgstr ""
547
+
548
+ #:
549
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:29
550
+ msgid "Manual"
551
+ msgstr ""
552
+
553
+ #:
554
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:41
555
+ #: ../webpack/InsightsCloudSync/Components/ToolbarDropdown.js:23
556
+ #: ../webpack/InsightsHostDetailsTab/NewHostDetailsTab.js:53
557
+ msgid "View in Red Hat Insights"
558
+ msgstr ""
559
+
560
+ #:
561
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:50
562
+ #: ../webpack/InsightsHostDetailsTab/components/ListItem/ListItem.js:30
563
+ msgid "Knowledgebase article"
564
+ msgstr ""
565
+
566
+ #:
567
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:64
568
+ #: ../webpack/InsightsCloudSync/Components/RemediationModal/RemediationTableConstants.js:14
569
+ msgid "Hostname"
570
+ msgstr ""
571
+
572
+ #:
573
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:70
574
+ #: ../webpack/InsightsCloudSync/Components/RemediationModal/RemediationTableConstants.js:18
575
+ msgid "Recommendation"
576
+ msgstr ""
577
+
578
+ #:
579
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:76
580
+ msgid "Total risk"
581
+ msgstr ""
582
+
583
+ #:
584
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:82
585
+ #: ../webpack/InsightsCloudSync/Components/RemediationModal/RemediationModal.js:51
586
+ #: ../webpack/InsightsCloudSync/Components/RemediationModal/RemediationModalFooter.js:13
587
+ msgid "Remediate"
588
+ msgstr ""
589
+
590
+ #:
591
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:101
592
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/Pagination.js:19
593
+ msgid "items"
594
+ msgstr ""
595
+
596
+ #:
597
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:102
598
+ msgid "page"
599
+ msgstr ""
600
+
601
+ #:
602
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:103
603
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:109
604
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/Pagination.js:21
605
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/Pagination.js:27
606
+ msgid "Items per page"
607
+ msgstr ""
608
+
609
+ #:
610
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:104
611
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/Pagination.js:22
612
+ msgid "per page"
613
+ msgstr ""
614
+
615
+ #:
616
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:105
617
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/Pagination.js:23
618
+ msgid "Go to first page"
619
+ msgstr ""
620
+
621
+ #:
622
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:106
623
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/Pagination.js:24
624
+ msgid "Go to previous page"
625
+ msgstr ""
626
+
627
+ #:
628
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:107
629
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/Pagination.js:25
630
+ msgid "Go to last page"
631
+ msgstr ""
632
+
633
+ #:
634
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:108
635
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/Pagination.js:26
636
+ msgid "Go to next page"
637
+ msgstr ""
638
+
639
+ #:
640
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:110
641
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/Pagination.js:28
642
+ msgid "Current page"
643
+ msgstr ""
644
+
645
+ #:
646
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/InsightsTableConstants.js:111
647
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/Pagination.js:29
648
+ msgid "Pagination"
649
+ msgstr ""
650
+
651
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/SelectAllAlert.js:21
652
+ msgid "Recommendations selected: %s."
653
+ msgstr ""
654
+
655
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/SelectAllAlert.js:24
656
+ msgid "Select recommendations from all pages"
657
+ msgstr ""
658
+
659
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/SelectAllAlert.js:35
660
+ msgid "All recommendations are now selected."
661
+ msgstr ""
662
+
663
+ #: ../webpack/InsightsCloudSync/Components/InsightsTable/SelectAllAlert.js:38
664
+ msgid "Clear Selection"
665
+ msgstr ""
666
+
667
+ #:
668
+ #: ../webpack/InsightsCloudSync/Components/RemediationModal/RemediationModal.js:57
669
+ msgid "Remediation summary"
670
+ msgstr ""
671
+
672
+ #:
673
+ #: ../webpack/InsightsCloudSync/Components/RemediationModal/RemediationModalFooter.js:16
674
+ msgid "Cancel"
675
+ msgstr ""
676
+
677
+ #:
678
+ #: ../webpack/InsightsCloudSync/Components/RemediationModal/RemediationTableConstants.js:8
679
+ msgid "No"
680
+ msgstr ""
681
+
682
+ #:
683
+ #: ../webpack/InsightsCloudSync/Components/RemediationModal/RemediationTableConstants.js:22
684
+ msgid "Resolution"
685
+ msgstr ""
686
+
687
+ #:
688
+ #: ../webpack/InsightsCloudSync/Components/RemediationModal/RemediationTableConstants.js:26
689
+ msgid "Reboot Required"
690
+ msgstr ""
691
+
692
+ #: ../webpack/InsightsCloudSync/Components/ToolbarDropdown.js:15
693
+ msgid "Sync recommendations"
694
+ msgstr ""
695
+
696
+ #: ../webpack/InsightsCloudSync/InsightsCloudSyncActions.js:28
697
+ msgid "Recommendation sync has failed: "
698
+ msgstr ""
699
+
700
+ #: ../webpack/InsightsCloudSync/InsightsCloudSyncActions.js:31
701
+ msgid "Recommendation sync has started: "
702
+ msgstr ""
703
+
704
+ #: ../webpack/InsightsCloudSync/InsightsCloudSyncActions.js:43
705
+ msgid "Recommendations synced successfully"
706
+ msgstr ""
707
+
708
+ #: ../webpack/InsightsHostDetailsTab/InsightsTab.js:20
709
+ msgid "No recommendations were found for this host!"
710
+ msgstr ""
711
+
712
+ #: ../webpack/InsightsHostDetailsTab/InsightsTabConstants.js:9
713
+ #: ../webpack/InsightsHostDetailsTab/components/ListItem/ListItem.js:7
714
+ msgid "Low"
715
+ msgstr ""
716
+
717
+ #: ../webpack/InsightsHostDetailsTab/InsightsTabConstants.js:14
718
+ #: ../webpack/InsightsHostDetailsTab/components/ListItem/ListItem.js:8
719
+ msgid "Moderate"
720
+ msgstr ""
721
+
722
+ #: ../webpack/InsightsHostDetailsTab/InsightsTabConstants.js:19
723
+ #: ../webpack/InsightsHostDetailsTab/components/ListItem/ListItem.js:9
724
+ msgid "Important"
725
+ msgstr ""
726
+
727
+ #: ../webpack/InsightsHostDetailsTab/InsightsTabConstants.js:24
728
+ #: ../webpack/InsightsHostDetailsTab/components/ListItem/ListItem.js:10
729
+ msgid "Critical"
730
+ msgstr ""
731
+
732
+ #: ../webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js:120
733
+ msgid "Total risks"
734
+ msgstr ""
735
+
736
+ #: ../webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js:127
737
+ msgid "View all recommendations"
738
+ msgstr ""
739
+
740
+ #: ../webpack/InsightsHostDetailsTab/InsightsTotalRiskChart.js:136
741
+ msgid "No results found"
742
+ msgstr ""
743
+
744
+ #: ../webpack/InsightsHostDetailsTab/NewHostDetailsTab.js:40
745
+ msgid "Go to Satellite Insights page"
746
+ msgstr ""
747
+
748
+ #: ../webpack/InsightsHostDetailsTab/components/ListItem/ListItem.js:38
749
+ msgid "Read more about it in RH cloud insights"
750
+ msgstr ""
751
+
752
+ #: ../webpack/common/ForemanTasks/ForemanTasksActions.js:30
753
+ msgid "The task failed with the following error:"
754
+ msgstr ""
755
+
756
+ #: ../webpack/common/ForemanTasks/ForemanTasksActions.js:57
757
+ msgid "view the task page for more details"
758
+ msgstr ""
759
+
760
+ #: ../webpack/common/table/EmptyState.js:22
761
+ msgid "Loading"
762
+ msgstr ""
763
+
764
+ #: ../webpack/common/table/EmptyState.js:34
765
+ msgid "The server returned the following error: %s"
766
+ msgstr ""
767
+
768
+ #: action_names.rb:2
769
+ msgid "Abstract async task"
770
+ msgstr ""
771
+
772
+ #: action_names.rb:3
773
+ msgid "Abstract"
774
+ msgstr ""
775
+
776
+ #: action_names.rb:4
777
+ msgid "Action with sub plans"
778
+ msgstr ""
779
+
780
+ #: action_names.rb:5
781
+ msgid "Agent action"
782
+ msgstr ""
783
+
784
+ #: action_names.rb:6
785
+ msgid "Attach subscriptions"
786
+ msgstr ""
787
+
788
+ #: action_names.rb:7
789
+ msgid "Auto attach subscriptions"
790
+ msgstr ""
791
+
792
+ #: action_names.rb:8
793
+ msgid "Bulk generate applicability for hosts"
794
+ msgstr ""
795
+
796
+ #: action_names.rb:9
797
+ msgid "Combined Profile Update"
798
+ msgstr ""
799
+
800
+ #: action_names.rb:10
801
+ msgid "Copy version units to library"
802
+ msgstr ""
803
+
804
+ #: action_names.rb:11
805
+ msgid "Create Alternate Content Source"
806
+ msgstr ""
807
+
808
+ #: action_names.rb:12
809
+ msgid "Create Export History"
810
+ msgstr ""
811
+
812
+ #: action_names.rb:13
813
+ msgid "Create Import History"
814
+ msgstr ""
815
+
816
+ #: action_names.rb:14
817
+ msgid "Create Package Group"
818
+ msgstr ""
819
+
820
+ #: action_names.rb:15
821
+ msgid "Create Syncable Export History"
822
+ msgstr ""
823
+
824
+ #: action_names.rb:16
825
+ msgid "Create"
826
+ msgstr ""
827
+
828
+ #: action_names.rb:17
829
+ msgid "Delete Activation Key"
830
+ msgstr ""
831
+
832
+ #: action_names.rb:18
833
+ msgid "Delete Lifecycle Environment"
834
+ msgstr ""
835
+
836
+ #: action_names.rb:19
837
+ msgid "Delete Package Group"
838
+ msgstr ""
839
+
840
+ #: action_names.rb:20
841
+ msgid "Delete Product"
842
+ msgstr ""
843
+
844
+ #: action_names.rb:21
845
+ msgid "Delete"
846
+ msgstr ""
847
+
848
+ #: action_names.rb:22
849
+ msgid "Destroy Alternate Content Source"
850
+ msgstr ""
851
+
852
+ #: action_names.rb:23
853
+ msgid "Destroy Content Host"
854
+ msgstr ""
855
+
856
+ #: action_names.rb:24
857
+ msgid "Destroy"
858
+ msgstr ""
859
+
860
+ #: action_names.rb:25
861
+ msgid "Disable"
862
+ msgstr ""
863
+
864
+ #: action_names.rb:26
865
+ msgid "Discover"
866
+ msgstr ""
867
+
868
+ #: action_names.rb:27
869
+ msgid "Enable"
870
+ msgstr ""
871
+
872
+ #: action_names.rb:28
873
+ msgid "Errata mail"
874
+ msgstr ""
875
+
876
+ #: action_names.rb:29
877
+ msgid "Export Library"
878
+ msgstr ""
879
+
880
+ #: action_names.rb:30
881
+ msgid "Export Repository"
882
+ msgstr ""
883
+
884
+ #: action_names.rb:31
885
+ msgid "Export"
886
+ msgstr ""
887
+
888
+ #: action_names.rb:32
889
+ msgid "Fetch pxe files"
890
+ msgstr ""
891
+
892
+ #: action_names.rb:33
893
+ msgid "Filtered index content"
894
+ msgstr ""
895
+
896
+ #: action_names.rb:34
897
+ msgid "Generate host applicability"
898
+ msgstr ""
899
+
900
+ #: action_names.rb:35
901
+ msgid "Generate repository applicability"
902
+ msgstr ""
903
+
904
+ #: action_names.rb:36
905
+ msgid "Hypervisors update"
906
+ msgstr ""
907
+
908
+ #: action_names.rb:37
909
+ msgid "Hypervisors"
910
+ msgstr ""
911
+
912
+ #: action_names.rb:38
913
+ msgid "Import Content View Version"
914
+ msgstr ""
915
+
916
+ #: action_names.rb:39
917
+ msgid "Import Default Content View"
918
+ msgstr ""
919
+
920
+ #: action_names.rb:40
921
+ msgid "Import Puppet classes"
922
+ msgstr ""
923
+
924
+ #: action_names.rb:41
925
+ msgid "Import Repository"
926
+ msgstr ""
927
+
928
+ #: action_names.rb:42
929
+ msgid "Import facts"
930
+ msgstr ""
931
+
932
+ #: action_names.rb:43
933
+ msgid "Import"
934
+ msgstr ""
935
+
936
+ #: action_names.rb:44
937
+ msgid "Incremental Update of Content View Version(s) "
938
+ msgstr ""
939
+
940
+ #: action_names.rb:45
941
+ msgid "Incremental Update"
942
+ msgstr ""
943
+
944
+ #: action_names.rb:46
945
+ msgid "Index content"
946
+ msgstr ""
947
+
948
+ #: action_names.rb:47
949
+ msgid "Index errata"
950
+ msgstr ""
951
+
952
+ #: action_names.rb:48
953
+ msgid "Index module streams"
954
+ msgstr ""
955
+
956
+ #: action_names.rb:49
957
+ msgid "Index package groups"
958
+ msgstr ""
959
+
960
+ #: action_names.rb:50
961
+ msgid "Install Applicable Errata"
962
+ msgstr ""
963
+
964
+ #: action_names.rb:51
965
+ msgid "Instance update"
966
+ msgstr ""
967
+
968
+ #: action_names.rb:52
969
+ msgid "Package Profile Update"
970
+ msgstr ""
971
+
972
+ #: action_names.rb:53
973
+ msgid "Product Create"
974
+ msgstr ""
975
+
976
+ #: action_names.rb:54
977
+ msgid "Promote"
978
+ msgstr ""
979
+
980
+ #: action_names.rb:55
981
+ msgid "Promotion to Environment"
982
+ msgstr ""
983
+
984
+ #: action_names.rb:56
985
+ msgid "Publish Lifecycle Environment Repositories"
986
+ msgstr ""
987
+
988
+ #: action_names.rb:57
989
+ msgid "Publish"
990
+ msgstr ""
991
+
992
+ #: action_names.rb:58
993
+ msgid "Refresh Alternate Content Source"
994
+ msgstr ""
995
+
996
+ #: action_names.rb:59
997
+ msgid "Reindex subscriptions"
998
+ msgstr ""
999
+
1000
+ #: action_names.rb:60
1001
+ msgid "Remote action:"
1002
+ msgstr ""
1003
+
1004
+ #: action_names.rb:61
1005
+ msgid "Remove Content"
1006
+ msgstr ""
1007
+
1008
+ #: action_names.rb:62
1009
+ msgid "Remove Version"
1010
+ msgstr ""
1011
+
1012
+ #: action_names.rb:63
1013
+ msgid "Remove Versions and Associations"
1014
+ msgstr ""
1015
+
1016
+ #: action_names.rb:64
1017
+ msgid "Remove from Environment"
1018
+ msgstr ""
1019
+
1020
+ #: action_names.rb:65
1021
+ msgid "Remove subscriptions"
1022
+ msgstr ""
1023
+
1024
+ #: action_names.rb:66
1025
+ msgid "Republish Version Repositories"
1026
+ msgstr ""
1027
+
1028
+ #: action_names.rb:67
1029
+ msgid "Run Sync Plan:"
1030
+ msgstr ""
1031
+
1032
+ #: action_names.rb:68
1033
+ msgid "Sync capsule"
1034
+ msgstr ""
1035
+
1036
+ #: action_names.rb:69
1037
+ msgid "Syncable export"
1038
+ msgstr ""
1039
+
1040
+ #: action_names.rb:70
1041
+ msgid "Synchronize smart proxy"
1042
+ msgstr ""
1043
+
1044
+ #: action_names.rb:71
1045
+ msgid "Synchronize"
1046
+ msgstr ""
1047
+
1048
+ #: action_names.rb:72
1049
+ msgid "Update Alternate Content Source"
1050
+ msgstr ""
1051
+
1052
+ #: action_names.rb:73
1053
+ msgid "Update CDN Configuration"
1054
+ msgstr ""
1055
+
1056
+ #: action_names.rb:74
1057
+ msgid "Update Content Overrides"
1058
+ msgstr ""
1059
+
1060
+ #: action_names.rb:75
1061
+ msgid "Update content urls"
1062
+ msgstr ""
1063
+
1064
+ #: action_names.rb:76
1065
+ msgid "Update for host"
1066
+ msgstr ""
1067
+
1068
+ #: action_names.rb:77
1069
+ msgid "Update http proxy details"
1070
+ msgstr ""
1071
+
1072
+ #: action_names.rb:78
1073
+ msgid "Update http proxy"
1074
+ msgstr ""
1075
+
1076
+ #: action_names.rb:79
1077
+ msgid "Update redhat repository"
1078
+ msgstr ""
1079
+
1080
+ #: action_names.rb:80
1081
+ msgid "Update release version for host"
1082
+ msgstr ""
1083
+
1084
+ #: action_names.rb:81
1085
+ msgid "Update"
1086
+ msgstr ""
1087
+
1088
+ #: action_names.rb:82
1089
+ msgid "Updating System Purpose for host"
1090
+ msgstr ""
1091
+
1092
+ #: action_names.rb:83
1093
+ msgid "Upload into"
1094
+ msgstr ""
1095
+
1096
+ #: action_names.rb:84
1097
+ msgid "Verify checksum"
1098
+ msgstr ""
1099
+
1100
+ #: gemspec.rb:2
1101
+ msgid "Foreman plugin that process & upload data to Red Hat Cloud"
1102
+ msgstr ""
data/locale/gemspec.rb CHANGED
@@ -1,2 +1,2 @@
1
1
  # Matches foreman_rh_cloud.gemspec
2
- _('TODO: Description of ForemanRhCloud.')
2
+ _('Foreman plugin that process & upload data to Red Hat Cloud')
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "foreman_rh_cloud",
3
- "version": "7.0.45",
3
+ "version": "7.0.46",
4
4
  "description": "Inventory Upload =============",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -89,3 +89,14 @@ module MockCerts
89
89
  )
90
90
  end
91
91
  end
92
+
93
+ module MockForemanHostname
94
+ extend ActiveSupport::Concern
95
+
96
+ included do
97
+ setup do
98
+ @foreman_host = FactoryBot.create(:host, :managed)
99
+ ForemanRhCloud.stubs(:foreman_host_name).returns(@foreman_host.name)
100
+ end
101
+ end
102
+ end
@@ -1,6 +1,8 @@
1
1
  require 'test_plugin_helper'
2
2
 
3
3
  class ArchivedReportGeneratorTest < ActiveSupport::TestCase
4
+ include MockForemanHostname
5
+
4
6
  setup do
5
7
  User.current = User.find_by(login: 'secret_admin')
6
8
 
@@ -2,15 +2,36 @@ require 'test_plugin_helper'
2
2
 
3
3
  class MetadataGeneratorTest < ActiveSupport::TestCase
4
4
  setup do
5
+ ForemanRhCloud.instance_variable_set(:@foreman_host, nil)
5
6
  end
6
7
 
7
8
  test 'generates an empty report' do
9
+ @host = FactoryBot.create(:host, :managed)
10
+ ForemanRhCloud.expects(:foreman_host_name).returns(@host.name)
11
+ hostname = `uname -n`.chomp
8
12
  generator = ForemanInventoryUpload::Generators::Metadata.new
9
13
 
10
14
  json_str = generator.render do
11
15
  end
12
16
  actual = JSON.parse(json_str.join("\n"))
17
+ assert_not_nil actual['report_id']
18
+ assert_equal 'Satellite', actual['source']
19
+ assert_equal hostname, actual['reporting_host_name']
20
+ assert_not_nil (actual_metadata = actual['source_metadata'])
21
+ assert_equal ForemanRhCloud::VERSION, actual_metadata['foreman_rh_cloud_version']
22
+ assert_equal({}, actual['report_slices'])
23
+ end
13
24
 
25
+ test 'generates an empty report with hidden hostname and ip' do
26
+ Setting[:obfuscate_inventory_hostnames] = true
27
+ Setting[:obfuscate_inventory_ips] = true
28
+ @host = FactoryBot.create(:host, :managed)
29
+ ForemanRhCloud.expects(:foreman_host_name).returns(@host.name)
30
+ generator = ForemanInventoryUpload::Generators::Metadata.new
31
+
32
+ json_str = generator.render do
33
+ end
34
+ actual = JSON.parse(json_str.join("\n"))
14
35
  assert_not_nil actual['report_id']
15
36
  assert_equal 'Satellite', actual['source']
16
37
  assert_not_nil (actual_metadata = actual['source_metadata'])
@@ -19,6 +40,9 @@ class MetadataGeneratorTest < ActiveSupport::TestCase
19
40
  end
20
41
 
21
42
  test 'generates a report for a single slice' do
43
+ @host = FactoryBot.create(:host, :managed)
44
+ ForemanRhCloud.expects(:foreman_host_name).returns(@host.name)
45
+ hostname = `uname -n`.chomp
22
46
  generator = ForemanInventoryUpload::Generators::Metadata.new
23
47
 
24
48
  json_str = generator.render do |gen|
@@ -31,6 +55,7 @@ class MetadataGeneratorTest < ActiveSupport::TestCase
31
55
 
32
56
  assert_not_nil actual['report_id']
33
57
  assert_equal 'Satellite', actual['source']
58
+ assert_equal hostname, actual['reporting_host_name']
34
59
  assert_not_nil(slices = actual['report_slices'])
35
60
  assert_not_nil(slice = slices['test_123'])
36
61
  assert_equal 1, slice['number_hosts']
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_rh_cloud
3
3
  version: !ruby/object:Gem::Version
4
- version: 7.0.45
4
+ version: 7.0.46
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman Red Hat Cloud team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-01-19 00:00:00.000000000 Z
11
+ date: 2023-03-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katello
@@ -52,20 +52,6 @@ dependencies:
52
52
  - - ">="
53
53
  - !ruby/object:Gem::Version
54
54
  version: '0'
55
- - !ruby/object:Gem::Dependency
56
- name: foreman_ansible_core
57
- requirement: !ruby/object:Gem::Requirement
58
- requirements:
59
- - - ">="
60
- - !ruby/object:Gem::Version
61
- version: '0'
62
- type: :development
63
- prerelease: false
64
- version_requirements: !ruby/object:Gem::Requirement
65
- requirements:
66
- - - ">="
67
- - !ruby/object:Gem::Version
68
- version: '0'
69
55
  - !ruby/object:Gem::Dependency
70
56
  name: rdoc
71
57
  requirement: !ruby/object:Gem::Requirement
@@ -240,6 +226,7 @@ files:
240
226
  - lib/inventory_sync/async/inventory_self_host_sync.rb
241
227
  - lib/inventory_sync/async/query_inventory_job.rb
242
228
  - lib/tasks/foreman_rh_cloud_tasks.rake
229
+ - lib/tasks/hybrid_cloud.rake
243
230
  - lib/tasks/insights.rake
244
231
  - lib/tasks/rh_cloud_inventory.rake
245
232
  - locale/Makefile