hammer_cli_csv 2.3.0 → 2.3.1

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.
@@ -18,6 +18,8 @@ Usage:
18
18
  csv content-views [OPTIONS]
19
19
 
20
20
  Options:
21
+ --[no-]promote Publish and promote content view on import (default false)
22
+ --[no-]publish Publish content view on import (default false)
21
23
  --continue-on-error Continue processing even if individual resource error
22
24
  --export Export current data instead of importing
23
25
  --file FILE_NAME CSV file (default to /dev/stdout with --export, otherwise required)
@@ -43,16 +45,16 @@ HELP
43
45
  stdout,stderr = capture {
44
46
  hammer.run(%W{--reload-cache csv content-views --verbose --file #{file.path}})
45
47
  }
46
- refute_equal '', stderr
47
- assert_equal stdout[0..-2], "Creating content view '#{name}'...done"
48
+ assert_equal '', stderr # no task
49
+ assert_equal stdout[0..-2], "Creating content view '#{name}'...\ndone"
48
50
 
49
51
  file.rewind
50
52
 
51
53
  stdout,stderr = capture {
52
54
  hammer.run(%W{--reload-cache csv content-views --verbose --file #{file.path}})
53
55
  }
54
- assert_equal '', stderr
55
- assert_equal stdout[0..-2], "Updating content view '#{name}'...done"
56
+ assert_equal '', stderr # no task
57
+ assert_equal stdout[0..-2], "Updating content view '#{name}'...\ndone"
56
58
  file.unlink
57
59
 
58
60
  stdout,stderr = capture {
@@ -65,6 +67,123 @@ HELP
65
67
  stop_vcr
66
68
  end
67
69
 
70
+ def test_import_no_publish
71
+ start_vcr
72
+ set_user 'admin'
73
+
74
+ name = "testcv1"
75
+
76
+ file = Tempfile.new('content_views_test')
77
+ file.write("Name,Label,Organization,Composite,Repositories or Composites,Lifecycle Environments\n")
78
+ file.write("#{name},#{name},Test Corporation,No,"",Library\n")
79
+ file.rewind
80
+
81
+ stdout,stderr = capture {
82
+ hammer.run(%W{--reload-cache csv content-views --verbose --file #{file.path} --no-publish})
83
+ }
84
+ assert_equal '', stderr # no task
85
+ assert_equal stdout[0..-2], "Creating content view '#{name}'...\ndone"
86
+
87
+ stdout,stderr = capture {
88
+ hammer.run(%W{--reload-cache content-view version list --organization-label testcorp --content-view #{name}})
89
+ }
90
+ versions = stdout.split("\n").length - 3
91
+ assert_equal 0, versions
92
+
93
+ file.unlink
94
+ content_view_delete(name)
95
+ stop_vcr
96
+ end
97
+
98
+ def test_import_publish
99
+ start_vcr
100
+ set_user 'admin'
101
+
102
+ name = "testcv1"
103
+
104
+ file = Tempfile.new('content_views_test')
105
+ file.write("Name,Label,Organization,Composite,Repositories or Composites,Lifecycle Environments\n")
106
+ file.write("#{name},#{name},Test Corporation,No,"",Library\n")
107
+ file.rewind
108
+
109
+ stdout,stderr = capture {
110
+ hammer.run(%W{--reload-cache csv content-views --verbose --file #{file.path} --publish})
111
+ }
112
+ assert_match(/Task .* running/, stderr)
113
+ assert_equal stdout[0..-2], "Creating content view '#{name}'...\ndone"
114
+
115
+ stdout,stderr = capture {
116
+ hammer.run(%W{--reload-cache content-view version list --organization-label testcorp --content-view #{name}})
117
+ }
118
+ versions = stdout.split("\n").length - 4
119
+ assert_equal 1, versions
120
+
121
+ stdout,stderr = capture {
122
+ hammer.run(%W{--reload-cache content-view info --organization-label testcorp --name #{name}})
123
+ }
124
+ environment = stdout[/Lifecycle Environments:(.*)Versions/m, 1].strip.split("\n")
125
+ assert_equal 1, environment.length / 2 # environment contains two lines (id and name)
126
+ assert_match(/Library/, environment.last)
127
+
128
+ file.unlink
129
+ content_view_delete(name)
130
+ stop_vcr
131
+ end
132
+
133
+ def test_import_promote_no_publish
134
+ start_vcr
135
+ set_user 'admin'
136
+
137
+ name = "testcv1"
138
+
139
+ file = Tempfile.new('content_views_test')
140
+ file.write('')
141
+ file.rewind
142
+
143
+ stdout,stderr = capture {
144
+ hammer.run(%W{--reload-cache csv content-views --verbose --file #{file.path} --promote --no-publish})
145
+ }
146
+ assert_match(/Cannot pass in --promote with --no-publish/, stderr)
147
+
148
+ file.unlink
149
+ stop_vcr
150
+ end
151
+
152
+ def test_import_promote
153
+ start_vcr
154
+ set_user 'admin'
155
+
156
+ name = "testcv1"
157
+
158
+ file = Tempfile.new('content_views_test')
159
+ file.write("Name,Label,Organization,Composite,Repositories or Composites,Lifecycle Environments\n")
160
+ file.write("#{name},#{name},Test Corporation,No,"",\"Library,Development\"\n")
161
+ file.rewind
162
+
163
+ stdout,stderr = capture {
164
+ hammer.run(%W{--reload-cache csv content-views --verbose --file #{file.path} --promote})
165
+ }
166
+ assert_match(/Task .* running/, stderr)
167
+ assert_equal stdout[0..-2], "Creating content view '#{name}'...\ndone"
168
+
169
+ stdout,stderr = capture {
170
+ hammer.run(%W{--reload-cache content-view version list --organization-label testcorp --content-view #{name}})
171
+ }
172
+ versions = stdout.split("\n").length - 4
173
+ assert_equal 1, versions
174
+
175
+ stdout,stderr = capture {
176
+ hammer.run(%W{--reload-cache content-view info --organization-label testcorp --name #{name}})
177
+ }
178
+ environment = stdout[/Lifecycle Environments:(.*)Versions/m, 1].strip.split("\n")
179
+ assert_equal 2, environment.length / 2 # environment contains two lines (id and name)
180
+ assert_match(/Development/, environment.last)
181
+
182
+ file.unlink
183
+ content_view_delete(name, "Library,Development")
184
+ stop_vcr
185
+ end
186
+
68
187
  def test_export
69
188
  start_vcr
70
189
  set_user 'admin'
@@ -76,6 +195,23 @@ HELP
76
195
  assert_equal stdout.split("\n")[0], "Name,Label,Organization,Composite,Repositories or Composites,Lifecycle Environments"
77
196
  stop_vcr
78
197
  end
198
+
199
+ def test_export_promote_publish
200
+ start_vcr
201
+ set_user 'admin'
202
+
203
+ _, stderr = capture {
204
+ hammer.run(%W{--reload-cache csv content-views --export --organization Test\ Corporation --promote})
205
+ }
206
+ assert_match(/Cannot pass publish or promote options on export/, stderr)
207
+
208
+ _, stderr = capture {
209
+ hammer.run(%W{--reload-cache csv content-views --export --organization Test\ Corporation --publish})
210
+ }
211
+ assert_match(/Cannot pass publish or promote options on export/, stderr)
212
+
213
+ stop_vcr
214
+ end
79
215
  end
80
216
  end
81
217
  # rubocop:enable LineLength
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hammer_cli_csv
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Thomas McKay
@@ -12,7 +12,7 @@ authors:
12
12
  autorequire:
13
13
  bindir: bin
14
14
  cert_chain: []
15
- date: 2017-06-08 00:00:00.000000000 Z
15
+ date: 2018-04-10 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: hammer_cli_katello
@@ -50,6 +50,7 @@ executables: []
50
50
  extensions: []
51
51
  extra_rdoc_files: []
52
52
  files:
53
+ - config/cli_config.yml
53
54
  - config/csv.yml
54
55
  - lib/hammer_cli_csv.rb
55
56
  - lib/hammer_cli_csv/activation_keys.rb
@@ -96,9 +97,7 @@ files:
96
97
  - locale/Makefile
97
98
  - locale/README.md
98
99
  - locale/en/LC_MESSAGES/hammer-cli-csv.mo
99
- - locale/en/hammer-cli-csv.edit.po
100
100
  - locale/en/hammer-cli-csv.po
101
- - locale/en/hammer-cli-csv.po.time_stamp
102
101
  - locale/hammer-cli-csv.pot
103
102
  - test/apipie_resource_mock.rb
104
103
  - test/config.template.yml
@@ -158,6 +157,11 @@ files:
158
157
  - test/fixtures/vcr_cassettes/resources/content_view_filters/rule_name_change.yml
159
158
  - test/fixtures/vcr_cassettes/resources/content_views/create_and_update.yml
160
159
  - test/fixtures/vcr_cassettes/resources/content_views/export.yml
160
+ - test/fixtures/vcr_cassettes/resources/content_views/export_promote_publish.yml
161
+ - test/fixtures/vcr_cassettes/resources/content_views/import_no_publish.yml
162
+ - test/fixtures/vcr_cassettes/resources/content_views/import_promote.yml
163
+ - test/fixtures/vcr_cassettes/resources/content_views/import_promote_no_publish.yml
164
+ - test/fixtures/vcr_cassettes/resources/content_views/import_publish.yml
161
165
  - test/fixtures/vcr_cassettes/resources/products/create_rhel_release.yml
162
166
  - test/fixtures/vcr_cassettes/resources/products/create_rpm.yml
163
167
  - test/fixtures/vcr_cassettes/resources/products/create_update_rpm_docker.yml
@@ -220,7 +224,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
220
224
  version: '0'
221
225
  requirements: []
222
226
  rubyforge_project:
223
- rubygems_version: 2.6.8
227
+ rubygems_version: 2.6.14
224
228
  signing_key:
225
229
  specification_version: 4
226
230
  summary: CSV commands for Hammer
@@ -283,6 +287,11 @@ test_files:
283
287
  - test/fixtures/vcr_cassettes/resources/content_view_filters/rule_name_change.yml
284
288
  - test/fixtures/vcr_cassettes/resources/content_views/create_and_update.yml
285
289
  - test/fixtures/vcr_cassettes/resources/content_views/export.yml
290
+ - test/fixtures/vcr_cassettes/resources/content_views/export_promote_publish.yml
291
+ - test/fixtures/vcr_cassettes/resources/content_views/import_no_publish.yml
292
+ - test/fixtures/vcr_cassettes/resources/content_views/import_promote.yml
293
+ - test/fixtures/vcr_cassettes/resources/content_views/import_promote_no_publish.yml
294
+ - test/fixtures/vcr_cassettes/resources/content_views/import_publish.yml
286
295
  - test/fixtures/vcr_cassettes/resources/products/create_rhel_release.yml
287
296
  - test/fixtures/vcr_cassettes/resources/products/create_rpm.yml
288
297
  - test/fixtures/vcr_cassettes/resources/products/create_update_rpm_docker.yml
@@ -1,578 +0,0 @@
1
- # English translations for hammer_cli_csv package.
2
- # Copyright (C) 2016 THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the hammer_cli_csv package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, 2016.
5
- #
6
- msgid ""
7
- msgstr ""
8
- "Project-Id-Version: hammer_cli_csv 2.1.0\n"
9
- "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2016-08-26 12:33-0400\n"
11
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
- "Language-Team: English\n"
13
- "Language: en\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=UTF-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
- "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
- "\n"
19
-
20
- #: ../lib/hammer_cli_csv/activation_keys.rb:7
21
- msgid "import or export activation keys"
22
- msgstr ""
23
-
24
- #: ../lib/hammer_cli_csv/activation_keys.rb:13 ../lib/hammer_cli_csv/content_hosts.rb:14
25
- msgid "Export one subscription per row, only process update subscriptions on import"
26
- msgstr ""
27
-
28
- #: ../lib/hammer_cli_csv/activation_keys.rb:121
29
- msgid "Activation key '%{name}' must already exist with --itemized_subscriptions"
30
- msgstr ""
31
-
32
- #: ../lib/hammer_cli_csv/activation_keys.rb:123
33
- msgid "Updating subscriptions for activation key '%{name}'..."
34
- msgstr ""
35
-
36
- #: ../lib/hammer_cli_csv/activation_keys.rb:126 ../lib/hammer_cli_csv/activation_keys.rb:157 ../lib/hammer_cli_csv/compute_resources.rb:69 ../lib/hammer_cli_csv/content_hosts.rb:178 ../lib/hammer_cli_csv/content_hosts.rb:223 ../lib/hammer_cli_csv/content_hosts.rb:271 ../lib/hammer_cli_csv/content_views.rb:135 ../lib/hammer_cli_csv/domains.rb:72 ../lib/hammer_cli_csv/installation_media.rb:72 ../lib/hammer_cli_csv/job_templates.rb:167 ../lib/hammer_cli_csv/job_templates.rb:209 ../lib/hammer_cli_csv/products.rb:83 ../lib/hammer_cli_csv/products.rb:241 ../lib/hammer_cli_csv/provisioning_templates.rb:140 ../lib/hammer_cli_csv/splice.rb:132 ../lib/hammer_cli_csv/splice.rb:246 ../lib/hammer_cli_csv/splice.rb:298 ../lib/hammer_cli_csv/splice.rb:307 ../lib/hammer_cli_csv/subnets.rb:100 ../lib/hammer_cli_csv/subscriptions.rb:85 ../lib/hammer_cli_csv/subscriptions.rb:111 ../lib/hammer_cli_csv/subscriptions.rb:122 ../lib/hammer_cli_csv/subscriptions.rb:147
37
- msgid "done"
38
- msgstr ""
39
-
40
- #: ../lib/hammer_cli_csv/activation_keys.rb:145
41
- msgid "Creating activation key '%{name}'..."
42
- msgstr ""
43
-
44
- #: ../lib/hammer_cli_csv/activation_keys.rb:149
45
- msgid "Updating activation key '%{name}'..."
46
- msgstr ""
47
-
48
- #: ../lib/hammer_cli_csv/activation_keys.rb:200 ../lib/hammer_cli_csv/content_hosts.rb:378
49
- msgid " '%{name}' already attached..."
50
- msgstr ""
51
-
52
- #: ../lib/hammer_cli_csv/activation_keys.rb:209 ../lib/hammer_cli_csv/activation_keys.rb:236 ../lib/hammer_cli_csv/content_hosts.rb:388
53
- msgid "No matching subscriptions"
54
- msgstr ""
55
-
56
- #: ../lib/hammer_cli_csv/activation_keys.rb:214
57
- msgid " attaching %{quantity} of '%{name}'..."
58
- msgstr ""
59
-
60
- #: ../lib/hammer_cli_csv/base.rb:21 ../lib/hammer_cli_csv/export.rb:17 ../lib/hammer_cli_csv/import.rb:19
61
- msgid "Only process organization matching this name"
62
- msgstr ""
63
-
64
- #: ../lib/hammer_cli_csv/base.rb:22
65
- msgid "Continue processing even if individual resource error"
66
- msgstr ""
67
-
68
- #: ../lib/hammer_cli_csv/base.rb:43
69
- msgid "**** This command is unsupported and is provided as tech preview. ****"
70
- msgstr ""
71
-
72
- #: ../lib/hammer_cli_csv/base.rb:153
73
- msgid "Error: %{message}"
74
- msgstr ""
75
-
76
- #: ../lib/hammer_cli_csv/base.rb:188
77
- msgid "Organization '%{name}' not found"
78
- msgstr ""
79
-
80
- #: ../lib/hammer_cli_csv/base.rb:198
81
- msgid "Organization 'id=%{id}' not found"
82
- msgstr ""
83
-
84
- #: ../lib/hammer_cli_csv/base.rb:219
85
- msgid "Location '%{name}' not found"
86
- msgstr ""
87
-
88
- #: ../lib/hammer_cli_csv/base.rb:229
89
- msgid "Location 'id=%{id}' not found"
90
- msgstr ""
91
-
92
- #: ../lib/hammer_cli_csv/base.rb:250
93
- msgid "Role '%{name}' not found"
94
- msgstr ""
95
-
96
- #: ../lib/hammer_cli_csv/base.rb:260
97
- msgid "Role 'id=%{id}' not found"
98
- msgstr ""
99
-
100
- #: ../lib/hammer_cli_csv/base.rb:281
101
- msgid "Permission '%{name}' not found"
102
- msgstr ""
103
-
104
- #: ../lib/hammer_cli_csv/base.rb:291
105
- msgid "Permission 'id=%{id}' not found"
106
- msgstr ""
107
-
108
- #: ../lib/hammer_cli_csv/base.rb:326
109
- msgid "Puppet environment '%{name}' not found"
110
- msgstr ""
111
-
112
- #: ../lib/hammer_cli_csv/base.rb:336
113
- msgid "Puppet environment 'id=%{id}' not found"
114
- msgstr ""
115
-
116
- #: ../lib/hammer_cli_csv/base.rb:357
117
- msgid "Template kind '%{name}' not found"
118
- msgstr ""
119
-
120
- #: ../lib/hammer_cli_csv/base.rb:367
121
- msgid "Template kind 'id=%{id}' not found"
122
- msgstr ""
123
-
124
- #: ../lib/hammer_cli_csv/base.rb:391
125
- msgid "Operating system '%{name}' not found"
126
- msgstr ""
127
-
128
- #: ../lib/hammer_cli_csv/base.rb:401
129
- msgid "Operating system 'id=%{id}' not found"
130
- msgstr ""
131
-
132
- #: ../lib/hammer_cli_csv/base.rb:424
133
- msgid "Architecture '%{name}' not found"
134
- msgstr ""
135
-
136
- #: ../lib/hammer_cli_csv/base.rb:434
137
- msgid "Architecture 'id=%{id}' not found"
138
- msgstr ""
139
-
140
- #: ../lib/hammer_cli_csv/base.rb:455
141
- msgid "Domain '%{name}' not found"
142
- msgstr ""
143
-
144
- #: ../lib/hammer_cli_csv/base.rb:465
145
- msgid "Domain 'id=%{id}' not found"
146
- msgstr ""
147
-
148
- #: ../lib/hammer_cli_csv/base.rb:486 ../lib/hammer_cli_csv/base.rb:518
149
- msgid "Partition table '%{name}' not found"
150
- msgstr ""
151
-
152
- #: ../lib/hammer_cli_csv/base.rb:550
153
- msgid "Host '%{name}' not found"
154
- msgstr ""
155
-
156
- #: ../lib/hammer_cli_csv/base.rb:560
157
- msgid "Host 'id=%{id}' not found"
158
- msgstr ""
159
-
160
- #: ../lib/hammer_cli_csv/base.rb:581
161
- msgid "Host Group '%{name}' not found"
162
- msgstr ""
163
-
164
- #: ../lib/hammer_cli_csv/base.rb:591
165
- msgid "Host Group 'id=%{id}' not found"
166
- msgstr ""
167
-
168
- #: ../lib/hammer_cli_csv/base.rb:612
169
- msgid "Provisioning template '%{name}' not found"
170
- msgstr ""
171
-
172
- #: ../lib/hammer_cli_csv/base.rb:622
173
- msgid "Provisioning template 'id=%{id}' not found"
174
- msgstr ""
175
-
176
- #: ../lib/hammer_cli_csv/base.rb:643
177
- msgid "Smart Proxy '%{name}' not found"
178
- msgstr ""
179
-
180
- #: ../lib/hammer_cli_csv/base.rb:653
181
- msgid "Smart Proxy 'id=%{id}' not found"
182
- msgstr ""
183
-
184
- #: ../lib/hammer_cli_csv/base.rb:679 ../lib/hammer_cli_csv/base.rb:687
185
- msgid "Lifecycle environment '%{name}' not found"
186
- msgstr ""
187
-
188
- #: ../lib/hammer_cli_csv/base.rb:712
189
- msgid "Content view '%{name}' not found"
190
- msgstr ""
191
-
192
- #: ../lib/hammer_cli_csv/base.rb:720
193
- msgid "Puppet contentview 'id=%{id}' not found"
194
- msgstr ""
195
-
196
- #: ../lib/hammer_cli_csv/base.rb:753
197
- msgid "Content view version '%{name}' with version '%{version}' not found"
198
- msgstr ""
199
-
200
- #: ../lib/hammer_cli_csv/base.rb:774
201
- msgid "Repository '%{name}' not found"
202
- msgstr ""
203
-
204
- #: ../lib/hammer_cli_csv/base.rb:782
205
- msgid "Puppet repository 'id=%{id}' not found"
206
- msgstr ""
207
-
208
- #: ../lib/hammer_cli_csv/base.rb:809 ../lib/hammer_cli_csv/base.rb:844
209
- msgid "Host collection '%{name}' not found"
210
- msgstr ""
211
-
212
- #: ../lib/hammer_cli_csv/base.rb:817 ../lib/hammer_cli_csv/base.rb:852
213
- msgid "Host collection 'id=%{id}' not found"
214
- msgstr ""
215
-
216
- #: ../lib/hammer_cli_csv/base.rb:873
217
- msgid "Container '%{name}' not found"
218
- msgstr ""
219
-
220
- #: ../lib/hammer_cli_csv/base.rb:883
221
- msgid "Container 'id=%{id}' not found"
222
- msgstr ""
223
-
224
- #: ../lib/hammer_cli_csv/compute_resources.rb:57
225
- msgid "Creating compute resource '%{name}'..."
226
- msgstr ""
227
-
228
- #: ../lib/hammer_cli_csv/compute_resources.rb:60
229
- msgid "Updating compute resource '%{name}'..."
230
- msgstr ""
231
-
232
- #: ../lib/hammer_cli_csv/content_hosts.rb:15
233
- msgid "When processing --itemized-subscriptions, clear existing subscriptions first"
234
- msgstr ""
235
-
236
- #: ../lib/hammer_cli_csv/content_hosts.rb:16
237
- msgid "Comma separated list of column names to export"
238
- msgstr ""
239
-
240
- #: ../lib/hammer_cli_csv/content_hosts.rb:35
241
- msgid "Columns:"
242
- msgstr ""
243
-
244
- #: ../lib/hammer_cli_csv/content_hosts.rb:36
245
- msgid " %{name} - Name of resource"
246
- msgstr ""
247
-
248
- #: ../lib/hammer_cli_csv/content_hosts.rb:37
249
- msgid " %{name} - Search for matching names during import (overrides '%{name_col}' column)"
250
- msgstr ""
251
-
252
- #: ../lib/hammer_cli_csv/content_hosts.rb:38
253
- msgid " %{name} - Organization name"
254
- msgstr ""
255
-
256
- #: ../lib/hammer_cli_csv/content_hosts.rb:39
257
- msgid " %{name} - Lifecycle environment name"
258
- msgstr ""
259
-
260
- #: ../lib/hammer_cli_csv/content_hosts.rb:40
261
- msgid " %{name} - Content view name"
262
- msgstr ""
263
-
264
- #: ../lib/hammer_cli_csv/content_hosts.rb:41
265
- msgid " %{name} - Comma separated list of host collection names"
266
- msgstr ""
267
-
268
- #: ../lib/hammer_cli_csv/content_hosts.rb:42
269
- msgid " %{name} - Is a virtual host, %{yes} or %{no}"
270
- msgstr ""
271
-
272
- #: ../lib/hammer_cli_csv/content_hosts.rb:43
273
- msgid " %{name} - Hypervisor host name for virtual hosts"
274
- msgstr ""
275
-
276
- #: ../lib/hammer_cli_csv/content_hosts.rb:44
277
- msgid " %{name} - Operating system"
278
- msgstr ""
279
-
280
- #: ../lib/hammer_cli_csv/content_hosts.rb:45
281
- msgid " %{name} - Architecture"
282
- msgstr ""
283
-
284
- #: ../lib/hammer_cli_csv/content_hosts.rb:46
285
- msgid " %{name} - Number of sockets"
286
- msgstr ""
287
-
288
- #: ../lib/hammer_cli_csv/content_hosts.rb:47
289
- msgid " %{name} - Quantity of RAM in bytes"
290
- msgstr ""
291
-
292
- #: ../lib/hammer_cli_csv/content_hosts.rb:48
293
- msgid " %{name} - Number of cores"
294
- msgstr ""
295
-
296
- #: ../lib/hammer_cli_csv/content_hosts.rb:49
297
- msgid " %{name} - Service Level Agreement value"
298
- msgstr ""
299
-
300
- #: ../lib/hammer_cli_csv/content_hosts.rb:50
301
- msgid " %{name} - Comma separated list of products, each of the format \"<sku>|<name>\""
302
- msgstr ""
303
-
304
- #: ../lib/hammer_cli_csv/content_hosts.rb:51
305
- msgid " %{name} - Comma separated list of subscriptions, each of the format \"<quantity>|<sku>|<name>|<contract>|<account>\""
306
- msgstr ""
307
-
308
- #: ../lib/hammer_cli_csv/content_hosts.rb:52
309
- msgid " %{name} - Subscription name (only applicable for --itemized-subscriptions)"
310
- msgstr ""
311
-
312
- #: ../lib/hammer_cli_csv/content_hosts.rb:53
313
- msgid " %{name} - Subscription type (only applicable for --itemized-subscriptions)"
314
- msgstr ""
315
-
316
- #: ../lib/hammer_cli_csv/content_hosts.rb:54
317
- msgid " %{name} - Subscription quantity (only applicable for --itemized-subscriptions)"
318
- msgstr ""
319
-
320
- #: ../lib/hammer_cli_csv/content_hosts.rb:55
321
- msgid " %{name} - Subscription SKU (only applicable for --itemized-subscriptions)"
322
- msgstr ""
323
-
324
- #: ../lib/hammer_cli_csv/content_hosts.rb:56
325
- msgid " %{name} - Subscription contract number (only applicable for --itemized-subscriptions)"
326
- msgstr ""
327
-
328
- #: ../lib/hammer_cli_csv/content_hosts.rb:57
329
- msgid " %{name} - Subscription account number (only applicable for --itemized-subscriptions)"
330
- msgstr ""
331
-
332
- #: ../lib/hammer_cli_csv/content_hosts.rb:58
333
- msgid " %{name} - Subscription start date (only applicable for --itemized-subscriptions)"
334
- msgstr ""
335
-
336
- #: ../lib/hammer_cli_csv/content_hosts.rb:59
337
- msgid " %{name} - Subscription end date (only applicable for --itemized-subscriptions)"
338
- msgstr ""
339
-
340
- #: ../lib/hammer_cli_csv/content_hosts.rb:90
341
- msgid "--clear-subscriptions option only relevant during import"
342
- msgstr ""
343
-
344
- #: ../lib/hammer_cli_csv/content_hosts.rb:154
345
- msgid "--columns option only relevant with --export"
346
- msgstr ""
347
-
348
- #: ../lib/hammer_cli_csv/content_hosts.rb:166 ../lib/hammer_cli_csv/splice.rb:227
349
- msgid "Updating hypervisor and guest associations..."
350
- msgstr ""
351
-
352
- #: ../lib/hammer_cli_csv/content_hosts.rb:217
353
- msgid "Content host '%{name}' must already exist with --itemized-subscriptions"
354
- msgstr ""
355
-
356
- #: ../lib/hammer_cli_csv/content_hosts.rb:219
357
- msgid "Updating subscriptions for content host '%{name}'..."
358
- msgstr ""
359
-
360
- #: ../lib/hammer_cli_csv/content_hosts.rb:230 ../lib/hammer_cli_csv/splice.rb:83
361
- msgid "Creating content host '%{name}'..."
362
- msgstr ""
363
-
364
- #: ../lib/hammer_cli_csv/content_hosts.rb:242 ../lib/hammer_cli_csv/splice.rb:106
365
- msgid "Updating content host '%{name}'..."
366
- msgstr ""
367
-
368
- #: ../lib/hammer_cli_csv/content_hosts.rb:355
369
- msgid "clearing existing subscriptions..."
370
- msgstr ""
371
-
372
- #: ../lib/hammer_cli_csv/content_hosts.rb:391
373
- msgid " attaching '%{name}'..."
374
- msgstr ""
375
-
376
- #: ../lib/hammer_cli_csv/content_hosts.rb:593
377
- msgid "Warning: Column '%{name}' does not match any field, be sure to check spelling. A full list of supported columns are available with 'hammer csv content-hosts --help'"
378
- msgstr ""
379
-
380
- #: ../lib/hammer_cli_csv/content_views.rb:100
381
- msgid "Creating content view '%{name}'..."
382
- msgstr ""
383
-
384
- #: ../lib/hammer_cli_csv/content_views.rb:111
385
- msgid "Updating content view '%{name}'..."
386
- msgstr ""
387
-
388
- #: ../lib/hammer_cli_csv/csv.rb:27
389
- msgid "import to or export from a running foreman server"
390
- msgstr ""
391
-
392
- #: ../lib/hammer_cli_csv/domains.rb:60
393
- msgid "Creating domain '%{name}'..."
394
- msgstr ""
395
-
396
- #: ../lib/hammer_cli_csv/domains.rb:63
397
- msgid "Updating domain '%{name}'..."
398
- msgstr ""
399
-
400
- #: ../lib/hammer_cli_csv/export.rb:13 ../lib/hammer_cli_csv/import.rb:15
401
- msgid "be verbose"
402
- msgstr ""
403
-
404
- #: ../lib/hammer_cli_csv/export.rb:14 ../lib/hammer_cli_csv/import.rb:16
405
- msgid "Number of threads to hammer with"
406
- msgstr ""
407
-
408
- #: ../lib/hammer_cli_csv/export.rb:16
409
- msgid "directory to export to"
410
- msgstr ""
411
-
412
- #: ../lib/hammer_cli_csv/import.rb:18
413
- msgid "directory to import from"
414
- msgstr ""
415
-
416
- #: ../lib/hammer_cli_csv/import.rb:20
417
- msgid "Prefix for all name columns"
418
- msgstr ""
419
-
420
- #: ../lib/hammer_cli_csv/import.rb:71
421
- msgid "Skipping %{resource} because '%{options_file}' does not exist"
422
- msgstr ""
423
-
424
- #: ../lib/hammer_cli_csv/import.rb:77
425
- msgid "Importing %{resource} from '%{options_file}'"
426
- msgstr ""
427
-
428
- #: ../lib/hammer_cli_csv/installation_media.rb:64
429
- msgid "Creating installation medium '%{name}'... "
430
- msgstr ""
431
-
432
- #: ../lib/hammer_cli_csv/installation_media.rb:68
433
- msgid "Updating installation medium '%{name}'... "
434
- msgstr ""
435
-
436
- #: ../lib/hammer_cli_csv/job_templates.rb:57 ../lib/hammer_cli_csv/job_templates.rb:194
437
- msgid "Unknown job template input type '%{type}'"
438
- msgstr ""
439
-
440
- #: ../lib/hammer_cli_csv/job_templates.rb:159
441
- msgid "Creating job template '%{name}'..."
442
- msgstr ""
443
-
444
- #: ../lib/hammer_cli_csv/job_templates.rb:163
445
- msgid "Updating job template '%{name}'..."
446
- msgstr ""
447
-
448
- #: ../lib/hammer_cli_csv/job_templates.rb:202
449
- msgid "Creating job template input '%{input_name}' on '%{name}'..."
450
- msgstr ""
451
-
452
- #: ../lib/hammer_cli_csv/job_templates.rb:205
453
- msgid "Updating job template input '%{input_name}' on '%{name}'..."
454
- msgstr ""
455
-
456
- #: ../lib/hammer_cli_csv/products.rb:5
457
- msgid "import or export products"
458
- msgstr ""
459
-
460
- #: ../lib/hammer_cli_csv/products.rb:7
461
- msgid "Sync product repositories (default true)"
462
- msgstr ""
463
-
464
- #: ../lib/hammer_cli_csv/products.rb:105
465
- msgid "Creating product '%{name}'..."
466
- msgstr ""
467
-
468
- #: ../lib/hammer_cli_csv/products.rb:109
469
- msgid "Updating product '%{name}'..."
470
- msgstr ""
471
-
472
- #: ../lib/hammer_cli_csv/products.rb:140
473
- msgid "Red Hat product '%{product_name}' does not have repository '%{repository_name}'"
474
- msgstr ""
475
-
476
- #: ../lib/hammer_cli_csv/products.rb:147
477
- msgid "Creating repository '%{repository_name}'..."
478
- msgstr ""
479
-
480
- #: ../lib/hammer_cli_csv/products.rb:151
481
- msgid "Updating repository '%{repository_name}'..."
482
- msgstr ""
483
-
484
- #: ../lib/hammer_cli_csv/products.rb:206
485
- msgid "Red Hat product '%{product_name}' does not exist"
486
- msgstr ""
487
-
488
- #: ../lib/hammer_cli_csv/products.rb:227
489
- msgid "Enabling repository %{name}..."
490
- msgstr ""
491
-
492
- #: ../lib/hammer_cli_csv/products.rb:243
493
- msgid "Repository %{name} already enabled"
494
- msgstr ""
495
-
496
- #: ../lib/hammer_cli_csv/products.rb:282
497
- msgid "syncing repository '%{repository_name}' in product '%{name}'..."
498
- msgstr ""
499
-
500
- #: ../lib/hammer_cli_csv/products.rb:286
501
- msgid "previously synced, skipping..."
502
- msgstr ""
503
-
504
- #: ../lib/hammer_cli_csv/provisioning_templates.rb:73
505
- msgid "Creating provisioning template '%{name}'..."
506
- msgstr ""
507
-
508
- #: ../lib/hammer_cli_csv/provisioning_templates.rb:85
509
- msgid "Updating provisioning template '%{name}'..."
510
- msgstr ""
511
-
512
- #: ../lib/hammer_cli_csv/splice.rb:289
513
- msgid "Creating organization '%{name}'... "
514
- msgstr ""
515
-
516
- #: ../lib/hammer_cli_csv/splice.rb:295
517
- msgid "Satellite-5 Splice"
518
- msgstr ""
519
-
520
- #: ../lib/hammer_cli_csv/splice.rb:305
521
- msgid "Deleting content host with id '%{id}'..."
522
- msgstr ""
523
-
524
- #: ../lib/hammer_cli_csv/subnets.rb:89
525
- msgid "Creating subnet '%{name}'..."
526
- msgstr ""
527
-
528
- #: ../lib/hammer_cli_csv/subnets.rb:92
529
- msgid "Updating subnet '%{name}'..."
530
- msgstr ""
531
-
532
- #: ../lib/hammer_cli_csv/subscriptions.rb:15
533
- msgid "Import subscription comment lines into portal"
534
- msgstr ""
535
-
536
- #: ../lib/hammer_cli_csv/subscriptions.rb:78
537
- msgid "Importing manifest '%{filename}' into organization '%{organization}'..."
538
- msgstr ""
539
-
540
- #: ../lib/hammer_cli_csv/subscriptions.rb:89
541
- msgid "--portal-username and --portal-password required"
542
- msgstr ""
543
-
544
- #: ../lib/hammer_cli_csv/subscriptions.rb:90
545
- msgid "--portal required"
546
- msgstr ""
547
-
548
- #: ../lib/hammer_cli_csv/subscriptions.rb:102
549
- msgid "Downloading manifest for organization '%{organization}..."
550
- msgstr ""
551
-
552
- #: ../lib/hammer_cli_csv/subscriptions.rb:106
553
- msgid "writing to file '%{filename}'..."
554
- msgstr ""
555
-
556
- #: ../lib/hammer_cli_csv/subscriptions.rb:119
557
- msgid "Checking manifest '%{name}'..."
558
- msgstr ""
559
-
560
- #: ../lib/hammer_cli_csv/subscriptions.rb:129
561
- msgid "Manifest Name row is required before updating from Subscription rows"
562
- msgstr ""
563
-
564
- #: ../lib/hammer_cli_csv/subscriptions.rb:139
565
- msgid "'%{name}' of quantity %{quantity} already attached"
566
- msgstr ""
567
-
568
- #: ../lib/hammer_cli_csv/subscriptions.rb:143
569
- msgid "Attaching '%{name}' of quantity %{quantity}..."
570
- msgstr ""
571
-
572
- #: ../lib/hammer_cli_csv/subscriptions.rb:159
573
- msgid "subscription unavailable..."
574
- msgstr ""
575
-
576
- #: ../lib/hammer_cli_csv/utils/subscriptions.rb:65
577
- msgid "No subscriptions match SKU '%{sku}'"
578
- msgstr ""