foreman_discovery 16.0.1 → 16.1.0

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.
Files changed (59) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovery_rules_controller.rb +1 -1
  3. data/app/controllers/discovery_rules_controller.rb +1 -1
  4. data/app/models/discovery_rule.rb +1 -1
  5. data/app/services/foreman_discovery/host_converter.rb +1 -1
  6. data/app/views/foreman_discovery/debian_kexec.erb +1 -1
  7. data/db/migrate/20150512150432_remove_old_discovery_reader_permissions.rb +1 -1
  8. data/db/migrate/20151023144501_regenerate_red_hat_kexec.rb +1 -1
  9. data/db/migrate/20180412124505_add_priority_score_to_discovery_rules.rb +1 -1
  10. data/lib/foreman_discovery/engine.rb +2 -2
  11. data/lib/foreman_discovery/version.rb +1 -1
  12. data/locale/ca/LC_MESSAGES/foreman_discovery.mo +0 -0
  13. data/locale/ca/foreman_discovery.edit.po +17 -27
  14. data/locale/ca/foreman_discovery.po +13 -8
  15. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  16. data/locale/de/foreman_discovery.edit.po +19 -29
  17. data/locale/de/foreman_discovery.po +19 -14
  18. data/locale/en/LC_MESSAGES/foreman_discovery.mo +0 -0
  19. data/locale/en/foreman_discovery.edit.po +15 -9
  20. data/locale/en/foreman_discovery.po +9 -4
  21. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  22. data/locale/en_GB/foreman_discovery.edit.po +19 -29
  23. data/locale/en_GB/foreman_discovery.po +15 -10
  24. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  25. data/locale/es/foreman_discovery.edit.po +19 -29
  26. data/locale/es/foreman_discovery.po +19 -14
  27. data/locale/foreman_discovery.pot +16 -10
  28. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  29. data/locale/fr/foreman_discovery.edit.po +17 -27
  30. data/locale/fr/foreman_discovery.po +17 -12
  31. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  32. data/locale/gl/foreman_discovery.edit.po +15 -25
  33. data/locale/gl/foreman_discovery.po +11 -6
  34. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/it/foreman_discovery.edit.po +15 -25
  36. data/locale/it/foreman_discovery.po +14 -9
  37. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  38. data/locale/ja/foreman_discovery.edit.po +16 -27
  39. data/locale/ja/foreman_discovery.po +17 -12
  40. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/ko/foreman_discovery.edit.po +16 -27
  42. data/locale/ko/foreman_discovery.po +17 -12
  43. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  44. data/locale/pt_BR/foreman_discovery.edit.po +17 -27
  45. data/locale/pt_BR/foreman_discovery.po +17 -12
  46. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  47. data/locale/ru/foreman_discovery.edit.po +19 -27
  48. data/locale/ru/foreman_discovery.po +17 -12
  49. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  50. data/locale/sv_SE/foreman_discovery.edit.po +15 -25
  51. data/locale/sv_SE/foreman_discovery.po +11 -6
  52. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  53. data/locale/zh_CN/foreman_discovery.edit.po +16 -27
  54. data/locale/zh_CN/foreman_discovery.po +17 -12
  55. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/zh_TW/foreman_discovery.edit.po +14 -25
  57. data/locale/zh_TW/foreman_discovery.po +15 -10
  58. data/test/unit/discovered_extensions_test.rb +5 -1
  59. metadata +4 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: daf02841d730bd8c0bce174762bd59b42f323d1a971b40dc72a6bd5a32d350fd
4
- data.tar.gz: 4c89487acc8feab8fdba5d76be4d8f54dc78970a0cff7b2b85945d6824890c9c
3
+ metadata.gz: 65c100401474ba94276c5cae8afa8dcf20d7b77b856d20956abc29107c2b5f22
4
+ data.tar.gz: 54fc5dea8b179f139361e145f312588e5803b8b5eb9ea6a1166e55030acc37c9
5
5
  SHA512:
6
- metadata.gz: 662c55ac2db702681b11bddcffa199048c6c62e2cc8d2b81a374426a45f8a6659fadf1a56642bc3667e534c534983acf970c5e7e1e7ec9b804d7b97a3ce58692
7
- data.tar.gz: 2b185dcda6bb7eaa610c58eed077f753e0e5f4fb537276adb4cd48b8d339a154931d6cbdec64ec1416e91137f97fb9479c5a05b0b89d39f1d2469b3a5bc6c5ac
6
+ metadata.gz: 474c76e3d67d56849cbf15919d08aead8d845a61ab69d31c8db238d45b49b6ee9ec72ed5ec9044fcb4871509f2ef89333d041e1481243fc7cd6e8f034acf40f3
7
+ data.tar.gz: 78cb83d2a57281eacc9a339d78bf55607e545b31e77b0106f127aa4d8ae49582df7e6a28170d52eb882300ebb45e09d25b9d7a31b5af084af4da712c6faa6eaf
@@ -55,7 +55,7 @@ module Api
55
55
  param_group :discovery_rule, :as => :update
56
56
 
57
57
  def update
58
- process_response @discovery_rule.update_attributes(discovery_rule_params)
58
+ process_response @discovery_rule.update(discovery_rule_params)
59
59
  end
60
60
 
61
61
  api :DELETE, "/discovery_rules/:id/", N_("Delete a rule")
@@ -28,7 +28,7 @@ class DiscoveryRulesController < ApplicationController
28
28
  end
29
29
 
30
30
  def update
31
- if @discovery_rule.update_attributes(discovery_rule_params)
31
+ if @discovery_rule.update(discovery_rule_params)
32
32
  process_success
33
33
  else
34
34
  process_error
@@ -22,7 +22,7 @@ class DiscoveryRule < ApplicationRecord
22
22
  before_validation :enforce_taxonomy
23
23
 
24
24
  belongs_to :hostgroup
25
- has_many :hosts, :dependent => :nullify
25
+ has_many_hosts :dependent => :nullify
26
26
 
27
27
  scoped_search :on => :name, :complete_value => :true
28
28
  scoped_search :on => :priority, :only_explicit => true
@@ -1,6 +1,6 @@
1
1
  class ForemanDiscovery::HostConverter
2
2
  # Converts discovered host to managed host without uptading the database.
3
- # Record must be saved explicitly (using save! or update_attributes! or similar).
3
+ # Record must be saved explicitly (using save! or update! or similar).
4
4
  # Creates shallow copy.
5
5
  def self.to_managed(original_host, set_managed = true, set_build = true, added_attributes = {})
6
6
  host = original_host.becomes(::Host::Managed)
@@ -28,7 +28,7 @@ Please read kexec(8) man page for more information about semantics.
28
28
  options << @host.facts['append']
29
29
  options << "domain=#{@host.domain}"
30
30
  options << 'console-setup/ask_detect=false console-setup/layout=USA console-setup/variant=USA keyboard-configuration/layoutcode=us localechooser/translation/warn-light=true localechooser/translation/warn-severe=true'
31
- options << "locale=#{@host.params['lang'] || 'en_US'}"
31
+ options << "locale=#{host_param('lang') || 'en_US'}"
32
32
  options << "inst.stage2=#{@host.operatingsystem.medium_uri(@host)}" if @host.operatingsystem.name.match(/Atomic/i)
33
33
  -%>
34
34
  {
@@ -1,7 +1,7 @@
1
1
  class RemoveOldDiscoveryReaderPermissions < ActiveRecord::Migration[4.2]
2
2
  def up
3
3
  Permission.where("name like '%_discovery_rules' and resource_type is null").each do |permission|
4
- permission.update_attributes(:resource_type => 'DiscoveryRule')
4
+ permission.update(:resource_type => 'DiscoveryRule')
5
5
  end
6
6
  end
7
7
 
@@ -1,7 +1,7 @@
1
1
  class RegenerateRedHatKexec < ActiveRecord::Migration[4.2]
2
2
  def up
3
3
  t = ProvisioningTemplate.find_by_name("Discovery Red Hat kexec")
4
- t.update_attributes(:template => t.template.sub(/rescue ''$/, 'if mac')) if t
4
+ t.update(:template => t.template.sub(/rescue ''$/, 'if mac')) if t
5
5
  end
6
6
 
7
7
  def down
@@ -9,7 +9,7 @@
9
9
  # and makes sure there are no two entities with the same priority.
10
10
  DiscoveryRules.reset_column_information
11
11
  DiscoveryRules.unscoped.reorder(:priority, :created_at).find_each do |rule|
12
- rule.update_attributes!(:priority => score)
12
+ rule.update!(:priority => score)
13
13
  score += delta
14
14
  end
15
15
  change_column :discovery_rules, :priority, :integer, null: false
@@ -148,8 +148,8 @@ module ForemanDiscovery
148
148
  :edit_discovery_rules,
149
149
  :destroy_discovery_rules,
150
150
  ]
151
- role "Discovery Reader", READER
152
- role "Discovery Manager", MANAGER
151
+ role "Discovery Reader", READER, "Role granting permissions to view discovered hosts"
152
+ role "Discovery Manager", MANAGER, "Role granting permissions to perform provisioning of discovered hosts"
153
153
 
154
154
  add_all_permissions_to_default_roles
155
155
 
@@ -1,3 +1,3 @@
1
1
  module ForemanDiscovery
2
- VERSION = "16.0.1"
2
+ VERSION = "16.1.0"
3
3
  end
@@ -7,11 +7,11 @@
7
7
  # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2015-2016
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_discovery 15.1.0\n"
10
+ "Project-Id-Version: foreman_discovery 16.0.1\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2019-10-22 11:55+0200\n"
13
- "PO-Revision-Date: 2019-10-22 20:43+0000\n"
14
- "Last-Translator: Lukáš Zapletal\n"
12
+ "POT-Creation-Date: 2020-05-11 14:58+0530\n"
13
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
14
+ "Last-Translator: Transifex Bot <>\n"
15
15
  "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -502,15 +502,15 @@ msgstr ""
502
502
  msgid "Could not get facts from proxy %{url}: %{error}"
503
503
  msgstr "No s'han pogut obtenir els objectes d'interès del servidor intermediari %{url}: %{error}"
504
504
 
505
- #: ../app/models/host/discovered.rb:158
506
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
507
- msgstr "No es pot reiniciar %{name} a través de %{url}: %{msg}"
505
+ #: ../app/models/host/discovered.rb:162
506
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
507
+ msgstr ""
508
508
 
509
- #: ../app/models/host/discovered.rb:166
510
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
511
- msgstr "No es pot realitzar kexec a %{name} a través de %{url}: %{msg}"
509
+ #: ../app/models/host/discovered.rb:181
510
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
511
+ msgstr ""
512
512
 
513
- #: ../app/models/host/discovered.rb:185
513
+ #: ../app/models/host/discovered.rb:207
514
514
  msgid "Invalid hostname: Could not normalize the hostname"
515
515
  msgstr ""
516
516
 
@@ -752,6 +752,12 @@ msgstr ""
752
752
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
753
753
  msgstr ""
754
754
 
755
+ #: ../app/views/dashboard/_discovery_widget.html.erb:5
756
+ msgid "Discovered Host"
757
+ msgid_plural "Discovered Hosts"
758
+ msgstr[0] ""
759
+ msgstr[1] ""
760
+
755
761
  #: ../app/views/dashboard/_discovery_widget.html.erb:9
756
762
  msgid "No discovered hosts available"
757
763
  msgstr ""
@@ -1096,19 +1102,3 @@ msgid ""
1096
1102
  "ID of Discovery Proxy to use within this subnet for managing connection to "
1097
1103
  "discovered hosts"
1098
1104
  msgstr ""
1099
-
1100
- #: action_names.rb:2
1101
- msgid "Import Puppet classes"
1102
- msgstr ""
1103
-
1104
- #: action_names.rb:3
1105
- msgid "Import facts"
1106
- msgstr ""
1107
-
1108
- #: action_names.rb:4
1109
- msgid "Action with sub plans"
1110
- msgstr ""
1111
-
1112
- #: action_names.rb:5
1113
- msgid "Remote action:"
1114
- msgstr ""
@@ -7,10 +7,10 @@
7
7
  # Robert Antoni Buj Gelonch <rbuj@fedoraproject.org>, 2015-2016
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: foreman_discovery 15.1.0\n"
10
+ "Project-Id-Version: foreman_discovery 16.0.1\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "PO-Revision-Date: 2019-10-22 20:43+0000\n"
13
- "Last-Translator: Lukáš Zapletal\n"
12
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
13
+ "Last-Translator: Transifex Bot <>\n"
14
14
  "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
15
15
  "\n"
16
16
  "MIME-Version: 1.0\n"
@@ -139,6 +139,11 @@ msgstr "Inhabilita"
139
139
  msgid "Disable rule '%s'?"
140
140
  msgstr ""
141
141
 
142
+ msgid "Discovered Host"
143
+ msgid_plural "Discovered Hosts"
144
+ msgstr[0] ""
145
+ msgstr[1] ""
146
+
142
147
  msgid "Discovered Hosts"
143
148
  msgstr ""
144
149
 
@@ -692,15 +697,15 @@ msgstr ""
692
697
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
693
698
  msgstr ""
694
699
 
695
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
696
- msgstr "No es pot realitzar kexec a %{name} a través de %{url}: %{msg}"
700
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
701
+ msgstr ""
702
+
703
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
704
+ msgstr ""
697
705
 
698
706
  msgid "Unable to provision %{host}: %{errors}"
699
707
  msgstr "No es pot aprovisionar a %{host}: %{errors}"
700
708
 
701
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
702
- msgstr "No es pot reiniciar %{name} a través de %{url}: %{msg}"
703
-
704
709
  msgid "Update a rule"
705
710
  msgstr "Actualitza una regla"
706
711
 
@@ -9,16 +9,16 @@
9
9
  # Ettore Atalan <atalanttore@googlemail.com>, 2014-2017
10
10
  # Lukáš Zapletal, 2015
11
11
  # Martin Zimmermann <martin.zimmermann@gmx.com>, 2018
12
- # simon11 <simon.stieger.98@live.de>, 2014
13
- # simon11 <simon.stieger.98@live.de>, 2014
12
+ # simon11 <transifex@stieger.co>, 2014
13
+ # simon11 <transifex@stieger.co>, 2014
14
14
  # stbenjam <stephen@redhat.com>, 2016
15
15
  msgid ""
16
16
  msgstr ""
17
- "Project-Id-Version: foreman_discovery 15.1.0\n"
17
+ "Project-Id-Version: foreman_discovery 16.0.1\n"
18
18
  "Report-Msgid-Bugs-To: \n"
19
- "POT-Creation-Date: 2019-10-22 11:55+0200\n"
20
- "PO-Revision-Date: 2019-10-22 20:43+0000\n"
21
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
19
+ "POT-Creation-Date: 2020-05-11 14:58+0530\n"
20
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
21
+ "Last-Translator: Transifex Bot <>\n"
22
22
  "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
23
23
  "MIME-Version: 1.0\n"
24
24
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -509,15 +509,15 @@ msgstr "Fakten konnten nicht importiert werden"
509
509
  msgid "Could not get facts from proxy %{url}: %{error}"
510
510
  msgstr "Fakten konnten nicht vom Proxy %{url} abgerufen werden: %{error}"
511
511
 
512
- #: ../app/models/host/discovered.rb:158
513
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
514
- msgstr "%{name} kann nicht über %{url} neu gestartet werden: %{msg}"
512
+ #: ../app/models/host/discovered.rb:162
513
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
514
+ msgstr ""
515
515
 
516
- #: ../app/models/host/discovered.rb:166
517
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
518
- msgstr "kexec kann nicht auf %{name} über %{url} ausgeführt werden: %{msg}"
516
+ #: ../app/models/host/discovered.rb:181
517
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
518
+ msgstr ""
519
519
 
520
- #: ../app/models/host/discovered.rb:185
520
+ #: ../app/models/host/discovered.rb:207
521
521
  msgid "Invalid hostname: Could not normalize the hostname"
522
522
  msgstr "Ungültiger Hostname: Konnte den Hostnamen nicht normalisieren"
523
523
 
@@ -759,6 +759,12 @@ msgstr "Image API gibt HTTP/%{code} mit '%{body} zurück"
759
759
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
760
760
  msgstr "Image API Verarbeitungsfehler: %{msg} (HTTP/%{code}, Text: %{body})"
761
761
 
762
+ #: ../app/views/dashboard/_discovery_widget.html.erb:5
763
+ msgid "Discovered Host"
764
+ msgid_plural "Discovered Hosts"
765
+ msgstr[0] ""
766
+ msgstr[1] ""
767
+
762
768
  #: ../app/views/dashboard/_discovery_widget.html.erb:9
763
769
  msgid "No discovered hosts available"
764
770
  msgstr "Keine entdeckten Hosts verfügbar"
@@ -1103,19 +1109,3 @@ msgid ""
1103
1109
  "ID of Discovery Proxy to use within this subnet for managing connection to "
1104
1110
  "discovered hosts"
1105
1111
  msgstr ""
1106
-
1107
- #: action_names.rb:2
1108
- msgid "Import Puppet classes"
1109
- msgstr "Puppet-Klassen importieren"
1110
-
1111
- #: action_names.rb:3
1112
- msgid "Import facts"
1113
- msgstr "Fakten importieren"
1114
-
1115
- #: action_names.rb:4
1116
- msgid "Action with sub plans"
1117
- msgstr "Aktion mit Unterplänen"
1118
-
1119
- #: action_names.rb:5
1120
- msgid "Remote action:"
1121
- msgstr "Entfernte Aktion:"
@@ -9,15 +9,15 @@
9
9
  # Ettore Atalan <atalanttore@googlemail.com>, 2014-2017
10
10
  # Lukáš Zapletal, 2015
11
11
  # Martin Zimmermann <martin.zimmermann@gmx.com>, 2018
12
- # simon11 <simon.stieger.98@live.de>, 2014
13
- # simon11 <simon.stieger.98@live.de>, 2014
12
+ # simon11 <transifex@stieger.co>, 2014
13
+ # simon11 <transifex@stieger.co>, 2014
14
14
  # stbenjam <stephen@redhat.com>, 2016
15
15
  msgid ""
16
16
  msgstr ""
17
- "Project-Id-Version: foreman_discovery 15.1.0\n"
17
+ "Project-Id-Version: foreman_discovery 16.0.1\n"
18
18
  "Report-Msgid-Bugs-To: \n"
19
- "PO-Revision-Date: 2019-10-22 20:43+0000\n"
20
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
19
+ "PO-Revision-Date: 2020-05-26 17:21+0000\n"
20
+ "Last-Translator: Transifex Bot <>\n"
21
21
  "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
22
22
  "MIME-Version: 1.0\n"
23
23
  "Content-Type: text/plain; charset=UTF-8\n"
@@ -41,7 +41,7 @@ msgid "A summary of discovered hosts"
41
41
  msgstr "Eine Zusammenfassung der entdeckten Hosts"
42
42
 
43
43
  msgid "Action with sub plans"
44
- msgstr "Aktion mit Unterplänen"
44
+ msgstr ""
45
45
 
46
46
  msgid "Actions"
47
47
  msgstr "Aktionen"
@@ -145,6 +145,11 @@ msgstr "Deaktivieren"
145
145
  msgid "Disable rule '%s'?"
146
146
  msgstr "Regel '%s' deaktivieren?"
147
147
 
148
+ msgid "Discovered Host"
149
+ msgid_plural "Discovered Hosts"
150
+ msgstr[0] ""
151
+ msgstr[1] ""
152
+
148
153
  msgid "Discovered Hosts"
149
154
  msgstr "Entdeckte Hosts"
150
155
 
@@ -375,10 +380,10 @@ msgid "Image API returned HTTP/%{code} with '%{body}"
375
380
  msgstr "Image API gibt HTTP/%{code} mit '%{body} zurück"
376
381
 
377
382
  msgid "Import Puppet classes"
378
- msgstr "Puppet-Klassen importieren"
383
+ msgstr ""
379
384
 
380
385
  msgid "Import facts"
381
- msgstr "Fakten importieren"
386
+ msgstr ""
382
387
 
383
388
  msgid "In addition to @host attribute function rand for random integers is available. Examples:"
384
389
  msgstr ""
@@ -597,7 +602,7 @@ msgid "Reloading kernel on %s"
597
602
  msgstr "Kernel auf %s wird neu geladen"
598
603
 
599
604
  msgid "Remote action:"
600
- msgstr "Entfernte Aktion:"
605
+ msgstr ""
601
606
 
602
607
  msgid "Reported in the last 7 days"
603
608
  msgstr "Berichtet in den letzten 7 Tagen"
@@ -698,15 +703,15 @@ msgstr "Keine Entdeckungsregel gefunden, kein Host bereitgestellt (Berechtigunge
698
703
  msgid "Unable to find primary NIC with %{mac} specified via '%{fact}', NIC filter: %{filter}"
699
704
  msgstr ""
700
705
 
701
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
702
- msgstr "kexec kann nicht auf %{name} über %{url} ausgeführt werden: %{msg}"
706
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
707
+ msgstr ""
708
+
709
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
710
+ msgstr ""
703
711
 
704
712
  msgid "Unable to provision %{host}: %{errors}"
705
713
  msgstr "%{host} kann nicht bereitgestellt werden: %{errors} "
706
714
 
707
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
708
- msgstr "%{name} kann nicht über %{url} neu gestartet werden: %{msg}"
709
-
710
715
  msgid "Update a rule"
711
716
  msgstr "Regel aktualisieren"
712
717
 
@@ -2,7 +2,7 @@
2
2
  # This file is distributed under the same license as the foreman_discovery package.
3
3
  msgid ""
4
4
  msgstr ""
5
- "Project-Id-Version: foreman_discovery 15.1.0\n"
5
+ "Project-Id-Version: foreman_discovery 16.0.1\n"
6
6
  "Report-Msgid-Bugs-To: foreman-dev@googlegroups.com\n"
7
7
  "PO-Revision-Date: 2015-12-27 01:18+0000\n"
8
8
  "Last-Translator: \n"
@@ -456,15 +456,15 @@ msgstr ""
456
456
  msgid "Could not get facts from proxy %{url}: %{error}"
457
457
  msgstr ""
458
458
 
459
- #: ../app/models/host/discovered.rb:158
460
- msgid "Unable to reboot %{name} via %{url}: %{msg}"
459
+ #: ../app/models/host/discovered.rb:162
460
+ msgid "Unable to perform reboot on %{name} (%{url}): %{msg}"
461
461
  msgstr ""
462
462
 
463
- #: ../app/models/host/discovered.rb:166
464
- msgid "Unable to perform kexec on %{name} via %{url}: %{msg}"
463
+ #: ../app/models/host/discovered.rb:181
464
+ msgid "Unable to perform kexec on %{name} (%{url}): %{msg}"
465
465
  msgstr ""
466
466
 
467
- #: ../app/models/host/discovered.rb:185
467
+ #: ../app/models/host/discovered.rb:207
468
468
  msgid "Invalid hostname: Could not normalize the hostname"
469
469
  msgstr ""
470
470
 
@@ -696,6 +696,12 @@ msgstr ""
696
696
  msgid "Image API processing error: %{msg} (HTTP/%{code}, body: %{body})"
697
697
  msgstr ""
698
698
 
699
+ #: ../app/views/dashboard/_discovery_widget.html.erb:5
700
+ msgid "Discovered Host"
701
+ msgid_plural "Discovered Hosts"
702
+ msgstr[0] ""
703
+ msgstr[1] ""
704
+
699
705
  #: ../app/views/dashboard/_discovery_widget.html.erb:9
700
706
  msgid "No discovered hosts available"
701
707
  msgstr ""
@@ -1001,7 +1007,7 @@ msgid "ID of Discovery Proxy to use within this subnet for managing connection t
1001
1007
  msgstr ""
1002
1008
 
1003
1009
  #: action_names.rb:2
1004
- msgid "Import Puppet classes"
1010
+ msgid "Remote action:"
1005
1011
  msgstr ""
1006
1012
 
1007
1013
  #: action_names.rb:3
@@ -1009,9 +1015,9 @@ msgid "Import facts"
1009
1015
  msgstr ""
1010
1016
 
1011
1017
  #: action_names.rb:4
1012
- msgid "Action with sub plans"
1018
+ msgid "Import Puppet classes"
1013
1019
  msgstr ""
1014
1020
 
1015
1021
  #: action_names.rb:5
1016
- msgid "Remote action:"
1022
+ msgid "Action with sub plans"
1017
1023
  msgstr ""