foreman_discovery 4.0.0 → 4.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 (60) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/discovered_hosts_controller.rb +12 -3
  3. data/app/models/host/discovered.rb +28 -25
  4. data/app/models/host/managed_extensions.rb +24 -3
  5. data/app/services/foreman_discovery/host_converter.rb +16 -2
  6. data/app/services/foreman_discovery/node_api/node_resource.rb +117 -0
  7. data/app/services/foreman_discovery/node_api/power.rb +57 -0
  8. data/{lib → app/services}/foreman_discovery/proxy_operations.rb +0 -0
  9. data/app/views/foreman_discovery/redhat_kexec.erb +44 -0
  10. data/db/seeds.d/50_discovery_templates.rb +18 -0
  11. data/lib/foreman_discovery/engine.rb +1 -1
  12. data/lib/foreman_discovery/version.rb +1 -1
  13. data/locale/de/foreman_discovery.po +146 -64
  14. data/locale/en_GB/foreman_discovery.po +146 -64
  15. data/locale/es/foreman_discovery.po +146 -64
  16. data/locale/foreman_discovery.pot +97 -41
  17. data/locale/fr/foreman_discovery.po +146 -64
  18. data/locale/gl/foreman_discovery.po +100 -59
  19. data/locale/it/foreman_discovery.po +106 -59
  20. data/locale/ja/foreman_discovery.po +132 -61
  21. data/locale/ko/foreman_discovery.po +104 -58
  22. data/locale/pt_BR/foreman_discovery.po +106 -59
  23. data/locale/ru/foreman_discovery.po +152 -66
  24. data/locale/sv_SE/foreman_discovery.po +103 -59
  25. data/locale/zh_CN/foreman_discovery.po +104 -58
  26. data/locale/zh_TW/foreman_discovery.po +104 -58
  27. data/test/functional/api/v2/discovered_hosts_controller_test.rb +30 -11
  28. data/test/functional/discovered_hosts_controller_test.rb +30 -26
  29. data/test/unit/discovered_extensions_test.rb +8 -8
  30. metadata +10 -34
  31. data/app/views/api/v2/discovered_hosts/auto_provision.json.rabl +0 -3
  32. data/app/views/api/v2/discovered_hosts/auto_provision_all.json.rabl +0 -3
  33. data/locale/Makefile +0 -62
  34. data/locale/de/LC_MESSAGES/foreman_discovery.mo +0 -0
  35. data/locale/de/foreman_discovery.pox +0 -40
  36. data/locale/en_GB/LC_MESSAGES/foreman_discovery.mo +0 -0
  37. data/locale/en_GB/foreman_discovery.pox +0 -0
  38. data/locale/es/LC_MESSAGES/foreman_discovery.mo +0 -0
  39. data/locale/es/foreman_discovery.pox +0 -41
  40. data/locale/fr/LC_MESSAGES/foreman_discovery.mo +0 -0
  41. data/locale/fr/foreman_discovery.pox +0 -69
  42. data/locale/gl/LC_MESSAGES/foreman_discovery.mo +0 -0
  43. data/locale/gl/foreman_discovery.pox +0 -21
  44. data/locale/it/LC_MESSAGES/foreman_discovery.mo +0 -0
  45. data/locale/it/foreman_discovery.pox +0 -0
  46. data/locale/ja/LC_MESSAGES/foreman_discovery.mo +0 -0
  47. data/locale/ja/foreman_discovery.pox +0 -29
  48. data/locale/ko/LC_MESSAGES/foreman_discovery.mo +0 -0
  49. data/locale/ko/foreman_discovery.pox +0 -189
  50. data/locale/messages.mo +0 -0
  51. data/locale/pt_BR/LC_MESSAGES/foreman_discovery.mo +0 -0
  52. data/locale/pt_BR/foreman_discovery.pox +0 -0
  53. data/locale/ru/LC_MESSAGES/foreman_discovery.mo +0 -0
  54. data/locale/ru/foreman_discovery.pox +0 -0
  55. data/locale/sv_SE/LC_MESSAGES/foreman_discovery.mo +0 -0
  56. data/locale/zanata.xml +0 -28
  57. data/locale/zh_CN/LC_MESSAGES/foreman_discovery.mo +0 -0
  58. data/locale/zh_CN/foreman_discovery.pox +0 -33
  59. data/locale/zh_TW/LC_MESSAGES/foreman_discovery.mo +0 -0
  60. data/locale/zh_TW/foreman_discovery.pox +0 -23
@@ -1,23 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: foreman_discovery 3.0.0\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2015-01-28 17:53+0100\n"
6
- "PO-Revision-Date: 2015-03-21 22:54+0000\n"
7
- "Last-Translator: Lukáš Zapletal\n"
8
- "Language-Team: Chinese (Taiwan) "
9
- "(http://www.transifex.com/foreman/foreman/language/zh_TW/)\n"
10
- "Language: zh_TW\n"
11
- "MIME-Version: 1.0\n"
12
- "Content-Type: text/plain; charset=UTF-8\n"
13
- "Content-Transfer-Encoding: 8bit\n"
14
- "Plural-Forms: nplurals=1; plural=0;\n"
15
- "X-Generator: Translate Toolkit 1.9.0\n"
16
-
17
- # (pofilter) endpunc: Different punctuation at the end
18
- msgid "Are you sure?"
19
- msgstr "您是否確定?"
20
-
21
- # (pofilter) endpunc: Different punctuation at the end
22
- msgid "Delete %s?"
23
- msgstr "刪除 %s?"