foreman_virt_who_configure 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -31,7 +31,7 @@ class ForemanVirtWhoConfigure::Api::V2::ConfigsControllerTest < ActionController
31
31
  refute_nil result_config
32
32
  assert_equal 'my vmware', result_config['name']
33
33
  assert_equal 120, result_config['interval']
34
- assert_equal ForemanVirtWhoConfigure::Config::WHITELIST, result_config['listing_mode']
34
+ assert_equal ForemanVirtWhoConfigure::Config::WHITELIST, result_config['filtering_mode']
35
35
  assert_equal 'a,b', result_config['whitelist']
36
36
  assert_equal 'hostname', result_config['hypervisor_id']
37
37
  assert_equal 'esx', result_config['hypervisor_type']
@@ -53,7 +53,7 @@ class ForemanVirtWhoConfigure::Api::V2::ConfigsControllerTest < ActionController
53
53
  assert_equal @ok_config.out_of_date_at.to_s, Time.zone.parse(result_config['out_of_date_at']).to_s
54
54
 
55
55
  result_config = response['results'].find { |r| r['id'] == @out_of_date_config.id }
56
- assert_equal 'error', result_config['status']
56
+ assert_equal 'out_of_date', result_config['status']
57
57
  assert_equal @out_of_date_config.last_report_at.to_s, Time.zone.parse(result_config['last_report_at']).to_s
58
58
  assert_equal @out_of_date_config.out_of_date_at.to_s, Time.zone.parse(result_config['out_of_date_at']).to_s
59
59
  end
@@ -64,7 +64,7 @@ class ForemanVirtWhoConfigure::Api::V2::ConfigsControllerTest < ActionController
64
64
 
65
65
  assert_equal 'my vmware', response['name']
66
66
  assert_equal 120, response['interval']
67
- assert_equal ForemanVirtWhoConfigure::Config::WHITELIST, response['listing_mode']
67
+ assert_equal ForemanVirtWhoConfigure::Config::WHITELIST, response['filtering_mode']
68
68
  assert_equal 'a,b', response['whitelist']
69
69
  assert_equal 'hostname', response['hypervisor_id']
70
70
  assert_equal 'esx', response['hypervisor_type']
@@ -97,7 +97,7 @@ class ForemanVirtWhoConfigure::Api::V2::ConfigsControllerTest < ActionController
97
97
  get :show, { :id => @out_of_date_config.to_param }, set_session_user
98
98
  response = ActiveSupport::JSON.decode(@response.body)
99
99
 
100
- assert_equal 'error', response['status']
100
+ assert_equal 'out_of_date', response['status']
101
101
  assert_equal @out_of_date_config.last_report_at.to_s, Time.zone.parse(response['last_report_at']).to_s
102
102
  assert_equal @out_of_date_config.out_of_date_at.to_s, Time.zone.parse(response['out_of_date_at']).to_s
103
103
  assert_response :success
@@ -108,7 +108,7 @@ class ForemanVirtWhoConfigure::Api::V2::ConfigsControllerTest < ActionController
108
108
  response = ActiveSupport::JSON.decode(@response.body)
109
109
 
110
110
  assert_response :success
111
- assert_equal @out_of_date_config.virt_who_config_script, response['virt_who_config_script']
111
+ assert_equal @out_of_date_config.virt_who_config_script(:bash_script), response['virt_who_config_script']
112
112
  end
113
113
 
114
114
  test "should get deploy script for plain/text format" do
@@ -116,7 +116,7 @@ class ForemanVirtWhoConfigure::Api::V2::ConfigsControllerTest < ActionController
116
116
  response = @response.body
117
117
 
118
118
  assert_response :success
119
- assert_equal @out_of_date_config.virt_who_config_script, response
119
+ assert_equal @out_of_date_config.virt_who_config_script(:bash_script), response
120
120
  end
121
121
 
122
122
  test "should get deploy script for shell script format" do
@@ -124,14 +124,14 @@ class ForemanVirtWhoConfigure::Api::V2::ConfigsControllerTest < ActionController
124
124
  response = @response.body
125
125
 
126
126
  assert_response :success
127
- assert_equal @out_of_date_config.virt_who_config_script, response
127
+ assert_equal @out_of_date_config.virt_who_config_script(:bash_script), response
128
128
  end
129
129
 
130
130
  test "should create the config" do
131
131
  org = FactoryGirl.create(:organization)
132
132
  post :create, { :foreman_virt_who_configure_config => { :name => 'my new config',
133
133
  :interval => 240,
134
- :listing_mode => ForemanVirtWhoConfigure::Config::BLACKLIST,
134
+ :filtering_mode => ForemanVirtWhoConfigure::Config::BLACKLIST,
135
135
  :blacklist => ' a,b ',
136
136
  :hypervisor_id => 'uuid',
137
137
  :hypervisor_type => 'esx',
@@ -96,7 +96,7 @@ module ForemanVirtWhoConfigure
96
96
 
97
97
  test 'scoped search definitions work correctly' do
98
98
  assert_equal [ok_config], ForemanVirtWhoConfigure::Config.search_for('status = ok')
99
- assert_equal [out_of_date_config], ForemanVirtWhoConfigure::Config.search_for('status = error')
99
+ assert_equal [out_of_date_config], ForemanVirtWhoConfigure::Config.search_for('status = out_of_date')
100
100
  assert_equal [unknown_config], ForemanVirtWhoConfigure::Config.search_for('status = unknown')
101
101
  end
102
102
 
@@ -130,7 +130,7 @@ module ForemanVirtWhoConfigure
130
130
 
131
131
  test '#status returns the symbol representing the current status' do
132
132
  assert_equal :ok, ok_config.status
133
- assert_equal :error, out_of_date_config.status
133
+ assert_equal :out_of_date, out_of_date_config.status
134
134
  assert_equal :unknown, unknown_config.status
135
135
  end
136
136
 
@@ -105,13 +105,13 @@ module ForemanVirtWhoConfigure
105
105
  test 'it returns the inline content of script if no format is specified' do
106
106
  assert_not_includes output, '#!/usr/bin/bash'
107
107
  assert_not_includes output, 'exit $result_code'
108
- assert_includes output, 'echo "Installing virt-who.."'
108
+ assert_includes output, 'step 1 "Installing virt-who"'
109
109
  end
110
110
 
111
111
  test 'it returns the bash script with shebang and exit code for :bash_script format' do
112
112
  assert_includes bash_script_output, "#!/usr/bin/bash\n"
113
113
  assert_includes bash_script_output, 'exit $result_code'
114
- assert_includes bash_script_output, 'echo "Installing virt-who.."'
114
+ assert_includes bash_script_output, 'step 1 "Installing virt-who"'
115
115
  end
116
116
  end
117
117
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_virt_who_configure
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Foreman virt-who-configure team
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-15 00:00:00.000000000 Z
11
+ date: 2017-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: katello
@@ -110,9 +110,7 @@ files:
110
110
  - locale/Makefile
111
111
  - locale/action_names.rb
112
112
  - locale/en/LC_MESSAGES/foreman_virt_who_configure.mo
113
- - locale/en/foreman_virt_who_configure.edit.po
114
113
  - locale/en/foreman_virt_who_configure.po
115
- - locale/en/foreman_virt_who_configure.po.time_stamp
116
114
  - locale/foreman_virt_who_configure.pot
117
115
  - locale/gemspec.rb
118
116
  - test/factories/foreman_virt_who_configure_factories.rb
@@ -145,8 +143,8 @@ signing_key:
145
143
  specification_version: 4
146
144
  summary: A plugin to make virt-who configuration easy
147
145
  test_files:
148
- - test/factories/foreman_virt_who_configure_factories.rb
149
- - test/test_plugin_helper.rb
150
146
  - test/unit/config_test.rb
151
147
  - test/unit/output_generator_test.rb
148
+ - test/test_plugin_helper.rb
152
149
  - test/functional/api/v2/configs_controller_test.rb
150
+ - test/factories/foreman_virt_who_configure_factories.rb
@@ -1,733 +0,0 @@
1
- # foreman_virt_who_configure
2
- #
3
- # This file is distributed under the same license as foreman_virt_who_configure.
4
- #
5
- msgid ""
6
- msgstr ""
7
- "Project-Id-Version: version 0.0.1\n"
8
- "Report-Msgid-Bugs-To: \n"
9
- "PO-Revision-Date: 2014-08-20 08:54+0100\n"
10
- "Last-Translator: Foreman Team <foreman-dev@googlegroups.com>\n"
11
- "Language-Team: Foreman Team <foreman-dev@googlegroups.com>\n"
12
- "Language: \n"
13
- "MIME-Version: 1.0\n"
14
- "Content-Type: text/plain; charset=UTF-8\n"
15
- "Content-Transfer-Encoding: 8bit\n"
16
- "Plural-Forms: nplurals=2; plural=(n != 1);\n"
17
-
18
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:13
19
- msgid "List of virt-who configurations"
20
- msgstr ""
21
-
22
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:14
23
- msgid "List of virt-who configurations per organization"
24
- msgstr ""
25
-
26
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:21
27
- msgid "Show a virt-who configuration"
28
- msgstr ""
29
-
30
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:27
31
- msgid "Renders a deploy script for the specified virt-who configuration"
32
- msgstr ""
33
-
34
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:39
35
- msgid "Configuration name"
36
- msgstr ""
37
-
38
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:40
39
- msgid "Configuration interval in minutes"
40
- msgstr ""
41
-
42
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:41
43
- msgid "Hypervisor filtering mode, %{unlimited} means no filtering, %{whitelist} means whitelist, %{blacklist} means blacklist"
44
- msgstr ""
45
-
46
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:42
47
- msgid "Hypervisor whitelist, applicable only when filtering mode is set to 1. Wildcards and regular expressions are supported, multiple records must be separated by comma."
48
- msgstr ""
49
-
50
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:43
51
- msgid "Hypervisor blacklist, applicable only when filtering mode is set to 2. Wildcards and regular expressions are supported, multiple records must be separated by comma."
52
- msgstr ""
53
-
54
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:44
55
- msgid "Specifies how the hypervisor will be identified."
56
- msgstr ""
57
-
58
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:45
59
- msgid "Hypervisor type"
60
- msgstr ""
61
-
62
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:46
63
- msgid "Fully qualified host name or IP address of the hypervisor"
64
- msgstr ""
65
-
66
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:47 ../app/helpers/foreman_virt_who_configure/configs_helper.rb:20
67
- msgid "Account name by which virt-who is to connect to the hypervisor."
68
- msgstr ""
69
-
70
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:48
71
- msgid "Hypervisor password, required for all hypervisor types except for libvirt"
72
- msgstr ""
73
-
74
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:49 ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:2
75
- msgid "Satellite server FQDN"
76
- msgstr ""
77
-
78
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:50
79
- msgid "Enable debugging output"
80
- msgstr ""
81
-
82
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:51
83
- msgid "HTTP proxy that should be used for communication between the server on which virt-who is running and the hypervisors and virtualization managers."
84
- msgstr ""
85
-
86
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:52
87
- msgid "Ignore proxy. A comma-separated list of hostnames or domains or ip addresses to ignore proxy settings for. Optionally this may be set to * to bypass proxy settings for all hostnames domains or ip addresses."
88
- msgstr ""
89
-
90
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:53
91
- msgid "Organization of the virt-who configuration"
92
- msgstr ""
93
-
94
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:57
95
- msgid "Create a virt-who configuration"
96
- msgstr ""
97
-
98
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:65
99
- msgid "Update a virt-who configuration"
100
- msgstr ""
101
-
102
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:66 ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:74
103
- msgid "Configuration numeric identifier"
104
- msgstr ""
105
-
106
- #: ../app/controllers/foreman_virt_who_configure/api/v2/configs_controller.rb:73
107
- msgid "Delete a virt-who configuration"
108
- msgstr ""
109
-
110
- #: ../app/helpers/foreman_virt_who_configure/compatibility_helper.rb:7
111
- msgid "Create Config"
112
- msgstr ""
113
-
114
- #: ../app/helpers/foreman_virt_who_configure/compatibility_helper.rb:9
115
- msgid "New Config"
116
- msgstr ""
117
-
118
- #: ../app/helpers/foreman_virt_who_configure/compatibility_helper.rb:16
119
- msgid "Help"
120
- msgstr ""
121
-
122
- #: ../app/helpers/foreman_virt_who_configure/configs_helper.rb:5
123
- msgid "VMware vCenter server’s fully qualified host name or IP address."
124
- msgstr ""
125
-
126
- #: ../app/helpers/foreman_virt_who_configure/configs_helper.rb:6
127
- msgid "Red Hat Virtualization Manager’s fully qualified host name or IP address. For example, <code>https://hostname:443/ovirt-engine/</code> for v4, <code>https://hostname_or_IP:443</code> for v3"
128
- msgstr ""
129
-
130
- #: ../app/helpers/foreman_virt_who_configure/configs_helper.rb:8
131
- msgid "Microsoft Hyper-V fully qualified host name or IP address."
132
- msgstr ""
133
-
134
- #: ../app/helpers/foreman_virt_who_configure/configs_helper.rb:9
135
- msgid "XenServer server’s fully qualified host name or IP address."
136
- msgstr ""
137
-
138
- #: ../app/helpers/foreman_virt_who_configure/configs_helper.rb:10
139
- msgid "Libvirt server’s fully qualified host name or IP address. You can also specify preferred schema, for example: <code>qemu+ssh://libvirt.example.com/system</code>. If you use SSH, make sure you setup root's SSH key on target host for a user specified at hypervisor username field"
140
- msgstr ""
141
-
142
- #: ../app/helpers/foreman_virt_who_configure/configs_helper.rb:16
143
- msgid "Account name by which virt-who is to connect to the hypervisor, in the format <code>domain_name\\account_name</code>. Note that only a single backslash separates the values for domain_name and account_name. If you are using a domain account, and the global configuration file <code>/etc/sysconfig/virt-who</code>, then <b>two</b> backslashes are required. For further details, see <a href=\"https://access.redhat.com/solutions/1270223\">Red Hat Knowledgebase solution How to use a windows domain account with virt-who</a> for more information."
144
- msgstr ""
145
-
146
- #: ../app/helpers/foreman_virt_who_configure/configs_helper.rb:17
147
- msgid "Account name by which virt-who is to connect to the Red Hat Enterprise Virtualization Manager instance. The username option requires input in the format username@domain."
148
- msgstr ""
149
-
150
- #: ../app/helpers/foreman_virt_who_configure/configs_helper.rb:19
151
- msgid "Account name by which virt-who is to connect to the hypervisor. By default this is <code>Administrator</code>. To use an alternate account, create a user account and assign that account to the following groups (Windows 2012 Server): Hyper-V Administrators and Remote Management Users."
152
- msgstr ""
153
-
154
- #: ../app/helpers/foreman_virt_who_configure/configs_helper.rb:21
155
- msgid "Account name by which virt-who is to connect to the hypervisor. Virt-who does not support password based authentication, you must manually setup SSH key, see <a href=\"https://access.redhat.com/solutions/1515983\">Red Hat Knowledgebase solution How to configure virt-who for a KVM host</a> for more information."
156
- msgstr ""
157
-
158
- #: ../app/helpers/foreman_virt_who_configure/configs_helper.rb:28
159
- msgid "No Report Yet"
160
- msgstr ""
161
-
162
- #: ../app/helpers/foreman_virt_who_configure/configs_helper.rb:32
163
- msgid "Unknown configuration status"
164
- msgstr ""
165
-
166
- #: ../app/models/foreman_virt_who_configure/config.rb:16
167
- msgid "Unlimited"
168
- msgstr ""
169
-
170
- #: ../app/models/foreman_virt_who_configure/config.rb:17
171
- msgid "Whitelist"
172
- msgstr ""
173
-
174
- #: ../app/models/foreman_virt_who_configure/config.rb:18
175
- msgid "Blacklist"
176
- msgstr ""
177
-
178
- #: ../app/models/foreman_virt_who_configure/config.rb:22
179
- msgid "General information"
180
- msgstr ""
181
-
182
- #: ../app/models/foreman_virt_who_configure/config.rb:23
183
- msgid "Schedule"
184
- msgstr ""
185
-
186
- #: ../app/models/foreman_virt_who_configure/config.rb:24
187
- msgid "Connection"
188
- msgstr ""
189
-
190
- #: ../app/models/foreman_virt_who_configure/config.rb:41
191
- msgid "Every hour"
192
- msgstr ""
193
-
194
- #: ../app/models/foreman_virt_who_configure/config.rb:42
195
- msgid "Every 2 hours"
196
- msgstr ""
197
-
198
- #: ../app/models/foreman_virt_who_configure/config.rb:43
199
- msgid "Every 4 hours"
200
- msgstr ""
201
-
202
- #: ../app/models/foreman_virt_who_configure/config.rb:44
203
- msgid "Every 8 hours"
204
- msgstr ""
205
-
206
- #: ../app/models/foreman_virt_who_configure/config.rb:45
207
- msgid "Every 12 hours"
208
- msgstr ""
209
-
210
- #: ../app/models/foreman_virt_who_configure/config.rb:51
211
- msgid "OK"
212
- msgstr ""
213
-
214
- #: ../app/models/foreman_virt_who_configure/config.rb:52
215
- msgid "No change"
216
- msgstr ""
217
-
218
- #: ../app/models/foreman_virt_who_configure/config.rb:53
219
- msgid "Unknown"
220
- msgstr ""
221
-
222
- #: ../app/models/foreman_virt_who_configure/config.rb:56
223
- msgid "Unknown configuration status, caused by unexpected conditions"
224
- msgstr ""
225
-
226
- #: ../app/models/foreman_virt_who_configure/config.rb:58
227
- msgid "The configuration was not deployed yet or the virt-who was unable to report the status"
228
- msgstr ""
229
-
230
- #: ../app/models/foreman_virt_who_configure/config.rb:59
231
- msgid "The virt-who report arrived within the interval"
232
- msgstr ""
233
-
234
- #: ../app/models/foreman_virt_who_configure/config.rb:60
235
- msgid "The virt-who report has not arrived within the interval, which indicates there was no change on hypervisor"
236
- msgstr ""
237
-
238
- #: ../app/models/foreman_virt_who_configure/config.rb:154
239
- msgid "every %s hours"
240
- msgstr ""
241
-
242
- #: ../app/models/foreman_virt_who_configure/output_generator.rb:13
243
- msgid "Success"
244
- msgstr ""
245
-
246
- #: ../app/models/foreman_virt_who_configure/output_generator.rb:14
247
- msgid "Newer version of virt-who is required, minimum version is %s"
248
- msgstr ""
249
-
250
- #: ../app/models/foreman_virt_who_configure/output_generator.rb:15
251
- msgid "Unable to create virt-who config file"
252
- msgstr ""
253
-
254
- #: ../app/models/foreman_virt_who_configure/output_generator.rb:16
255
- msgid "Unable to create sysconfig file"
256
- msgstr ""
257
-
258
- #: ../app/models/foreman_virt_who_configure/output_generator.rb:17
259
- msgid "Unable to enable virt-who service using chkconfig"
260
- msgstr ""
261
-
262
- #: ../app/models/foreman_virt_who_configure/output_generator.rb:18
263
- msgid "Unable to start virt-who service, please see virt-who logs for more details"
264
- msgstr ""
265
-
266
- #: ../app/models/foreman_virt_who_configure/output_generator.rb:19
267
- msgid "Unable to install virt-who package, make sure the host is properly subscribed and has access to satellite-tools repository"
268
- msgstr ""
269
-
270
- #: ../app/models/foreman_virt_who_configure/output_generator.rb:39
271
- msgid "Owner was not provided"
272
- msgstr ""
273
-
274
- #: ../app/models/foreman_virt_who_configure/output_generator.rb:40
275
- msgid "Interval was not provided"
276
- msgstr ""
277
-
278
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:5
279
- msgid "Virt-who Configurations Status"
280
- msgstr ""
281
-
282
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:9
283
- msgid "Configuration Status"
284
- msgstr ""
285
-
286
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:10
287
- msgid "Count"
288
- msgstr ""
289
-
290
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:15
291
- msgid "No Reports"
292
- msgstr ""
293
-
294
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:19
295
- msgid "Out Of Date"
296
- msgstr ""
297
-
298
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:23
299
- msgid "Up To Date"
300
- msgstr ""
301
-
302
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:27
303
- msgid "Total Configurations"
304
- msgstr ""
305
-
306
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:33
307
- msgid "Latest Out of Date Configurations"
308
- msgstr ""
309
-
310
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:35
311
- msgid "No configuration found"
312
- msgstr ""
313
-
314
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:40 ../app/views/foreman_virt_who_configure/configs/index.html.erb:8
315
- msgid "Config|Name"
316
- msgstr ""
317
-
318
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:41
319
- msgid "Config|Last Report"
320
- msgstr ""
321
-
322
- #: ../app/views/dashboard/_foreman_virt_who_configs_status_widget.html.erb:42 ../app/views/foreman_virt_who_configure/configs/index.html.erb:9
323
- msgid "Config|Interval"
324
- msgstr ""
325
-
326
- #: ../app/views/foreman_virt_who_configure/configs/edit.html.erb:1
327
- msgid "Edit Virt-who Config"
328
- msgstr ""
329
-
330
- #: ../app/views/foreman_virt_who_configure/configs/index.html.erb:1
331
- msgid "Virt-who Configurations"
332
- msgstr ""
333
-
334
- #: ../app/views/foreman_virt_who_configure/configs/index.html.erb:10
335
- msgid "Status"
336
- msgstr ""
337
-
338
- #: ../app/views/foreman_virt_who_configure/configs/index.html.erb:11
339
- msgid "Actions"
340
- msgstr ""
341
-
342
- #: ../app/views/foreman_virt_who_configure/configs/index.html.erb:21
343
- msgid "Edit"
344
- msgstr ""
345
-
346
- #: ../app/views/foreman_virt_who_configure/configs/index.html.erb:22
347
- msgid "Delete virt-who configuration %s?"
348
- msgstr ""
349
-
350
- #: ../app/views/foreman_virt_who_configure/configs/new.html.erb:1
351
- msgid "New Virt-who Config"
352
- msgstr ""
353
-
354
- #: ../app/views/foreman_virt_who_configure/configs/show.html.erb:8
355
- msgid "To deploy this configuration. run this script on the target host which has access to Red Hat Satellite Tools repository and will run virt-who reporting, preferably Satellite host:"
356
- msgstr ""
357
-
358
- #: ../app/views/foreman_virt_who_configure/configs/show.html.erb:10
359
- msgid "On the target virt-who host:"
360
- msgstr ""
361
-
362
- #: ../app/views/foreman_virt_who_configure/configs/show.html.erb:11
363
- msgid "1. Copy this configuration script to a safe directory."
364
- msgstr ""
365
-
366
- #: ../app/views/foreman_virt_who_configure/configs/show.html.erb:12
367
- msgid "2. Make the script executable and run it."
368
- msgstr ""
369
-
370
- #: ../app/views/foreman_virt_who_configure/configs/show.html.erb:13
371
- msgid "3. Delete the script."
372
- msgstr ""
373
-
374
- #: ../app/views/foreman_virt_who_configure/configs/show.html.erb:21
375
- msgid "Edit this configuration"
376
- msgstr ""
377
-
378
- #: ../app/views/foreman_virt_who_configure/configs/show.html.erb:22
379
- msgid "Download the script"
380
- msgstr ""
381
-
382
- #: ../app/views/foreman_virt_who_configure/configs/show.html.erb:23
383
- msgid "Copy to clipboard"
384
- msgstr ""
385
-
386
- #: ../app/views/foreman_virt_who_configure/configs/show.html.erb:26
387
- msgid "Configuration script: "
388
- msgstr ""
389
-
390
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:2
391
- msgid "Satellite Server’s fully-qualified host name, for example: satellite.example.com"
392
- msgstr ""
393
-
394
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:3
395
- msgid "Hypervisor ID"
396
- msgstr ""
397
-
398
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:4
399
- msgid ""
400
- "Specifies that hypervisors will be identified by their <b>hostname</b>, <b>uuid</b> or <b>hwuuid</b>.\n"
401
- " Note that some virtualization backends don't have all of them implemented.\n"
402
- " Default is <b>hostname</b>, which provides more meaningful hypervisor\n"
403
- " names, but can cause duplicated hypervisor registrations if the host is renamed. To avoid that, you can use <b>uuid</b> instead. <b>hwuuid</b> is applicable to esx and rhevm only.\n"
404
- " This property is meant to be set up before the initial run of virt-who. Changing it later will result in duplicated entries in the subscription manager."
405
- msgstr ""
406
-
407
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:9
408
- msgid "Filtering"
409
- msgstr ""
410
-
411
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:10
412
- msgid "If you run a hybrid environment, with virtual machines running Red Hat Enterprise Linux and other operating systems, you may want to limit the scope of virt-who’s access to hosts. For example, if some hypervisors host only Microsoft Windows Server instances, there is no benefit in having those hypervisors reported by the virt-who agent."
413
- msgstr ""
414
-
415
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:11
416
- msgid "Only hosts which uuid (or hostname or hwuuid, based on <code>hypervisor_id</code>) is specified in comma-separated list in this option will be reported. Wildcards and regular expressions are supported, multiple records must be separated by comma. Put the value into the double-quotes if it contains special characters like comma. All new line characters will be removed in resulting configuration file, white spaces are removed from beginning and end."
417
- msgstr ""
418
-
419
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:11
420
- msgid "Filter hosts"
421
- msgstr ""
422
-
423
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:12
424
- msgid "Hosts which uuid (or hostname or hwuuid, based on <code>hypervisor_id</code>) is specified in comma-separated list in this option will <b>NOT</b> be reported. Wildcards and regular expressions are supported, multiple records must be separated by comma. Put the value into the double-quotes if it contains special characters like comma. All new line characters will be removed in resulting configuration file, white spaces are removed from beginning and end."
425
- msgstr ""
426
-
427
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:12
428
- msgid "Exclude hosts"
429
- msgstr ""
430
-
431
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:13
432
- msgid "Do you want to enable debugging output?"
433
- msgstr ""
434
-
435
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:14
436
- msgid "HTTP proxy that should be used for communication between the server on which virt-who is running and the hypervisors and virtualization managers. Leave this blank if no proxy is used."
437
- msgstr ""
438
-
439
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:14
440
- msgid "HTTP proxy"
441
- msgstr ""
442
-
443
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:15
444
- msgid "A comma-separated list of hostnames or domains or ip addresses to ignore proxy settings for. Optionally this may be set to <code>*</code> to bypass proxy settings for all hostnames domains or ip addresses."
445
- msgstr ""
446
-
447
- #: ../app/views/foreman_virt_who_configure/configs/steps/_connection_form.erb:15
448
- msgid "Ignore proxy"
449
- msgstr ""
450
-
451
- #: ../app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb:2
452
- msgid "Name of this configuration, e.g. the name of the hypervisor"
453
- msgstr ""
454
-
455
- #: ../app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb:7
456
- msgid "Owner"
457
- msgstr ""
458
-
459
- #: ../app/views/foreman_virt_who_configure/configs/steps/_general_information_form.erb:13
460
- msgid "Account password by which virt-who is to connect to the hypervisor instance."
461
- msgstr ""
462
-
463
- #: ../app/views/foreman_virt_who_configure/configs/steps/_schedule_form.erb:2
464
- msgid "How often to check connected hypervisors for changes? Also affects how often a mapping is reported. The recommended value for most environments is every two hours."
465
- msgstr ""
466
-
467
- #: ../app/views/foreman_virt_who_configure/configs/welcome.html.erb:5
468
- msgid "Configs"
469
- msgstr ""
470
-
471
- #: ../app/views/foreman_virt_who_configure/configs/welcome.html.erb:7
472
- msgid "On this page you can define virt-who configurations for your hypervisors."
473
- msgstr ""
474
-
475
- #: ../app/views/foreman_virt_who_configure/configs/welcome.html.erb:8
476
- msgid "One virt-who configuration represents one config file in /etc/virt-who.d directory and maps to single hypervisor, organization and lifecycle environment."
477
- msgstr ""
478
-
479
- #: ../app/views/foreman_virt_who_configure/configs/welcome.html.erb:9
480
- msgid "To define a new configuration, click the New Config button and fill in the form. After you provide all required information a virt-who configuration script will be generated. You could either install it manually by copying the script or deploy it on a selected target host through Remote Execution."
481
- msgstr ""
482
-
483
- #: ../lib/foreman_virt_who_configure/engine.rb:73
484
- msgid "Virt-who configurations"
485
- msgstr ""
486
-
487
- #: ../lib/foreman_virt_who_configure/engine.rb:78
488
- msgid "Virt-who Configs Status"
489
- msgstr ""
490
-
491
- #: action_names.rb:2
492
- msgid "Create"
493
- msgstr ""
494
-
495
- #: action_names.rb:3
496
- msgid "Delete"
497
- msgstr ""
498
-
499
- #: action_names.rb:4
500
- msgid "Export"
501
- msgstr ""
502
-
503
- #: action_names.rb:5
504
- msgid "Incremental Update"
505
- msgstr ""
506
-
507
- #: action_names.rb:6
508
- msgid "Delete Lifecycle Environment"
509
- msgstr ""
510
-
511
- #: action_names.rb:7
512
- msgid "Attach subscriptions"
513
- msgstr ""
514
-
515
- #: action_names.rb:8
516
- msgid "Auto attach subscriptions"
517
- msgstr ""
518
-
519
- #: action_names.rb:9
520
- msgid "Destroy Content Host"
521
- msgstr ""
522
-
523
- #: action_names.rb:10
524
- msgid "Install Applicable Errata"
525
- msgstr ""
526
-
527
- #: action_names.rb:11
528
- msgid "Install erratum"
529
- msgstr ""
530
-
531
- #: action_names.rb:12
532
- msgid "Hypervisors"
533
- msgstr ""
534
-
535
- #: action_names.rb:13
536
- msgid "Hypervisors update"
537
- msgstr ""
538
-
539
- #: action_names.rb:14
540
- msgid "Install package"
541
- msgstr ""
542
-
543
- #: action_names.rb:15
544
- msgid "Remove package"
545
- msgstr ""
546
-
547
- #: action_names.rb:16
548
- msgid "Update package"
549
- msgstr ""
550
-
551
- #: action_names.rb:17
552
- msgid "Install package group"
553
- msgstr ""
554
-
555
- #: action_names.rb:18
556
- msgid "Remove package group"
557
- msgstr ""
558
-
559
- #: action_names.rb:19
560
- msgid "Register Host"
561
- msgstr ""
562
-
563
- #: action_names.rb:20
564
- msgid "Remove subscriptions"
565
- msgstr ""
566
-
567
- #: action_names.rb:21
568
- msgid "Unregister Host"
569
- msgstr ""
570
-
571
- #: action_names.rb:22
572
- msgid "Update for host"
573
- msgstr ""
574
-
575
- #: action_names.rb:23
576
- msgid "Package Profile Update"
577
- msgstr ""
578
-
579
- #: action_names.rb:24
580
- msgid "Auto-attach subscriptions"
581
- msgstr ""
582
-
583
- #: action_names.rb:25
584
- msgid "Destroy"
585
- msgstr ""
586
-
587
- #: action_names.rb:26
588
- msgid "Product Create"
589
- msgstr ""
590
-
591
- #: action_names.rb:27
592
- msgid "Delete Product"
593
- msgstr ""
594
-
595
- #: action_names.rb:28
596
- msgid "Reindex subscriptions"
597
- msgstr ""
598
-
599
- #: action_names.rb:29
600
- msgid "Update"
601
- msgstr ""
602
-
603
- #: action_names.rb:30
604
- msgid "Errata mail"
605
- msgstr ""
606
-
607
- #: action_names.rb:31
608
- msgid "Filtered index content"
609
- msgstr ""
610
-
611
- #: action_names.rb:32
612
- msgid "Upload into"
613
- msgstr ""
614
-
615
- #: action_names.rb:33
616
- msgid "Index content"
617
- msgstr ""
618
-
619
- #: action_names.rb:34
620
- msgid "Index errata"
621
- msgstr ""
622
-
623
- #: action_names.rb:35
624
- msgid "Index package groups"
625
- msgstr ""
626
-
627
- #: action_names.rb:36
628
- msgid "Remove Content"
629
- msgstr ""
630
-
631
- #: action_names.rb:37
632
- msgid "Synchronize"
633
- msgstr ""
634
-
635
- #: action_names.rb:38
636
- msgid "Upload errata into"
637
- msgstr ""
638
-
639
- #: action_names.rb:39
640
- msgid "Disable"
641
- msgstr ""
642
-
643
- #: action_names.rb:40
644
- msgid "Enable"
645
- msgstr ""
646
-
647
- #: action_names.rb:41
648
- msgid "Add Sync Plan Products"
649
- msgstr ""
650
-
651
- #: action_names.rb:42
652
- msgid "Update Sync Plan Products"
653
- msgstr ""
654
-
655
- #: action_names.rb:43
656
- msgid "Update Sync Plan"
657
- msgstr ""
658
-
659
- #: action_names.rb:44
660
- msgid "Remote action:"
661
- msgstr ""
662
-
663
- #: action_names.rb:45
664
- msgid "Report"
665
- msgstr ""
666
-
667
- #: action_names.rb:46
668
- msgid "Action with sub plans"
669
- msgstr ""
670
-
671
- #: action_names.rb:47
672
- msgid "Create architecture"
673
- msgstr ""
674
-
675
- #: action_names.rb:48
676
- msgid "Delete architecture"
677
- msgstr ""
678
-
679
- #: action_names.rb:49
680
- msgid "Update architecture"
681
- msgstr ""
682
-
683
- #: action_names.rb:50
684
- msgid "Import facts"
685
- msgstr ""
686
-
687
- #: action_names.rb:51
688
- msgid "Import Puppet classes"
689
- msgstr ""
690
-
691
- #: action_names.rb:52
692
- msgid "Abstract async task"
693
- msgstr ""
694
-
695
- #: action_names.rb:53
696
- msgid "Delete Activation Key"
697
- msgstr ""
698
-
699
- #: action_names.rb:54
700
- msgid "Configure capsule"
701
- msgstr ""
702
-
703
- #: action_names.rb:55
704
- msgid "Create repos"
705
- msgstr ""
706
-
707
- #: action_names.rb:56
708
- msgid "Synchronize capsule content"
709
- msgstr ""
710
-
711
- #: action_names.rb:57
712
- msgid "Promotion"
713
- msgstr ""
714
-
715
- #: action_names.rb:58
716
- msgid "Publish"
717
- msgstr ""
718
-
719
- #: action_names.rb:59
720
- msgid "Remove from Environment"
721
- msgstr ""
722
-
723
- #: action_names.rb:60
724
- msgid "Remove Version"
725
- msgstr ""
726
-
727
- #: action_names.rb:61
728
- msgid "Remove Versions and Associations"
729
- msgstr ""
730
-
731
- #: gemspec.rb:2
732
- msgid "A plugin to make virt-who configuration easy"
733
- msgstr ""