foreman_virt_who_configure 0.5.15 → 0.5.16

Sign up to get free protection for your applications and to get access to all the features.
Files changed (105) hide show
  1. checksums.yaml +4 -4
  2. data/app/assets/javascripts/foreman_virt_who_configure/config_edit.js +2 -2
  3. data/app/models/foreman_virt_who_configure/config.rb +2 -2
  4. data/app/models/foreman_virt_who_configure/output_generator.rb +2 -1
  5. data/lib/foreman_virt_who_configure/engine.rb +1 -0
  6. data/lib/foreman_virt_who_configure/version.rb +1 -1
  7. data/locale/action_names.rb +3 -1
  8. data/locale/bn/foreman_virt_who_configure.edit.po +1105 -0
  9. data/locale/bn/foreman_virt_who_configure.po +6 -0
  10. data/locale/bn_IN/foreman_virt_who_configure.edit.po +1105 -0
  11. data/locale/bn_IN/foreman_virt_who_configure.po +6 -0
  12. data/locale/bqi/LC_MESSAGES/foreman_virt_who_configure.mo +0 -0
  13. data/locale/bqi/foreman_virt_who_configure.edit.po +1101 -0
  14. data/locale/bqi/foreman_virt_who_configure.po +724 -0
  15. data/locale/ca/foreman_virt_who_configure.edit.po +1105 -0
  16. data/locale/ca/foreman_virt_who_configure.po +6 -0
  17. data/locale/cs_CZ/foreman_virt_who_configure.edit.po +1117 -0
  18. data/locale/cs_CZ/foreman_virt_who_configure.po +6 -0
  19. data/locale/de/foreman_virt_who_configure.edit.po +1252 -0
  20. data/locale/de/foreman_virt_who_configure.po +6 -0
  21. data/locale/de_AT/foreman_virt_who_configure.edit.po +1101 -0
  22. data/locale/de_AT/foreman_virt_who_configure.po +6 -0
  23. data/locale/de_DE/foreman_virt_who_configure.edit.po +1107 -0
  24. data/locale/de_DE/foreman_virt_who_configure.po +6 -0
  25. data/locale/el/foreman_virt_who_configure.edit.po +1105 -0
  26. data/locale/el/foreman_virt_who_configure.po +6 -0
  27. data/locale/en/foreman_virt_who_configure.po +6 -0
  28. data/locale/en_GB/foreman_virt_who_configure.edit.po +1106 -0
  29. data/locale/en_GB/foreman_virt_who_configure.po +6 -0
  30. data/locale/en_US/foreman_virt_who_configure.edit.po +1101 -0
  31. data/locale/en_US/foreman_virt_who_configure.po +6 -0
  32. data/locale/es/foreman_virt_who_configure.edit.po +1247 -0
  33. data/locale/es/foreman_virt_who_configure.po +6 -0
  34. data/locale/et_EE/foreman_virt_who_configure.edit.po +1101 -0
  35. data/locale/et_EE/foreman_virt_who_configure.po +6 -0
  36. data/locale/foreman_virt_who_configure.pot +86 -78
  37. data/locale/fr/foreman_virt_who_configure.edit.po +1273 -0
  38. data/locale/fr/foreman_virt_who_configure.po +6 -0
  39. data/locale/gl/foreman_virt_who_configure.edit.po +1105 -0
  40. data/locale/gl/foreman_virt_who_configure.po +6 -0
  41. data/locale/gu/foreman_virt_who_configure.edit.po +1105 -0
  42. data/locale/gu/foreman_virt_who_configure.po +6 -0
  43. data/locale/he_IL/foreman_virt_who_configure.edit.po +1105 -0
  44. data/locale/he_IL/foreman_virt_who_configure.po +6 -0
  45. data/locale/hi/foreman_virt_who_configure.edit.po +1105 -0
  46. data/locale/hi/foreman_virt_who_configure.po +6 -0
  47. data/locale/id/foreman_virt_who_configure.edit.po +1101 -0
  48. data/locale/id/foreman_virt_who_configure.po +6 -0
  49. data/locale/it/foreman_virt_who_configure.edit.po +1108 -0
  50. data/locale/it/foreman_virt_who_configure.po +6 -0
  51. data/locale/ja/foreman_virt_who_configure.edit.po +1178 -0
  52. data/locale/ja/foreman_virt_who_configure.po +6 -0
  53. data/locale/ka/foreman_virt_who_configure.edit.po +1230 -0
  54. data/locale/ka/foreman_virt_who_configure.po +6 -0
  55. data/locale/kn/foreman_virt_who_configure.edit.po +1105 -0
  56. data/locale/kn/foreman_virt_who_configure.po +6 -0
  57. data/locale/ko/foreman_virt_who_configure.edit.po +1108 -0
  58. data/locale/ko/foreman_virt_who_configure.po +6 -0
  59. data/locale/ml_IN/foreman_virt_who_configure.edit.po +1101 -0
  60. data/locale/ml_IN/foreman_virt_who_configure.po +6 -0
  61. data/locale/mr/foreman_virt_who_configure.edit.po +1105 -0
  62. data/locale/mr/foreman_virt_who_configure.po +6 -0
  63. data/locale/nl_NL/foreman_virt_who_configure.edit.po +1109 -0
  64. data/locale/nl_NL/foreman_virt_who_configure.po +6 -0
  65. data/locale/or/foreman_virt_who_configure.edit.po +1105 -0
  66. data/locale/or/foreman_virt_who_configure.po +6 -0
  67. data/locale/pa/foreman_virt_who_configure.edit.po +1105 -0
  68. data/locale/pa/foreman_virt_who_configure.po +6 -0
  69. data/locale/pl/foreman_virt_who_configure.edit.po +1106 -0
  70. data/locale/pl/foreman_virt_who_configure.po +6 -0
  71. data/locale/pl_PL/foreman_virt_who_configure.edit.po +1101 -0
  72. data/locale/pl_PL/foreman_virt_who_configure.po +6 -0
  73. data/locale/pt/foreman_virt_who_configure.edit.po +1105 -0
  74. data/locale/pt/foreman_virt_who_configure.po +6 -0
  75. data/locale/pt_BR/foreman_virt_who_configure.edit.po +1239 -0
  76. data/locale/pt_BR/foreman_virt_who_configure.po +6 -0
  77. data/locale/ro/foreman_virt_who_configure.edit.po +1101 -0
  78. data/locale/ro/foreman_virt_who_configure.po +6 -0
  79. data/locale/ro_RO/foreman_virt_who_configure.edit.po +1101 -0
  80. data/locale/ro_RO/foreman_virt_who_configure.po +6 -0
  81. data/locale/ru/foreman_virt_who_configure.edit.po +1109 -0
  82. data/locale/ru/foreman_virt_who_configure.po +6 -0
  83. data/locale/sl/foreman_virt_who_configure.edit.po +1105 -0
  84. data/locale/sl/foreman_virt_who_configure.po +6 -0
  85. data/locale/sv_SE/foreman_virt_who_configure.edit.po +1106 -0
  86. data/locale/sv_SE/foreman_virt_who_configure.po +6 -0
  87. data/locale/ta/foreman_virt_who_configure.edit.po +1105 -0
  88. data/locale/ta/foreman_virt_who_configure.po +6 -0
  89. data/locale/ta_IN/foreman_virt_who_configure.edit.po +1105 -0
  90. data/locale/ta_IN/foreman_virt_who_configure.po +6 -0
  91. data/locale/te/foreman_virt_who_configure.edit.po +1105 -0
  92. data/locale/te/foreman_virt_who_configure.po +6 -0
  93. data/locale/tr/foreman_virt_who_configure.edit.po +1105 -0
  94. data/locale/tr/foreman_virt_who_configure.po +6 -0
  95. data/locale/vi/foreman_virt_who_configure.edit.po +1101 -0
  96. data/locale/vi/foreman_virt_who_configure.po +6 -0
  97. data/locale/vi_VN/foreman_virt_who_configure.edit.po +1101 -0
  98. data/locale/vi_VN/foreman_virt_who_configure.po +6 -0
  99. data/locale/zh/foreman_virt_who_configure.edit.po +1101 -0
  100. data/locale/zh/foreman_virt_who_configure.po +6 -0
  101. data/locale/zh_CN/foreman_virt_who_configure.edit.po +1158 -0
  102. data/locale/zh_CN/foreman_virt_who_configure.po +6 -0
  103. data/locale/zh_TW/foreman_virt_who_configure.edit.po +1106 -0
  104. data/locale/zh_TW/foreman_virt_who_configure.po +6 -0
  105. metadata +51 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 804bfa0dcf42fa2495425b159e3c2edbea164afcad098d15f7cafc2f543c659c
4
- data.tar.gz: 88e7460569118f50f3c635ad9c6e55e0db10d118cd96131338f4928cd4abbcb1
3
+ metadata.gz: 37fe6c2f341583f5f95d01b1241535742380d7ae5de27c3afbcd00ee863a8731
4
+ data.tar.gz: 60eead41da814378bf4fb353fd0131951f218807167413631ba30dda352f861e
5
5
  SHA512:
6
- metadata.gz: 66123eb9a60975f6dc753efe576a25d83ebf66f95e3d15b80766f014d7f22c5dc0d36fcbeb592249ed5ad53c39d77f2359222397a1e89fa93fcf1156ff28b69b
7
- data.tar.gz: 987c19db5ea036ceaaf02fe1235441cc9a251816196b5c6d5a7da796ce61210313d4e045118c129e94f9780f681ec5f367368bf8f3bcb8c748fee5dbf8e890be
6
+ metadata.gz: eea6c5cf345b3365c0d66eb8d5693c7b04eee2a8e39404874f8d0e15286c452ea9fa84038f74b84cec6d5ce2f34fbc52762269eca53283d4f6425198fe134af7
7
+ data.tar.gz: 97fcfae5fdfa68c4dc53f3975257e9e0896f69085da1de49ca04adc1cbf035b1d00c2f01ec76d12da3b4d6a713a89bc30fac49c2e74f26129d7ff8b5fa384d69
@@ -28,13 +28,13 @@ function virt_who_update_listing_mode() {
28
28
  function virt_who_update_hypervisor_fields() {
29
29
  selected_type = $('#foreman_virt_who_configure_config_hypervisor_type').val();
30
30
  var element = $('#foreman_virt_who_configure_config_hypervisor_username');
31
- element.closest('.form-group').toggle(selected_type != 'libvirt' && selected_type != 'kubevirt');
31
+ element.closest('.form-group').toggle(selected_type != 'kubevirt');
32
32
  var element = $('#foreman_virt_who_configure_config_hypervisor_password');
33
33
  element.closest('.form-group').toggle(selected_type != 'libvirt' && selected_type != 'kubevirt');
34
34
  var element = $('#foreman_virt_who_configure_config_kubeconfig_path');
35
35
  element.closest('.form-group').toggle(selected_type == 'kubevirt');
36
36
  var element = $('#foreman_virt_who_configure_config_hypervisor_server');
37
- element.closest('.form-group').toggle(selected_type != 'libvirt' && selected_type != 'kubevirt');
37
+ element.closest('.form-group').toggle(selected_type != 'kubevirt');
38
38
  var element = $('#foreman_virt_who_configure_config_ahv_internal_debug');
39
39
  element.closest('.form-group').toggle(selected_type == 'ahv');
40
40
  virt_who_update_listing_mode();
@@ -106,8 +106,8 @@ module ForemanVirtWhoConfigure
106
106
  :presence => true
107
107
  validates :name, :uniqueness => { :scope => :organization_id }
108
108
  validates :hypervisor_password, :presence => true, :if => Proc.new { |c| c.hypervisor_type != 'libvirt' && c.hypervisor_type != 'kubevirt' }
109
- validates :hypervisor_username, :presence => true, :if => Proc.new { |c| c.hypervisor_type != 'libvirt' && c.hypervisor_type != 'kubevirt' }
110
- validates :hypervisor_server, :presence => true, :if => Proc.new { |c| c.hypervisor_type != 'libvirt' && c.hypervisor_type != 'kubevirt' }
109
+ validates :hypervisor_username, :presence => true, :if => Proc.new { |c| c.hypervisor_type != 'kubevirt' }
110
+ validates :hypervisor_server, :presence => true, :if => Proc.new { |c| c.hypervisor_type != 'kubevirt' }
111
111
  validates :kubeconfig_path, :presence => true, :if => Proc.new { |c| c.hypervisor_type == 'kubevirt' }
112
112
  validates :hypervisor_type, :inclusion => HYPERVISOR_TYPES.keys
113
113
  validates :hypervisor_id, :inclusion => HYPERVISOR_IDS
@@ -160,7 +160,8 @@ EOS
160
160
  if config.hypervisor_type == 'kubevirt'
161
161
  ""
162
162
  elsif config.hypervisor_type == 'libvirt'
163
- "\nserver=qemu:///system"
163
+ "\nserver=#{cr_server}
164
+ username=#{cr_username}"
164
165
  else
165
166
  "\nserver=#{cr_server}
166
167
  username=#{cr_username}
@@ -28,6 +28,7 @@ module ForemanVirtWhoConfigure
28
28
  initializer 'foreman_virt_who_configure.register_plugin', :before => :finisher_hook do |_app|
29
29
  Foreman::Plugin.register :foreman_virt_who_configure do
30
30
  requires_foreman '>= 3.7'
31
+ register_gettext
31
32
 
32
33
  apipie_documented_controllers ["#{ForemanVirtWhoConfigure::Engine.root}/app/controllers/foreman_virt_who_configure/api/v2/*.rb"]
33
34
 
@@ -1,3 +1,3 @@
1
1
  module ForemanVirtWhoConfigure
2
- VERSION = '0.5.15'.freeze
2
+ VERSION = '0.5.16'.freeze
3
3
  end
@@ -6,6 +6,7 @@ _("Agent action")
6
6
  _("Attach subscriptions")
7
7
  _("Auto attach subscriptions")
8
8
  _("Bulk generate applicability for hosts")
9
+ _("Check for long running tasks")
9
10
  _("Combined Profile Update")
10
11
  _("Copy version units to library")
11
12
  _("Create Alternate Content Source")
@@ -17,6 +18,7 @@ _("Delete Activation Key")
17
18
  _("Delete Lifecycle Environment")
18
19
  _("Delete Product")
19
20
  _("Delete")
21
+ _("Deliver notifications about long running tasks")
20
22
  _("Destroy Alternate Content Source")
21
23
  _("Destroy Content Host")
22
24
  _("Destroy")
@@ -80,4 +82,4 @@ _("Update release version for host")
80
82
  _("Update")
81
83
  _("Updating System Purpose for host")
82
84
  _("Upload into")
83
- _("Verify checksum")
85
+ _("Verify checksum")