hammer_cli_csv 2.1.1 → 2.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/cli_config.yml +2 -1
- data/lib/hammer_cli_csv/base.rb +1 -1
- data/lib/hammer_cli_csv/content_hosts.rb +31 -10
- data/lib/hammer_cli_csv/version.rb +1 -1
- data/locale/Makefile +65 -0
- data/locale/README.md +18 -0
- data/locale/en/LC_MESSAGES/hammer-cli-csv.mo +0 -0
- data/locale/en/hammer-cli-csv.edit.po +454 -0
- data/locale/en/hammer-cli-csv.po +347 -0
- data/locale/en/hammer-cli-csv.po.time_stamp +0 -0
- data/locale/hammer-cli-csv.pot +485 -0
- data/test/fixtures/vcr_cassettes/apipie.yml +16841 -16457
- data/test/fixtures/vcr_cassettes/resources/content_hosts/import_search.yml +39420 -0
- data/test/fixtures/vcr_cassettes/resources/subscriptions/manifest_does_not_exist.yml +18065 -19
- data/test/fixtures/vcr_cassettes/resources/subscriptions/portal_existing_subscription.yml +44306 -40275
- data/test/fixtures/vcr_cassettes/resources/subscriptions/portal_incorrect_login.yml +55 -13
- data/test/fixtures/vcr_cassettes/setup/setup_content_views/setup.yml +18090 -44
- data/test/fixtures/vcr_cassettes/setup/setup_domains/setup.yml +43 -42
- data/test/fixtures/vcr_cassettes/setup/setup_lifecycle_environments/setup.yml +55 -55
- data/test/fixtures/vcr_cassettes/setup/setup_locations/setup.yml +40 -40
- data/test/fixtures/vcr_cassettes/setup/setup_organizations/setup.yml +25 -25
- data/test/fixtures/vcr_cassettes/setup/setup_subscriptions/setup.yml +25 -25
- data/test/resources/content_hosts_test.rb +38 -0
- metadata +11 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0e7f43aa7b753af234d810dea1836708dd438965
|
4
|
+
data.tar.gz: ac18c12df39180254e744dc548a33c7d3d366f87
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ab4d5e9848f7914631299e65c8ac699f1d6e518ab0425528ce097785f6c528836228f4d8fc215862938aad6c34b397a54f82724995387708e2d5f5e3395449c7
|
7
|
+
data.tar.gz: bed98b82df7c5388777f961855047ee99eebb6041475cdba54d9e45265c192b183ee73c826569b0f4389e64e2be8dc9d71e69bf35ab49b52525f736ea650557b
|
data/config/cli_config.yml
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
:ui:
|
3
3
|
:interactive: false
|
4
4
|
:history_file: 'log/history'
|
5
|
-
|
5
|
+
#:mark_translated: true
|
6
6
|
|
7
7
|
|
8
8
|
:watch_plain: true
|
@@ -17,6 +17,7 @@
|
|
17
17
|
:username: admin
|
18
18
|
:password: changeme
|
19
19
|
:enable_module: true
|
20
|
+
:request_timeout: null
|
20
21
|
|
21
22
|
:katello:
|
22
23
|
:enable_module: true
|
data/lib/hammer_cli_csv/base.rb
CHANGED
@@ -127,7 +127,7 @@ module HammerCLICsv
|
|
127
127
|
lines = csv[start_index...finish_index].clone
|
128
128
|
splits << Thread.new do
|
129
129
|
lines.each do |line|
|
130
|
-
next if line[name_column || NAME][0] == '#'
|
130
|
+
next if !line[name_column || NAME].nil? && line[name_column || NAME][0] == '#'
|
131
131
|
begin
|
132
132
|
yield line
|
133
133
|
rescue RuntimeError => e
|
@@ -13,6 +13,7 @@ module HammerCLICsv
|
|
13
13
|
|
14
14
|
option %w(--itemized-subscriptions), :flag, _('Export one subscription per row, only process update subscriptions on import')
|
15
15
|
|
16
|
+
SEARCH = 'Search'
|
16
17
|
ORGANIZATION = 'Organization'
|
17
18
|
ENVIRONMENT = 'Environment'
|
18
19
|
CONTENTVIEW = 'Content View'
|
@@ -138,18 +139,33 @@ module HammerCLICsv
|
|
138
139
|
update_existing(line)
|
139
140
|
|
140
141
|
count(line[COUNT]).times do |number|
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
|
142
|
+
if !line[SEARCH].nil? && !line[SEARCH].empty?
|
143
|
+
search = namify(line[SEARCH], number)
|
144
|
+
@api.resource(:hosts).call(:index, {
|
145
|
+
'organization_id' => foreman_organization(:name => line[ORGANIZATION]),
|
146
|
+
'search' => search
|
147
|
+
})['results'].each do |host|
|
148
|
+
if host['subscription_facet_attributes']
|
149
|
+
create_named_from_csv(host['name'], line)
|
150
|
+
end
|
151
|
+
end
|
145
152
|
else
|
146
|
-
|
153
|
+
name = namify(line[NAME], number)
|
154
|
+
create_named_from_csv(name, line)
|
147
155
|
end
|
148
156
|
end
|
149
157
|
end
|
150
158
|
|
151
159
|
private
|
152
160
|
|
161
|
+
def create_named_from_csv(name, line)
|
162
|
+
if option_itemized_subscriptions?
|
163
|
+
update_itemized_subscriptions(name, line)
|
164
|
+
else
|
165
|
+
update_or_create(name, line)
|
166
|
+
end
|
167
|
+
end
|
168
|
+
|
153
169
|
def update_itemized_subscriptions(name, line)
|
154
170
|
raise _("Content host '%{name}' must already exist with --itemized-subscriptions") % {:name => name} unless @existing.include? name
|
155
171
|
|
@@ -308,9 +324,12 @@ module HammerCLICsv
|
|
308
324
|
match = matches[0]
|
309
325
|
print _(" attaching '%{name}'...") % {:name => match['name']} if option_verbose?
|
310
326
|
|
327
|
+
amount = line[SUBS_QUANTITY]
|
328
|
+
quantity = (amount.nil? || amount.empty? || amount == 'Automatic') ? 0 : amount.to_i
|
329
|
+
|
311
330
|
@api.resource(:host_subscriptions).call(:add_subscriptions, {
|
312
331
|
'host_id' => host['id'],
|
313
|
-
'subscriptions' =>
|
332
|
+
'subscriptions' => [{:id => match['id'], :quantity => quantity}]
|
314
333
|
})
|
315
334
|
end
|
316
335
|
|
@@ -369,10 +388,12 @@ module HammerCLICsv
|
|
369
388
|
'id' => host['id']
|
370
389
|
})
|
371
390
|
host['facts'] ||= {}
|
372
|
-
|
373
|
-
|
374
|
-
|
375
|
-
|
391
|
+
unless host['subscription_facet_attributes'].nil?
|
392
|
+
if host['subscription_facet_attributes']['virtual_guests'].empty?
|
393
|
+
hosts.push(host)
|
394
|
+
else
|
395
|
+
hypervisors.push(host)
|
396
|
+
end
|
376
397
|
end
|
377
398
|
end
|
378
399
|
end
|
data/locale/Makefile
ADDED
@@ -0,0 +1,65 @@
|
|
1
|
+
#
|
2
|
+
# Makefile for PO merging and MO generation. More info in the README.
|
3
|
+
#
|
4
|
+
# make all-mo (default) - generate MO files
|
5
|
+
# make check - check translations using translate-tool
|
6
|
+
# make tx-update - download and merge translations from Transifex
|
7
|
+
# make clean - clean everything
|
8
|
+
#
|
9
|
+
DOMAIN = hammer-cli-csv
|
10
|
+
VERSION = $(shell ruby -e 'require "rubygems";spec = Gem::Specification::load("../hammer_cli_csv.gemspec");puts spec.version')
|
11
|
+
POTFILE = $(DOMAIN).pot
|
12
|
+
MOFILE = $(DOMAIN).mo
|
13
|
+
POFILES = $(shell find . -name '*.po')
|
14
|
+
MOFILES = $(patsubst %.po,%.mo,$(POFILES))
|
15
|
+
POXFILES = $(patsubst %.po,%.pox,$(POFILES))
|
16
|
+
|
17
|
+
%.mo: %.po
|
18
|
+
mkdir -p $(shell dirname $@)/LC_MESSAGES
|
19
|
+
msgfmt -o $(shell dirname $@)/LC_MESSAGES/$(MOFILE) $<
|
20
|
+
|
21
|
+
# Generate MO files from PO files
|
22
|
+
all-mo: $(MOFILES)
|
23
|
+
|
24
|
+
# Check for malformed strings
|
25
|
+
%.pox: %.po
|
26
|
+
msgfmt -c $<
|
27
|
+
pofilter --nofuzzy -t variables -t blank -t urls -t emails -t long -t newlines \
|
28
|
+
-t endwhitespace -t endpunc -t puncspacing -t options -t printf -t validchars --gnome $< > $@
|
29
|
+
cat $@
|
30
|
+
! grep -q msgid $@
|
31
|
+
|
32
|
+
check: $(POXFILES)
|
33
|
+
msgfmt -c ${POTFILE}
|
34
|
+
|
35
|
+
# Merge PO files
|
36
|
+
update-po:
|
37
|
+
for f in $(shell find ./ -name "*.po") ; do \
|
38
|
+
msgmerge -N --backup=none -U $$f ${POTFILE} ; \
|
39
|
+
done
|
40
|
+
|
41
|
+
# Unify duplicate translations
|
42
|
+
uniq-po:
|
43
|
+
for f in $(shell find ./ -name "*.po") ; do \
|
44
|
+
msguniq $$f -o $$f ; \
|
45
|
+
done
|
46
|
+
|
47
|
+
tx-pull:
|
48
|
+
tx pull -f
|
49
|
+
for f in $(POFILES) ; do \
|
50
|
+
sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
|
51
|
+
done
|
52
|
+
-git commit -a -m "i18n - extracting new, pulling from tx"
|
53
|
+
|
54
|
+
extract-strings:
|
55
|
+
bundle exec rake gettext:find
|
56
|
+
|
57
|
+
reset-po:
|
58
|
+
# merging po files is unnecessary when using transifex.com
|
59
|
+
git checkout -- ../locale/*/*po
|
60
|
+
|
61
|
+
tx-update: tx-pull extract-strings reset-po $(MOFILES)
|
62
|
+
# amend mo files
|
63
|
+
git add ../locale/*/LC_MESSAGES
|
64
|
+
git commit -a --amend -m "i18n - extracting new, pulling from tx"
|
65
|
+
-echo Changes commited!
|
data/locale/README.md
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
Updating the translations
|
2
|
+
-------------------------
|
3
|
+
|
4
|
+
1. Check if there are any new languages with progress more than 50% on [transifex](https://www.transifex.com/projects/p/foreman/resource/hammer-cli-csv/). If so, do the following for each of the new languages:
|
5
|
+
|
6
|
+
```
|
7
|
+
mkdir locale/<lang>
|
8
|
+
cp locale/hammer-cli-csv.pot locale/<lang>/hammer-cli-csv.po
|
9
|
+
```
|
10
|
+
2. Make sure you have `transifex-client` installed
|
11
|
+
|
12
|
+
3. Update the translations. From GIT repo root directory run:
|
13
|
+
|
14
|
+
```
|
15
|
+
make -C locale tx-update
|
16
|
+
```
|
17
|
+
|
18
|
+
It will download translations from transifex, generates `mo` files, updates strings in `pot` file and wraps all the changes in a new commit. Transifex automatically updates its strings when the commit is pushed to Github.
|
Binary file
|
@@ -0,0 +1,454 @@
|
|
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:117
|
29
|
+
msgid "Activation key '%{name}' must already exist with --itemized_subscriptions"
|
30
|
+
msgstr ""
|
31
|
+
|
32
|
+
#: ../lib/hammer_cli_csv/activation_keys.rb:119
|
33
|
+
msgid "Updating subscriptions for activation key '%{name}'..."
|
34
|
+
msgstr ""
|
35
|
+
|
36
|
+
#: ../lib/hammer_cli_csv/activation_keys.rb:122 ../lib/hammer_cli_csv/activation_keys.rb:153 ../lib/hammer_cli_csv/compute_resources.rb:66 ../lib/hammer_cli_csv/content_hosts.rb:132 ../lib/hammer_cli_csv/content_hosts.rb:175 ../lib/hammer_cli_csv/content_hosts.rb:219 ../lib/hammer_cli_csv/content_views.rb:129 ../lib/hammer_cli_csv/domains.rb:71 ../lib/hammer_cli_csv/installation_media.rb:69 ../lib/hammer_cli_csv/job_templates.rb:166 ../lib/hammer_cli_csv/job_templates.rb:208 ../lib/hammer_cli_csv/products.rb:66 ../lib/hammer_cli_csv/products.rb:214 ../lib/hammer_cli_csv/provisioning_templates.rb:139 ../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:97 ../lib/hammer_cli_csv/subscriptions.rb:84 ../lib/hammer_cli_csv/subscriptions.rb:110 ../lib/hammer_cli_csv/subscriptions.rb:121 ../lib/hammer_cli_csv/subscriptions.rb:146
|
37
|
+
msgid "done"
|
38
|
+
msgstr ""
|
39
|
+
|
40
|
+
#: ../lib/hammer_cli_csv/activation_keys.rb:141
|
41
|
+
msgid "Creating activation key '%{name}'..."
|
42
|
+
msgstr ""
|
43
|
+
|
44
|
+
#: ../lib/hammer_cli_csv/activation_keys.rb:145
|
45
|
+
msgid "Updating activation key '%{name}'..."
|
46
|
+
msgstr ""
|
47
|
+
|
48
|
+
#: ../lib/hammer_cli_csv/activation_keys.rb:204 ../lib/hammer_cli_csv/content_hosts.rb:305
|
49
|
+
msgid " '%{name}' already attached..."
|
50
|
+
msgstr ""
|
51
|
+
|
52
|
+
#: ../lib/hammer_cli_csv/activation_keys.rb:220 ../lib/hammer_cli_csv/content_hosts.rb:322
|
53
|
+
msgid "No matching subscriptions"
|
54
|
+
msgstr ""
|
55
|
+
|
56
|
+
#: ../lib/hammer_cli_csv/activation_keys.rb:223 ../lib/hammer_cli_csv/content_hosts.rb:325
|
57
|
+
msgid " attaching '%{name}'..."
|
58
|
+
msgstr ""
|
59
|
+
|
60
|
+
#: ../lib/hammer_cli_csv/base.rb:20 ../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:21
|
65
|
+
msgid "Continue processing even if individual resource error"
|
66
|
+
msgstr ""
|
67
|
+
|
68
|
+
#: ../lib/hammer_cli_csv/base.rb:42
|
69
|
+
msgid "**** This command is unsupported and is provided as tech preview. ****"
|
70
|
+
msgstr ""
|
71
|
+
|
72
|
+
#: ../lib/hammer_cli_csv/base.rb:135
|
73
|
+
msgid "Error: %{message}"
|
74
|
+
msgstr ""
|
75
|
+
|
76
|
+
#: ../lib/hammer_cli_csv/base.rb:170
|
77
|
+
msgid "Organization '%{name}' not found"
|
78
|
+
msgstr ""
|
79
|
+
|
80
|
+
#: ../lib/hammer_cli_csv/base.rb:180
|
81
|
+
msgid "Organization 'id=%{id}' not found"
|
82
|
+
msgstr ""
|
83
|
+
|
84
|
+
#: ../lib/hammer_cli_csv/base.rb:201
|
85
|
+
msgid "Location '%{name}' not found"
|
86
|
+
msgstr ""
|
87
|
+
|
88
|
+
#: ../lib/hammer_cli_csv/base.rb:211
|
89
|
+
msgid "Location 'id=%{id}' not found"
|
90
|
+
msgstr ""
|
91
|
+
|
92
|
+
#: ../lib/hammer_cli_csv/base.rb:232
|
93
|
+
msgid "Role '%{name}' not found"
|
94
|
+
msgstr ""
|
95
|
+
|
96
|
+
#: ../lib/hammer_cli_csv/base.rb:242
|
97
|
+
msgid "Role 'id=%{id}' not found"
|
98
|
+
msgstr ""
|
99
|
+
|
100
|
+
#: ../lib/hammer_cli_csv/base.rb:263
|
101
|
+
msgid "Permission '%{name}' not found"
|
102
|
+
msgstr ""
|
103
|
+
|
104
|
+
#: ../lib/hammer_cli_csv/base.rb:273
|
105
|
+
msgid "Permission 'id=%{id}' not found"
|
106
|
+
msgstr ""
|
107
|
+
|
108
|
+
#: ../lib/hammer_cli_csv/base.rb:308
|
109
|
+
msgid "Puppet environment '%{name}' not found"
|
110
|
+
msgstr ""
|
111
|
+
|
112
|
+
#: ../lib/hammer_cli_csv/base.rb:318
|
113
|
+
msgid "Puppet environment 'id=%{id}' not found"
|
114
|
+
msgstr ""
|
115
|
+
|
116
|
+
#: ../lib/hammer_cli_csv/base.rb:339
|
117
|
+
msgid "Template kind '%{name}' not found"
|
118
|
+
msgstr ""
|
119
|
+
|
120
|
+
#: ../lib/hammer_cli_csv/base.rb:349
|
121
|
+
msgid "Template kind 'id=%{id}' not found"
|
122
|
+
msgstr ""
|
123
|
+
|
124
|
+
#: ../lib/hammer_cli_csv/base.rb:373
|
125
|
+
msgid "Operating system '%{name}' not found"
|
126
|
+
msgstr ""
|
127
|
+
|
128
|
+
#: ../lib/hammer_cli_csv/base.rb:383
|
129
|
+
msgid "Operating system 'id=%{id}' not found"
|
130
|
+
msgstr ""
|
131
|
+
|
132
|
+
#: ../lib/hammer_cli_csv/base.rb:406
|
133
|
+
msgid "Architecture '%{name}' not found"
|
134
|
+
msgstr ""
|
135
|
+
|
136
|
+
#: ../lib/hammer_cli_csv/base.rb:416
|
137
|
+
msgid "Architecture 'id=%{id}' not found"
|
138
|
+
msgstr ""
|
139
|
+
|
140
|
+
#: ../lib/hammer_cli_csv/base.rb:437
|
141
|
+
msgid "Domain '%{name}' not found"
|
142
|
+
msgstr ""
|
143
|
+
|
144
|
+
#: ../lib/hammer_cli_csv/base.rb:447
|
145
|
+
msgid "Domain 'id=%{id}' not found"
|
146
|
+
msgstr ""
|
147
|
+
|
148
|
+
#: ../lib/hammer_cli_csv/base.rb:468 ../lib/hammer_cli_csv/base.rb:500
|
149
|
+
msgid "Partition table '%{name}' not found"
|
150
|
+
msgstr ""
|
151
|
+
|
152
|
+
#: ../lib/hammer_cli_csv/base.rb:532
|
153
|
+
msgid "Host '%{name}' not found"
|
154
|
+
msgstr ""
|
155
|
+
|
156
|
+
#: ../lib/hammer_cli_csv/base.rb:542
|
157
|
+
msgid "Host 'id=%{id}' not found"
|
158
|
+
msgstr ""
|
159
|
+
|
160
|
+
#: ../lib/hammer_cli_csv/base.rb:563
|
161
|
+
msgid "Host Group '%{name}' not found"
|
162
|
+
msgstr ""
|
163
|
+
|
164
|
+
#: ../lib/hammer_cli_csv/base.rb:573
|
165
|
+
msgid "Host Group 'id=%{id}' not found"
|
166
|
+
msgstr ""
|
167
|
+
|
168
|
+
#: ../lib/hammer_cli_csv/base.rb:594
|
169
|
+
msgid "Provisioning template '%{name}' not found"
|
170
|
+
msgstr ""
|
171
|
+
|
172
|
+
#: ../lib/hammer_cli_csv/base.rb:604
|
173
|
+
msgid "Provisioning template 'id=%{id}' not found"
|
174
|
+
msgstr ""
|
175
|
+
|
176
|
+
#: ../lib/hammer_cli_csv/base.rb:625
|
177
|
+
msgid "Smart Proxy '%{name}' not found"
|
178
|
+
msgstr ""
|
179
|
+
|
180
|
+
#: ../lib/hammer_cli_csv/base.rb:635
|
181
|
+
msgid "Smart Proxy 'id=%{id}' not found"
|
182
|
+
msgstr ""
|
183
|
+
|
184
|
+
#: ../lib/hammer_cli_csv/base.rb:661 ../lib/hammer_cli_csv/base.rb:669
|
185
|
+
msgid "Lifecycle environment '%{name}' not found"
|
186
|
+
msgstr ""
|
187
|
+
|
188
|
+
#: ../lib/hammer_cli_csv/base.rb:694
|
189
|
+
msgid "Content view '%{name}' not found"
|
190
|
+
msgstr ""
|
191
|
+
|
192
|
+
#: ../lib/hammer_cli_csv/base.rb:702
|
193
|
+
msgid "Puppet contentview 'id=%{id}' not found"
|
194
|
+
msgstr ""
|
195
|
+
|
196
|
+
#: ../lib/hammer_cli_csv/base.rb:735
|
197
|
+
msgid "Content view version '%{name}' with version '%{version}' not found"
|
198
|
+
msgstr ""
|
199
|
+
|
200
|
+
#: ../lib/hammer_cli_csv/base.rb:756
|
201
|
+
msgid "Repository '%{name}' not found"
|
202
|
+
msgstr ""
|
203
|
+
|
204
|
+
#: ../lib/hammer_cli_csv/base.rb:764
|
205
|
+
msgid "Puppet repository 'id=%{id}' not found"
|
206
|
+
msgstr ""
|
207
|
+
|
208
|
+
#: ../lib/hammer_cli_csv/base.rb:791 ../lib/hammer_cli_csv/base.rb:826
|
209
|
+
msgid "Host collection '%{name}' not found"
|
210
|
+
msgstr ""
|
211
|
+
|
212
|
+
#: ../lib/hammer_cli_csv/base.rb:799 ../lib/hammer_cli_csv/base.rb:834
|
213
|
+
msgid "Host collection 'id=%{id}' not found"
|
214
|
+
msgstr ""
|
215
|
+
|
216
|
+
#: ../lib/hammer_cli_csv/base.rb:855
|
217
|
+
msgid "Container '%{name}' not found"
|
218
|
+
msgstr ""
|
219
|
+
|
220
|
+
#: ../lib/hammer_cli_csv/base.rb:865
|
221
|
+
msgid "Container 'id=%{id}' not found"
|
222
|
+
msgstr ""
|
223
|
+
|
224
|
+
#: ../lib/hammer_cli_csv/compute_resources.rb:54
|
225
|
+
msgid "Creating compute resource '%{name}'..."
|
226
|
+
msgstr ""
|
227
|
+
|
228
|
+
#: ../lib/hammer_cli_csv/compute_resources.rb:57
|
229
|
+
msgid "Updating compute resource '%{name}'..."
|
230
|
+
msgstr ""
|
231
|
+
|
232
|
+
#: ../lib/hammer_cli_csv/content_hosts.rb:120 ../lib/hammer_cli_csv/splice.rb:227
|
233
|
+
msgid "Updating hypervisor and guest associations..."
|
234
|
+
msgstr ""
|
235
|
+
|
236
|
+
#: ../lib/hammer_cli_csv/content_hosts.rb:170
|
237
|
+
msgid "Content host '%{name}' must already exist with --itemized-subscriptions"
|
238
|
+
msgstr ""
|
239
|
+
|
240
|
+
#: ../lib/hammer_cli_csv/content_hosts.rb:172
|
241
|
+
msgid "Updating subscriptions for content host '%{name}'..."
|
242
|
+
msgstr ""
|
243
|
+
|
244
|
+
#: ../lib/hammer_cli_csv/content_hosts.rb:180 ../lib/hammer_cli_csv/splice.rb:83
|
245
|
+
msgid "Creating content host '%{name}'..."
|
246
|
+
msgstr ""
|
247
|
+
|
248
|
+
#: ../lib/hammer_cli_csv/content_hosts.rb:192 ../lib/hammer_cli_csv/splice.rb:106
|
249
|
+
msgid "Updating content host '%{name}'..."
|
250
|
+
msgstr ""
|
251
|
+
|
252
|
+
#: ../lib/hammer_cli_csv/content_views.rb:99
|
253
|
+
msgid "Creating content view '%{name}'..."
|
254
|
+
msgstr ""
|
255
|
+
|
256
|
+
#: ../lib/hammer_cli_csv/content_views.rb:110
|
257
|
+
msgid "Updating content view '%{name}'..."
|
258
|
+
msgstr ""
|
259
|
+
|
260
|
+
#: ../lib/hammer_cli_csv/csv.rb:25
|
261
|
+
msgid "import to or export from a running foreman server"
|
262
|
+
msgstr ""
|
263
|
+
|
264
|
+
#: ../lib/hammer_cli_csv/domains.rb:59
|
265
|
+
msgid "Creating domain '%{name}'..."
|
266
|
+
msgstr ""
|
267
|
+
|
268
|
+
#: ../lib/hammer_cli_csv/domains.rb:62
|
269
|
+
msgid "Updating domain '%{name}'..."
|
270
|
+
msgstr ""
|
271
|
+
|
272
|
+
#: ../lib/hammer_cli_csv/export.rb:13 ../lib/hammer_cli_csv/import.rb:15
|
273
|
+
msgid "be verbose"
|
274
|
+
msgstr ""
|
275
|
+
|
276
|
+
#: ../lib/hammer_cli_csv/export.rb:14 ../lib/hammer_cli_csv/import.rb:16
|
277
|
+
msgid "Number of threads to hammer with"
|
278
|
+
msgstr ""
|
279
|
+
|
280
|
+
#: ../lib/hammer_cli_csv/export.rb:16
|
281
|
+
msgid "directory to export to"
|
282
|
+
msgstr ""
|
283
|
+
|
284
|
+
#: ../lib/hammer_cli_csv/import.rb:18
|
285
|
+
msgid "directory to import from"
|
286
|
+
msgstr ""
|
287
|
+
|
288
|
+
#: ../lib/hammer_cli_csv/import.rb:20
|
289
|
+
msgid "Prefix for all name columns"
|
290
|
+
msgstr ""
|
291
|
+
|
292
|
+
#: ../lib/hammer_cli_csv/import.rb:71
|
293
|
+
msgid "Skipping %{resource} because '%{options_file}' does not exist"
|
294
|
+
msgstr ""
|
295
|
+
|
296
|
+
#: ../lib/hammer_cli_csv/import.rb:77
|
297
|
+
msgid "Importing %{resource} from '%{options_file}'"
|
298
|
+
msgstr ""
|
299
|
+
|
300
|
+
#: ../lib/hammer_cli_csv/installation_media.rb:61
|
301
|
+
msgid "Creating installation medium '%{name}'... "
|
302
|
+
msgstr ""
|
303
|
+
|
304
|
+
#: ../lib/hammer_cli_csv/installation_media.rb:65
|
305
|
+
msgid "Updating installation medium '%{name}'... "
|
306
|
+
msgstr ""
|
307
|
+
|
308
|
+
#: ../lib/hammer_cli_csv/job_templates.rb:56 ../lib/hammer_cli_csv/job_templates.rb:193
|
309
|
+
msgid "Unknown job template input type '%{type}'"
|
310
|
+
msgstr ""
|
311
|
+
|
312
|
+
#: ../lib/hammer_cli_csv/job_templates.rb:158
|
313
|
+
msgid "Creating job template '%{name}'..."
|
314
|
+
msgstr ""
|
315
|
+
|
316
|
+
#: ../lib/hammer_cli_csv/job_templates.rb:162
|
317
|
+
msgid "Updating job template '%{name}'..."
|
318
|
+
msgstr ""
|
319
|
+
|
320
|
+
#: ../lib/hammer_cli_csv/job_templates.rb:201
|
321
|
+
msgid "Creating job template input '%{input_name}' on '%{name}'..."
|
322
|
+
msgstr ""
|
323
|
+
|
324
|
+
#: ../lib/hammer_cli_csv/job_templates.rb:204
|
325
|
+
msgid "Updating job template input '%{input_name}' on '%{name}'..."
|
326
|
+
msgstr ""
|
327
|
+
|
328
|
+
#: ../lib/hammer_cli_csv/products.rb:5
|
329
|
+
msgid "import or export products"
|
330
|
+
msgstr ""
|
331
|
+
|
332
|
+
#: ../lib/hammer_cli_csv/products.rb:7
|
333
|
+
msgid "Sync product repositories (default true)"
|
334
|
+
msgstr ""
|
335
|
+
|
336
|
+
#: ../lib/hammer_cli_csv/products.rb:91
|
337
|
+
msgid "Creating product '%{name}'..."
|
338
|
+
msgstr ""
|
339
|
+
|
340
|
+
#: ../lib/hammer_cli_csv/products.rb:95
|
341
|
+
msgid "Updating product '%{name}'..."
|
342
|
+
msgstr ""
|
343
|
+
|
344
|
+
#: ../lib/hammer_cli_csv/products.rb:109
|
345
|
+
msgid "Red Hat product '%{product_name}' does not have repository '%{repository_name}'"
|
346
|
+
msgstr ""
|
347
|
+
|
348
|
+
#: ../lib/hammer_cli_csv/products.rb:114
|
349
|
+
msgid "Creating repository '%{repository_name}' in product '%{product_name}'..."
|
350
|
+
msgstr ""
|
351
|
+
|
352
|
+
#: ../lib/hammer_cli_csv/products.rb:179
|
353
|
+
msgid "Red Hat product '%{product_name}' does not exist"
|
354
|
+
msgstr ""
|
355
|
+
|
356
|
+
#: ../lib/hammer_cli_csv/products.rb:200
|
357
|
+
msgid "Enabling repository %{name}..."
|
358
|
+
msgstr ""
|
359
|
+
|
360
|
+
#: ../lib/hammer_cli_csv/products.rb:216
|
361
|
+
msgid "Repository %{name} already enabled"
|
362
|
+
msgstr ""
|
363
|
+
|
364
|
+
#: ../lib/hammer_cli_csv/products.rb:247
|
365
|
+
msgid "syncing repository '%{repository_name}' in product '%{name}'..."
|
366
|
+
msgstr ""
|
367
|
+
|
368
|
+
#: ../lib/hammer_cli_csv/products.rb:251
|
369
|
+
msgid "previously synced, skipping..."
|
370
|
+
msgstr ""
|
371
|
+
|
372
|
+
#: ../lib/hammer_cli_csv/provisioning_templates.rb:72
|
373
|
+
msgid "Creating provisioning template '%{name}'..."
|
374
|
+
msgstr ""
|
375
|
+
|
376
|
+
#: ../lib/hammer_cli_csv/provisioning_templates.rb:84
|
377
|
+
msgid "Updating provisioning template '%{name}'..."
|
378
|
+
msgstr ""
|
379
|
+
|
380
|
+
#: ../lib/hammer_cli_csv/splice.rb:289
|
381
|
+
msgid "Creating organization '%{name}'... "
|
382
|
+
msgstr ""
|
383
|
+
|
384
|
+
#: ../lib/hammer_cli_csv/splice.rb:295
|
385
|
+
msgid "Satellite-5 Splice"
|
386
|
+
msgstr ""
|
387
|
+
|
388
|
+
#: ../lib/hammer_cli_csv/splice.rb:305
|
389
|
+
msgid "Deleting content host with id '%{id}'..."
|
390
|
+
msgstr ""
|
391
|
+
|
392
|
+
#: ../lib/hammer_cli_csv/subnets.rb:86
|
393
|
+
msgid "Creating subnet '%{name}'..."
|
394
|
+
msgstr ""
|
395
|
+
|
396
|
+
#: ../lib/hammer_cli_csv/subnets.rb:89
|
397
|
+
msgid "Updating subnet '%{name}'..."
|
398
|
+
msgstr ""
|
399
|
+
|
400
|
+
#: ../lib/hammer_cli_csv/subscriptions.rb:15
|
401
|
+
msgid "Import subscription comment lines into portal"
|
402
|
+
msgstr ""
|
403
|
+
|
404
|
+
#: ../lib/hammer_cli_csv/subscriptions.rb:77
|
405
|
+
msgid "Importing manifest '%{filename}' into organization '%{organization}'..."
|
406
|
+
msgstr ""
|
407
|
+
|
408
|
+
#: ../lib/hammer_cli_csv/subscriptions.rb:88
|
409
|
+
msgid "--portal-username and --portal-password required"
|
410
|
+
msgstr ""
|
411
|
+
|
412
|
+
#: ../lib/hammer_cli_csv/subscriptions.rb:89
|
413
|
+
msgid "--portal required"
|
414
|
+
msgstr ""
|
415
|
+
|
416
|
+
#: ../lib/hammer_cli_csv/subscriptions.rb:101
|
417
|
+
msgid "Downloading manifest for organization '%{organization}..."
|
418
|
+
msgstr ""
|
419
|
+
|
420
|
+
#: ../lib/hammer_cli_csv/subscriptions.rb:105
|
421
|
+
msgid "writing to file '%{filename}'..."
|
422
|
+
msgstr ""
|
423
|
+
|
424
|
+
#: ../lib/hammer_cli_csv/subscriptions.rb:118
|
425
|
+
msgid "Checking manifest '%{name}'..."
|
426
|
+
msgstr ""
|
427
|
+
|
428
|
+
#: ../lib/hammer_cli_csv/subscriptions.rb:128
|
429
|
+
msgid "Manifest Name row is required before updating from Subscription rows"
|
430
|
+
msgstr ""
|
431
|
+
|
432
|
+
#: ../lib/hammer_cli_csv/subscriptions.rb:138
|
433
|
+
msgid "'%{name}' of quantity %{quantity} already attached"
|
434
|
+
msgstr ""
|
435
|
+
|
436
|
+
#: ../lib/hammer_cli_csv/subscriptions.rb:142
|
437
|
+
msgid "Attaching '%{name}' of quantity %{quantity}..."
|
438
|
+
msgstr ""
|
439
|
+
|
440
|
+
#: ../lib/hammer_cli_csv/utils/subscriptions.rb:62
|
441
|
+
msgid "No subscriptions match SKU '%{sku}'"
|
442
|
+
msgstr ""
|
443
|
+
|
444
|
+
#: ../lib/hammer_cli_csv/utils/subscriptions.rb:67
|
445
|
+
msgid "No subscriptions match name '%{name}'"
|
446
|
+
msgstr ""
|
447
|
+
|
448
|
+
#: ../lib/hammer_cli_csv/utils/subscriptions.rb:86
|
449
|
+
msgid "No subscriptions match type '%{type}'"
|
450
|
+
msgstr ""
|
451
|
+
|
452
|
+
#: ../lib/hammer_cli_csv/utils/subscriptions.rb:115
|
453
|
+
msgid "No '%{name}' subscription with quantity %{quantity} or more available"
|
454
|
+
msgstr ""
|