hammer_cli_foreman 0.2.0 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of hammer_cli_foreman might be problematic. Click here for more details.
- checksums.yaml +4 -4
- data/doc/developer_docs.md +1 -0
- data/doc/host_create.md +7 -2
- data/doc/release_notes.md +9 -0
- data/doc/using_hammer_cli_foreman_command.md +92 -0
- data/lib/hammer_cli_foreman/commands.rb +22 -21
- data/lib/hammer_cli_foreman/exception_handler.rb +3 -3
- data/lib/hammer_cli_foreman/host.rb +1 -1
- data/lib/hammer_cli_foreman/option_builders.rb +1 -0
- data/lib/hammer_cli_foreman/template.rb +15 -0
- data/lib/hammer_cli_foreman/version.rb +1 -1
- data/locale/de/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/de/hammer-cli-foreman.edit.po +41 -80
- data/locale/de/hammer-cli-foreman.po +22 -21
- data/locale/en/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/en/hammer-cli-foreman.edit.po +7 -8
- data/locale/en/hammer-cli-foreman.po +4 -4
- data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/en_GB/hammer-cli-foreman.edit.po +10 -10
- data/locale/en_GB/hammer-cli-foreman.po +18 -18
- data/locale/es/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/es/hammer-cli-foreman.edit.po +47 -110
- data/locale/es/hammer-cli-foreman.po +1 -1
- data/locale/fr/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/fr/hammer-cli-foreman.edit.po +45 -109
- data/locale/fr/hammer-cli-foreman.po +1 -1
- data/locale/hammer-cli-foreman.pot +9 -9
- data/locale/it/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/it/hammer-cli-foreman.edit.po +35 -75
- data/locale/it/hammer-cli-foreman.po +2 -2
- data/locale/ja/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ja/hammer-cli-foreman.edit.po +81 -120
- data/locale/ja/hammer-cli-foreman.po +1 -1
- data/locale/ko/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ko/hammer-cli-foreman.edit.po +35 -75
- data/locale/ko/hammer-cli-foreman.po +1 -1
- data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/pt_BR/hammer-cli-foreman.edit.po +51 -106
- data/locale/pt_BR/hammer-cli-foreman.po +1 -1
- data/locale/ru/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/ru/hammer-cli-foreman.edit.po +36 -76
- data/locale/ru/hammer-cli-foreman.po +91 -90
- data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/zh_CN/hammer-cli-foreman.edit.po +35 -75
- data/locale/zh_CN/hammer-cli-foreman.po +1 -1
- data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman.mo +0 -0
- data/locale/zh_TW/hammer-cli-foreman.edit.po +35 -75
- data/locale/zh_TW/hammer-cli-foreman.po +1 -1
- data/test/unit/domain_test.rb +2 -2
- data/test/unit/exception_handler_test.rb +13 -1
- data/test/unit/host_test.rb +7 -5
- data/test/unit/hostgroup_test.rb +2 -3
- data/test/unit/operating_system_test.rb +2 -2
- metadata +6 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 08aefb712db29b91623d22e401287fa27e3e3f0e
|
4
|
+
data.tar.gz: bfaf0c75a8060cd2005f5ca6168fb393c323c959
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d2ee27634d9ddd7107651fab6cb96e8db3057f10f1055cc60429a5357ab9215e1d4937033a2e68b1e9657dcd29b9cd15f5eb145fed98738e1b7a4374d42ac9f8
|
7
|
+
data.tar.gz: 4bfa4ce631e90cbe1166afb917fe0a26aa4b6004577f5d86f3f8caee3baee18cc772fb5110ef55a56761a1344886b58504ca38052a1bc009b028ef3aae57beab
|
data/doc/developer_docs.md
CHANGED
@@ -6,6 +6,7 @@ There's a lot of useful information in
|
|
6
6
|
Studying it first can help you to understand the basic principles.
|
7
7
|
|
8
8
|
Foreman plugin extends the Hammer Core in following areas:
|
9
|
+
- [Using HammerCLIForeman::Command](using_hammer_cli_foreman_command.md)
|
9
10
|
- [Building options](option_builder.md#option-builder)
|
10
11
|
- [Automatic name resolution](name_id_resolution.md#name---id-resolution)
|
11
12
|
|
data/doc/host_create.md
CHANGED
@@ -4,6 +4,11 @@ Host Creation
|
|
4
4
|
Host creation is one of the most complex commands in the hammer's foreman plugin. The majority of its parameters
|
5
5
|
is obvious but there are some that need further explanation as their values differ with the type of a compute resource.
|
6
6
|
|
7
|
+
**Warning:**
|
8
|
+
Output of `hammer host create -h` may vary with the Foreman server used and plugins installed.
|
9
|
+
|
10
|
+
Sample help output for `hammer-cli-foreman 0.2.0` and `Foreman 1.8` follows:
|
11
|
+
|
7
12
|
```
|
8
13
|
$ hammer host create -h
|
9
14
|
Usage:
|
@@ -82,7 +87,7 @@ Example
|
|
82
87
|
=======
|
83
88
|
|
84
89
|
An example command for creating a host with 2 volumes (5GB raw + 10 GB qcow2) using
|
85
|
-
a default network interface on a libvirt provider can look like this:
|
90
|
+
a default network interface on a **libvirt** provider can look like this:
|
86
91
|
```bash
|
87
92
|
hammer host create
|
88
93
|
--hostgroup=my_hostgroup # most of the settings is done in the hostgroup
|
@@ -94,6 +99,7 @@ hammer host create
|
|
94
99
|
--name="test-host"
|
95
100
|
```
|
96
101
|
|
102
|
+
Please note that volumes, interfaces and compute attributes **differ significantly** across compute resource types.
|
97
103
|
See the list of all possible option keys below.
|
98
104
|
|
99
105
|
|
@@ -235,4 +241,3 @@ datastore
|
|
235
241
|
name
|
236
242
|
size_gb # integer number
|
237
243
|
```
|
238
|
-
|
data/doc/release_notes.md
CHANGED
@@ -1,6 +1,15 @@
|
|
1
1
|
Release notes
|
2
2
|
=============
|
3
3
|
|
4
|
+
### 0.3.0 (2015-07-29)
|
5
|
+
* Add normalizer converting id parameter values to numbers ([#11137](http://projects.theforeman.org/issues/11137))
|
6
|
+
* Docs - updated information about host creation
|
7
|
+
* Added some rough docs showing HammerCLIForeman::Command
|
8
|
+
* Adding a command for building PXE default ([#3968](http://projects.theforeman.org/issues/3968))
|
9
|
+
* Turn off pagination by default ([#10534](http://projects.theforeman.org/issues/10534))
|
10
|
+
* Can't set array parameters on hosts ([#10547](http://projects.theforeman.org/issues/10547))
|
11
|
+
|
12
|
+
|
4
13
|
### 0.2.0 (2015-04-23)
|
5
14
|
* Adding default org and loc to user info ([#10251](http://projects.theforeman.org/issues/10251))
|
6
15
|
* Host update resets some attributes ([#10215](http://projects.theforeman.org/issues/10215))
|
@@ -0,0 +1,92 @@
|
|
1
|
+
Using HammerCLIForeman
|
2
|
+
======================
|
3
|
+
|
4
|
+
hammer-cli-foreman comes with a handy framework similar to [hammer-cli's ApiPie::Command](https://github.com/theforeman/hammer-cli/blob/master/doc/creating_apipie_commands.md#creating-commands-for-restful-api-with-apipie) which allows the creation of CRUD commands based off the foreman servers api documentation.
|
5
|
+
|
6
|
+
Using HammerCLIForeman's Command class instead of ```HammerCLI::Command``` or ```HammerCLI::Apipie::Command``` will allow you to use less code, piggy back on the HammerCLIForeman configuration (username/password/cache/etc..) and rely more on the foreman servers api description for inputs.
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
Example Command Template
|
11
|
+
------------------------
|
12
|
+
|
13
|
+
**Notes**
|
14
|
+
* Replace $VARIABLES with your code
|
15
|
+
* You will still need to map commands
|
16
|
+
|
17
|
+
|
18
|
+
**File**: lib/hammer_cli_foreman_$NAME.rb
|
19
|
+
```ruby
|
20
|
+
require 'hammer_cli_foreman'
|
21
|
+
|
22
|
+
module HammerCLIForeman$NAME
|
23
|
+
def self.exception_handler_class
|
24
|
+
HammerCLIForeman::ExceptionHandler
|
25
|
+
end
|
26
|
+
|
27
|
+
# Using lazy-loaded subcommands
|
28
|
+
# https://github.com/theforeman/hammer-cli/blob/master/doc/creating_commands.md#lazy-loaded-subcommands
|
29
|
+
HammerCLI::MainCommand.lazy_subcommand(
|
30
|
+
'$NAME',
|
31
|
+
'$DESCRIPTION',
|
32
|
+
'HammerCLIForeman$NAME::Command',
|
33
|
+
'hammer_cli_foreman_$NAME/command')
|
34
|
+
end
|
35
|
+
|
36
|
+
```
|
37
|
+
|
38
|
+
|
39
|
+
**File**: lib/hammer_cli_foreman_$NAME/command.rb
|
40
|
+
```ruby
|
41
|
+
require 'hammer_cli'
|
42
|
+
require 'hammer_cli_foreman'
|
43
|
+
|
44
|
+
module HammerCLIForeman$NAME
|
45
|
+
|
46
|
+
class Command < HammerCLIForeman::Command
|
47
|
+
|
48
|
+
resource :$API_RESOURCE
|
49
|
+
command_name '$COMMAND_NAME'
|
50
|
+
|
51
|
+
# Lists $NAME's
|
52
|
+
class ListCommand < HammerCLIForeman::ListCommand
|
53
|
+
output do
|
54
|
+
field :id, _('Id')
|
55
|
+
$MORE_FIELDS_YOU_WANT_TO_SHOW
|
56
|
+
end
|
57
|
+
|
58
|
+
build_options # Builds CLI options based on the apidoc
|
59
|
+
end
|
60
|
+
|
61
|
+
# Get's information on a specific $NAME
|
62
|
+
class InfoCommand < HammerCLIForeman::InfoCommand
|
63
|
+
failure_message 'Could not find the requested $NAME' # What to show on failure
|
64
|
+
|
65
|
+
output do
|
66
|
+
field :id, _('Id')
|
67
|
+
$MORE_FIELDS_YOU_WANT_TO_SHOW
|
68
|
+
end
|
69
|
+
|
70
|
+
build_options # Builds CLI options based on the apidoc
|
71
|
+
end
|
72
|
+
|
73
|
+
# Creates a new $NAME
|
74
|
+
class CreateCommand < HammerCLIForeman::CreateCommand
|
75
|
+
success_message '$NAME created' # What to show on success
|
76
|
+
failure_message 'Could not create a $NAME' # What to show on failure
|
77
|
+
|
78
|
+
build_options # Builds CLI options based on the apidoc
|
79
|
+
end
|
80
|
+
|
81
|
+
# Delete's a new $NAME
|
82
|
+
class DeleteCommand < HammerCLIForeman::DeleteCommand
|
83
|
+
success_message '$NAME deleted' # What to show on success
|
84
|
+
failure_message 'Could not delete the $NAME' # What to show on failure
|
85
|
+
|
86
|
+
build_options # Builds CLI options based on the apidoc
|
87
|
+
end
|
88
|
+
|
89
|
+
autoload_subcommands
|
90
|
+
end
|
91
|
+
end
|
92
|
+
```
|
@@ -264,6 +264,7 @@ module HammerCLIForeman
|
|
264
264
|
|
265
265
|
action :index
|
266
266
|
|
267
|
+
RETRIEVE_ALL_PER_PAGE = 1000
|
267
268
|
DEFAULT_PER_PAGE = 20
|
268
269
|
|
269
270
|
def adapter
|
@@ -289,12 +290,12 @@ module HammerCLIForeman
|
|
289
290
|
end
|
290
291
|
|
291
292
|
def execute
|
292
|
-
if
|
293
|
-
|
294
|
-
self.option_per_page ||= HammerCLI::Settings.get(:ui, :per_page) || DEFAULT_PER_PAGE
|
295
|
-
browse_collection
|
293
|
+
if should_retrieve_all?
|
294
|
+
print_data(retrieve_all)
|
296
295
|
else
|
297
|
-
|
296
|
+
self.option_page = (self.option_page || 1).to_i if respond_to?(:option_page)
|
297
|
+
self.option_per_page = (self.option_per_page || HammerCLI::Settings.get(:ui, :per_page) || DEFAULT_PER_PAGE).to_i if respond_to?(:option_per_page)
|
298
|
+
print_data(send_request)
|
298
299
|
end
|
299
300
|
|
300
301
|
return HammerCLI::EX_OK
|
@@ -302,27 +303,27 @@ module HammerCLIForeman
|
|
302
303
|
|
303
304
|
protected
|
304
305
|
|
306
|
+
def retrieve_all
|
307
|
+
self.option_per_page = RETRIEVE_ALL_PER_PAGE
|
308
|
+
self.option_page = 1
|
305
309
|
|
306
|
-
|
307
|
-
|
308
|
-
|
309
|
-
while list_next do
|
310
|
-
d = retrieve_and_print
|
310
|
+
d = send_request
|
311
|
+
all = d
|
311
312
|
|
312
|
-
|
313
|
-
|
314
|
-
|
315
|
-
|
316
|
-
else
|
317
|
-
list_next = false
|
318
|
-
end
|
313
|
+
while (d.size == RETRIEVE_ALL_PER_PAGE) do
|
314
|
+
self.option_page += 1
|
315
|
+
d = send_request
|
316
|
+
all += d
|
319
317
|
end
|
318
|
+
all
|
320
319
|
end
|
321
320
|
|
322
|
-
def
|
323
|
-
|
324
|
-
|
325
|
-
|
321
|
+
def pagination_supported?
|
322
|
+
respond_to?(:option_page) && respond_to?(:option_per_page)
|
323
|
+
end
|
324
|
+
|
325
|
+
def should_retrieve_all?
|
326
|
+
pagination_supported? && option_per_page.nil? && option_page.nil?
|
326
327
|
end
|
327
328
|
|
328
329
|
end
|
@@ -18,8 +18,8 @@ module HammerCLIForeman
|
|
18
18
|
|
19
19
|
def handle_unprocessable_entity(e)
|
20
20
|
response = JSON.parse(e.response)
|
21
|
-
response = HammerCLIForeman.record_to_common_format(response)
|
22
|
-
print_error response['full_messages']
|
21
|
+
response = HammerCLIForeman.record_to_common_format(response) unless response.has_key?('message')
|
22
|
+
print_error response['message'] || response['full_messages']
|
23
23
|
HammerCLI::EX_DATAERR
|
24
24
|
end
|
25
25
|
|
@@ -60,7 +60,7 @@ module HammerCLIForeman
|
|
60
60
|
def handle_foreman_error(e)
|
61
61
|
begin
|
62
62
|
response = JSON.parse(e.response)
|
63
|
-
response = HammerCLIForeman.record_to_common_format(response)
|
63
|
+
response = HammerCLIForeman.record_to_common_format(response) unless response.has_key?('message')
|
64
64
|
message = response['message'] || e.message
|
65
65
|
rescue JSON::ParserError => parse_e
|
66
66
|
message = e.message
|
@@ -112,7 +112,7 @@ module HammerCLIForeman
|
|
112
112
|
def parameter_attributes
|
113
113
|
return {} unless option_parameters
|
114
114
|
option_parameters.collect do |key, value|
|
115
|
-
{"name"=>key, "value"=>value, "nested"=>""}
|
115
|
+
{"name"=>key, "value"=>value.inspect, "nested"=>""}
|
116
116
|
end
|
117
117
|
end
|
118
118
|
|
@@ -243,6 +243,7 @@ module HammerCLIForeman
|
|
243
243
|
"#{aliased_name}_id".upcase,
|
244
244
|
description("id", :show),
|
245
245
|
:attribute_name => HammerCLI.option_accessor_name("#{resource_name}_id"),
|
246
|
+
:format => HammerCLI::Options::Normalizers::Number.new,
|
246
247
|
:referenced_resource => resource.singular_name
|
247
248
|
)
|
248
249
|
options
|
@@ -142,6 +142,21 @@ module HammerCLIForeman
|
|
142
142
|
end
|
143
143
|
|
144
144
|
|
145
|
+
class BuildPXEDefaultCommand < HammerCLIForeman::Command
|
146
|
+
|
147
|
+
action :build_pxe_default
|
148
|
+
|
149
|
+
command_name "build-pxe-default"
|
150
|
+
desc _("Update the default PXE menu on all configured TFTP servers")
|
151
|
+
|
152
|
+
def print_data(message)
|
153
|
+
puts message
|
154
|
+
end
|
155
|
+
|
156
|
+
build_options
|
157
|
+
end
|
158
|
+
|
159
|
+
|
145
160
|
HammerCLIForeman::AssociatingCommands::OperatingSystem.extend_command(self)
|
146
161
|
|
147
162
|
|
Binary file
|
@@ -4,15 +4,16 @@
|
|
4
4
|
#
|
5
5
|
# Translators:
|
6
6
|
# Ettore Atalan <atalanttore@googlemail.com>, 2014
|
7
|
+
# Marcel Fuhrmann <marcel@mfsystems.me>, 2015
|
7
8
|
# simon11 <simon.stieger.98@live.de>, 2014
|
8
9
|
# simon11 <simon.stieger.98@live.de>, 2014
|
9
10
|
msgid ""
|
10
11
|
msgstr ""
|
11
|
-
"Project-Id-Version: hammer-cli-foreman 0.
|
12
|
+
"Project-Id-Version: hammer-cli-foreman 0.2.0\n"
|
12
13
|
"Report-Msgid-Bugs-To: \n"
|
13
|
-
"POT-Creation-Date: 2015-
|
14
|
-
"PO-Revision-Date:
|
15
|
-
"Last-Translator:
|
14
|
+
"POT-Creation-Date: 2015-07-29 17:24+0200\n"
|
15
|
+
"PO-Revision-Date: 2015-03-22 03:37+0000\n"
|
16
|
+
"Last-Translator: Marcel Fuhrmann <marcel@mfsystems.me>\n"
|
16
17
|
"Language-Team: German (http://www.transifex.com/projects/p/foreman/language/de"
|
17
18
|
"/)\n"
|
18
19
|
"MIME-Version: 1.0\n"
|
@@ -102,8 +103,9 @@ msgid "Manipulate smart class parameters."
|
|
102
103
|
msgstr "Smart Class-Parameter verändern"
|
103
104
|
|
104
105
|
#: ../lib/hammer_cli_foreman.rb:110
|
106
|
+
#, fuzzy
|
105
107
|
msgid "Manipulate smart variables."
|
106
|
-
msgstr ""
|
108
|
+
msgstr "Smart Proxys verändern"
|
107
109
|
|
108
110
|
#: ../lib/hammer_cli_foreman.rb:114
|
109
111
|
msgid "Manipulate smart proxies."
|
@@ -465,15 +467,11 @@ msgstr ""
|
|
465
467
|
msgid "Could not find %{resource}, please set one of options %{switches}."
|
466
468
|
msgstr ""
|
467
469
|
|
468
|
-
#: ../lib/hammer_cli_foreman/commands.rb:
|
469
|
-
msgid "List next page? (%s): "
|
470
|
-
msgstr "Nächste Seite auflisten? (%s): "
|
471
|
-
|
472
|
-
#: ../lib/hammer_cli_foreman/commands.rb:516
|
470
|
+
#: ../lib/hammer_cli_foreman/commands.rb:517
|
473
471
|
msgid "Associate a resource"
|
474
472
|
msgstr "Ressource zuweisen"
|
475
473
|
|
476
|
-
#: ../lib/hammer_cli_foreman/commands.rb:
|
474
|
+
#: ../lib/hammer_cli_foreman/commands.rb:539
|
477
475
|
msgid "Disassociate a resource"
|
478
476
|
msgstr "Ressource lösen"
|
479
477
|
|
@@ -570,12 +568,10 @@ msgid "Could not delete the compute resource"
|
|
570
568
|
msgstr "Rechnerressource konnte nicht gelöscht werden"
|
571
569
|
|
572
570
|
#: ../lib/hammer_cli_foreman/credentials.rb:26
|
573
|
-
#, fuzzy
|
574
571
|
msgid "[Foreman] Username: "
|
575
572
|
msgstr "[Foreman]-Benutzername: "
|
576
573
|
|
577
574
|
#: ../lib/hammer_cli_foreman/credentials.rb:33
|
578
|
-
#, fuzzy
|
579
575
|
msgid "[Foreman] Password for %s: "
|
580
576
|
msgstr "[Foreman]-Passwort für %s: "
|
581
577
|
|
@@ -789,7 +785,7 @@ msgstr ""
|
|
789
785
|
|
790
786
|
#: ../lib/hammer_cli_foreman/host.rb:17
|
791
787
|
msgid "ID of the owner"
|
792
|
-
msgstr ""
|
788
|
+
msgstr "Kennung des Eigentümers"
|
793
789
|
|
794
790
|
#: ../lib/hammer_cli_foreman/host.rb:42
|
795
791
|
msgid "Host parameters."
|
@@ -1097,24 +1093,23 @@ msgstr "Host wird neu gestartet."
|
|
1097
1093
|
|
1098
1094
|
#: ../lib/hammer_cli_foreman/hostgroup.rb:10
|
1099
1095
|
msgid "List of puppetclass ids"
|
1100
|
-
msgstr ""
|
1096
|
+
msgstr "Liste der Puppetklassen-IDs"
|
1101
1097
|
|
1102
1098
|
#: ../lib/hammer_cli_foreman/hostgroup.rb:12
|
1103
1099
|
msgid "Name of puppet CA proxy"
|
1104
|
-
msgstr ""
|
1100
|
+
msgstr "Name des Puppet CA Proxy"
|
1105
1101
|
|
1106
1102
|
#: ../lib/hammer_cli_foreman/hostgroup.rb:13
|
1107
1103
|
msgid "Name of puppet proxy"
|
1108
|
-
msgstr ""
|
1104
|
+
msgstr "Name des Puppet Proxy"
|
1109
1105
|
|
1110
1106
|
#: ../lib/hammer_cli_foreman/hostgroup.rb:14
|
1111
1107
|
msgid "Name of parent hostgroup"
|
1112
|
-
msgstr ""
|
1108
|
+
msgstr "Name der übergeordneten Hostgruppe"
|
1113
1109
|
|
1114
1110
|
#: ../lib/hammer_cli_foreman/hostgroup.rb:49 ../lib/hammer_cli_foreman/operating_system.rb:11
|
1115
|
-
#, fuzzy
|
1116
1111
|
msgid "Title"
|
1117
|
-
msgstr "
|
1112
|
+
msgstr "Titel"
|
1118
1113
|
|
1119
1114
|
#: ../lib/hammer_cli_foreman/hostgroup.rb:68
|
1120
1115
|
msgid "Puppet CA Proxy Id"
|
@@ -1130,7 +1125,7 @@ msgstr "Rechnerprofil"
|
|
1130
1125
|
|
1131
1126
|
#: ../lib/hammer_cli_foreman/hostgroup.rb:74
|
1132
1127
|
msgid "Parent Id"
|
1133
|
-
msgstr ""
|
1128
|
+
msgstr "Übergeordnete Kennung"
|
1134
1129
|
|
1135
1130
|
#: ../lib/hammer_cli_foreman/hostgroup.rb:84
|
1136
1131
|
msgid "Hostgroup created"
|
@@ -1226,9 +1221,8 @@ msgid "Organization name"
|
|
1226
1221
|
msgstr "Organisationsname"
|
1227
1222
|
|
1228
1223
|
#: ../lib/hammer_cli_foreman/id_resolver.rb:50
|
1229
|
-
#, fuzzy
|
1230
1224
|
msgid "Operating system title"
|
1231
|
-
msgstr "
|
1225
|
+
msgstr "Betriebssystemname"
|
1232
1226
|
|
1233
1227
|
#: ../lib/hammer_cli_foreman/id_resolver.rb:52
|
1234
1228
|
msgid "Partition table name"
|
@@ -1281,9 +1275,8 @@ msgid "Name to search by"
|
|
1281
1275
|
msgstr "Zu suchender Name"
|
1282
1276
|
|
1283
1277
|
#: ../lib/hammer_cli_foreman/id_resolver.rb:153
|
1284
|
-
#, fuzzy
|
1285
1278
|
msgid "one of %s not found"
|
1286
|
-
msgstr "
|
1279
|
+
msgstr ""
|
1287
1280
|
|
1288
1281
|
#: ../lib/hammer_cli_foreman/id_resolver.rb:200
|
1289
1282
|
msgid "%s not found"
|
@@ -2010,8 +2003,9 @@ msgid "Override value created"
|
|
2010
2003
|
msgstr "Werte übergehen"
|
2011
2004
|
|
2012
2005
|
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:132 ../lib/hammer_cli_foreman/smart_variable.rb:122
|
2006
|
+
#, fuzzy
|
2013
2007
|
msgid "Could not create the override_value"
|
2014
|
-
msgstr ""
|
2008
|
+
msgstr "Benutzerrolle konnte nicht erstellt werden"
|
2015
2009
|
|
2016
2010
|
#: ../lib/hammer_cli_foreman/smart_class_parameter.rb:151 ../lib/hammer_cli_foreman/smart_variable.rb:134
|
2017
2011
|
#, fuzzy
|
@@ -2215,6 +2209,10 @@ msgstr "Konfigurationsvorlage gelöscht"
|
|
2215
2209
|
msgid "Could not delete the config template"
|
2216
2210
|
msgstr "Konfigurationsvorlage konnte nicht gelöscht werden"
|
2217
2211
|
|
2212
|
+
#: ../lib/hammer_cli_foreman/template.rb:150
|
2213
|
+
msgid "Update the default PXE menu on all configured TFTP servers"
|
2214
|
+
msgstr ""
|
2215
|
+
|
2218
2216
|
#: ../lib/hammer_cli_foreman/user.rb:11
|
2219
2217
|
msgid "Login"
|
2220
2218
|
msgstr "Anmeldung"
|
@@ -2305,90 +2303,53 @@ msgstr "Benutzergruppe [%<name>s] gelöscht"
|
|
2305
2303
|
msgid "Could not delete the user group"
|
2306
2304
|
msgstr "Benutzergruppe konnte nicht gelöscht werden"
|
2307
2305
|
|
2308
|
-
#: lib/hammer_cli_foreman/
|
2309
|
-
#: lib/hammer_cli_foreman/smart_class_parameter.rb:63
|
2310
|
-
#~ msgid "Count"
|
2311
|
-
#~ msgstr "Zähler"
|
2312
|
-
|
2313
|
-
#: lib/hammer_cli_foreman/hostgroup.rb:41
|
2314
|
-
#~ msgid "Label"
|
2315
|
-
#~ msgstr "Label"
|
2316
|
-
|
2317
|
-
#: lib/hammer_cli_foreman/hostgroup.rb:45
|
2318
|
-
#~ msgid "Ancestry"
|
2319
|
-
#~ msgstr "Abstammung"
|
2320
|
-
|
2321
|
-
#: lib/hammer_cli_foreman/host.rb:167
|
2306
|
+
#: lib/hammer_cli_foreman/host.rb:171
|
2322
2307
|
#~ msgid "Disk"
|
2323
2308
|
#~ msgstr "Festplatte"
|
2324
2309
|
|
2325
|
-
#: lib/hammer_cli_foreman/host.rb:
|
2310
|
+
#: lib/hammer_cli_foreman/host.rb:189
|
2326
2311
|
#~ msgid "Puppet Proxy Id"
|
2327
2312
|
#~ msgstr "Puppet-Proxy-ID"
|
2328
2313
|
|
2329
|
-
#: lib/hammer_cli_foreman/host.rb:
|
2314
|
+
#: lib/hammer_cli_foreman/host.rb:198
|
2330
2315
|
#~ msgid "BMC Network Interfaces"
|
2331
2316
|
#~ msgstr "BMC-Netzwerkschnittstellen"
|
2332
2317
|
|
2333
|
-
#: lib/hammer_cli_foreman/host.rb:
|
2318
|
+
#: lib/hammer_cli_foreman/host.rb:203 lib/hammer_cli_foreman/host.rb:216
|
2334
2319
|
#~ msgid "Domain Id"
|
2335
2320
|
#~ msgstr "Domain-Kennung"
|
2336
2321
|
|
2337
|
-
#: lib/hammer_cli_foreman/host.rb:
|
2322
|
+
#: lib/hammer_cli_foreman/host.rb:204 lib/hammer_cli_foreman/host.rb:217
|
2338
2323
|
#~ msgid "Domain Name"
|
2339
2324
|
#~ msgstr "Domainname"
|
2340
2325
|
|
2341
|
-
#: lib/hammer_cli_foreman/host.rb:
|
2326
|
+
#: lib/hammer_cli_foreman/host.rb:205 lib/hammer_cli_foreman/host.rb:218
|
2342
2327
|
#~ msgid "Subnet Id"
|
2343
2328
|
#~ msgstr "Subnetzkennung"
|
2344
2329
|
|
2345
|
-
#: lib/hammer_cli_foreman/host.rb:
|
2330
|
+
#: lib/hammer_cli_foreman/host.rb:206 lib/hammer_cli_foreman/host.rb:219
|
2346
2331
|
#~ msgid "Subnet Name"
|
2347
2332
|
#~ msgstr "Subnetzname"
|
2348
2333
|
|
2349
|
-
#: lib/hammer_cli_foreman/host.rb:
|
2334
|
+
#: lib/hammer_cli_foreman/host.rb:207
|
2350
2335
|
#~ msgid "BMC Username"
|
2351
2336
|
#~ msgstr "BMC-Benutzername"
|
2352
2337
|
|
2353
|
-
#: lib/hammer_cli_foreman/host.rb:
|
2338
|
+
#: lib/hammer_cli_foreman/host.rb:208
|
2354
2339
|
#~ msgid "BMC Password"
|
2355
2340
|
#~ msgstr "BMC-Passwort"
|
2356
2341
|
|
2357
|
-
#: lib/hammer_cli_foreman/host.rb:
|
2342
|
+
#: lib/hammer_cli_foreman/host.rb:211
|
2358
2343
|
#~ msgid "Managed Network Interfaces"
|
2359
2344
|
#~ msgstr "Verwaltete Netzwerkschnittstellen"
|
2360
2345
|
|
2361
|
-
#: lib/hammer_cli_foreman/
|
2362
|
-
#~ msgid "
|
2363
|
-
#~ msgstr "
|
2364
|
-
|
2365
|
-
#: lib/hammer_cli_foreman/
|
2366
|
-
|
2367
|
-
#~
|
2368
|
-
#~ msgstr "Zugehörige Architekturen festlegen"
|
2369
|
-
|
2370
|
-
#: lib/hammer_cli_foreman/operating_system.rb:48
|
2371
|
-
#: lib/hammer_cli_foreman/operating_system.rb:75
|
2372
|
-
#~ msgid "set associated templates"
|
2373
|
-
#~ msgstr "Zugehörige Vorlagen festlegen"
|
2374
|
-
|
2375
|
-
#: lib/hammer_cli_foreman/operating_system.rb:50
|
2376
|
-
#: lib/hammer_cli_foreman/operating_system.rb:77
|
2377
|
-
#~ msgid "set associated installation media"
|
2378
|
-
#~ msgstr "Zugehörige Installationsmedien festlegen"
|
2379
|
-
|
2380
|
-
#: lib/hammer_cli_foreman/operating_system.rb:52
|
2381
|
-
#: lib/hammer_cli_foreman/operating_system.rb:79
|
2382
|
-
#~ msgid "set associated partition tables"
|
2383
|
-
#~ msgstr "Zugehörige Partitionstabellen festlegen"
|
2384
|
-
|
2385
|
-
#: lib/hammer_cli_foreman/credentials.rb:10
|
2386
|
-
#~ msgid "[Foreman] username: "
|
2387
|
-
#~ msgstr "[Foreman]-Benutzername: "
|
2388
|
-
|
2389
|
-
#: lib/hammer_cli_foreman/credentials.rb:15
|
2390
|
-
#~ msgid "[Foreman] password for %s: "
|
2391
|
-
#~ msgstr "[Foreman]-Passwort für %s: "
|
2346
|
+
#: lib/hammer_cli_foreman/commands.rb:288
|
2347
|
+
#~ msgid "List next page? (%s): "
|
2348
|
+
#~ msgstr "Nächste Seite auflisten? (%s): "
|
2349
|
+
|
2350
|
+
#: lib/hammer_cli_foreman/smart_class_parameter.rb:63
|
2351
|
+
#~ msgid "Count"
|
2352
|
+
#~ msgstr "Zähler"
|
2392
2353
|
|
2393
2354
|
#: lib/hammer_cli_foreman/user.rb:47
|
2394
2355
|
#~ msgid "User created"
|