hammer_cli_foreman_discovery 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (45) hide show
  1. checksums.yaml +5 -5
  2. data/lib/hammer_cli_foreman_discovery/discovery.rb +45 -0
  3. data/lib/hammer_cli_foreman_discovery/version.rb +1 -1
  4. data/locale/Makefile +3 -3
  5. data/locale/ca/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  6. data/locale/ca/hammer_cli_foreman_discovery.edit.po +77 -67
  7. data/locale/ca/hammer_cli_foreman_discovery.po +16 -5
  8. data/locale/de/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  9. data/locale/de/hammer_cli_foreman_discovery.edit.po +78 -69
  10. data/locale/de/hammer_cli_foreman_discovery.po +16 -5
  11. data/locale/en/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  12. data/locale/en/hammer_cli_foreman_discovery.edit.po +62 -50
  13. data/locale/en/hammer_cli_foreman_discovery.po +14 -5
  14. data/locale/en_GB/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  15. data/locale/en_GB/hammer_cli_foreman_discovery.edit.po +78 -68
  16. data/locale/en_GB/hammer_cli_foreman_discovery.po +17 -6
  17. data/locale/es/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  18. data/locale/es/hammer_cli_foreman_discovery.edit.po +84 -74
  19. data/locale/es/hammer_cli_foreman_discovery.po +16 -5
  20. data/locale/fr/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  21. data/locale/fr/hammer_cli_foreman_discovery.edit.po +77 -68
  22. data/locale/fr/hammer_cli_foreman_discovery.po +16 -5
  23. data/locale/hammer_cli_foreman_discovery.pot +76 -64
  24. data/locale/it/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  25. data/locale/it/hammer_cli_foreman_discovery.edit.po +82 -69
  26. data/locale/it/hammer_cli_foreman_discovery.po +17 -6
  27. data/locale/ja/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  28. data/locale/ja/hammer_cli_foreman_discovery.edit.po +78 -68
  29. data/locale/ja/hammer_cli_foreman_discovery.po +17 -6
  30. data/locale/ko/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  31. data/locale/ko/hammer_cli_foreman_discovery.edit.po +79 -67
  32. data/locale/ko/hammer_cli_foreman_discovery.po +16 -5
  33. data/locale/pt_BR/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  34. data/locale/pt_BR/hammer_cli_foreman_discovery.edit.po +83 -72
  35. data/locale/pt_BR/hammer_cli_foreman_discovery.po +17 -6
  36. data/locale/ru/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  37. data/locale/ru/hammer_cli_foreman_discovery.edit.po +83 -71
  38. data/locale/ru/hammer_cli_foreman_discovery.po +16 -5
  39. data/locale/zh_CN/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  40. data/locale/zh_CN/hammer_cli_foreman_discovery.edit.po +83 -70
  41. data/locale/zh_CN/hammer_cli_foreman_discovery.po +17 -6
  42. data/locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  43. data/locale/zh_TW/hammer_cli_foreman_discovery.edit.po +81 -68
  44. data/locale/zh_TW/hammer_cli_foreman_discovery.po +16 -5
  45. metadata +4 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: e13bbfa0e59e0b9fe2706ef3adb1773bb138d714
4
- data.tar.gz: 6b35b71861d67d2a8b888481bea73433d8429806
2
+ SHA256:
3
+ metadata.gz: ebb7eef185ee2894ec193cb5c2eaf286876bbe7b1587dd92a114c0bba5869c0d
4
+ data.tar.gz: a5407e3b251b009e1976fe0dab4cc0b1828b7292c4c9f54e3bf14571f16e3a7b
5
5
  SHA512:
6
- metadata.gz: 52e9d9d328eb8bdb6808b2c4a87a1802a84b6afb6e80eadd6a9eba4c913e6cf376079f16390b86e1526fd66e70979dbc380d47438260f3949dc39dd50b1b8a64
7
- data.tar.gz: 74c02e4bdef7b46ad99b4cf8e959a21c0659781b83102cd3fabab27731a2e950efe5d69733873f319fdfff325fcf1ca72f45e7220446363f34da048ff4a39a2f
6
+ metadata.gz: b81a5cf44e4b7eff0f3c773f68776f327972d485cc058241b1cb14db4373579aed68e46b9d615a5222aa1d105fa047175bb37e5aa49335ece35d9e495d7d5952
7
+ data.tar.gz: a3779b5db24ae8a22ad7837049e437908faac6aa49f0cfbb22793bb6ea0491647e429b07401e0ca7bd0b090babec78271303773d9eec53c610f28ce9cebc089e
@@ -111,6 +111,7 @@ module HammerCLIForemanDiscovery
111
111
  def request_params
112
112
  params = super
113
113
 
114
+ params['discovered_host']['host_parameters_attributes'] = parameter_attributes
114
115
  params['discovered_host']['ptable_id'] = option_partition_table_id unless option_partition_table_id.nil?
115
116
  params['discovered_host']['root_pass'] = option_root_password unless option_root_password.nil?
116
117
  params['discovered_host']['overwrite'] = option_overwrite unless option_overwrite.nil?
@@ -122,6 +123,17 @@ module HammerCLIForemanDiscovery
122
123
  params
123
124
  end
124
125
 
126
+ def parameter_attributes
127
+ return {} unless option_parameters
128
+ option_parameters.collect do |key, value|
129
+ if value.is_a? String
130
+ {"name"=>key, "value"=>value}
131
+ else
132
+ {"name"=>key, "value"=>value.inspect}
133
+ end
134
+ end
135
+ end
136
+
125
137
  build_options
126
138
  end
127
139
 
@@ -129,6 +141,19 @@ module HammerCLIForemanDiscovery
129
141
  action :auto_provision
130
142
  command_name "auto-provision"
131
143
  desc _("Auto provision a host")
144
+
145
+ option '--all', :flag, _("Auto provision all discovered hosts")
146
+
147
+ def execute
148
+ if option_all?
149
+ resource.call(:auto_provision_all, {})
150
+ print_message _("Hosts created")
151
+ HammerCLI::EX_OK
152
+ else
153
+ super
154
+ end
155
+ end
156
+
132
157
  success_message _("Host created")
133
158
  failure_message _("Could not create the host")
134
159
 
@@ -139,6 +164,26 @@ module HammerCLIForemanDiscovery
139
164
  action :reboot
140
165
  command_name "reboot"
141
166
  desc _("Reboot a host")
167
+
168
+ option '--all', :flag, _("Reboot all discovered hosts")
169
+
170
+ def execute
171
+ if option_all?
172
+ begin
173
+ resource.call(:reboot_all, {})
174
+ print_message _("Rebooting hosts")
175
+ HammerCLI::EX_OK
176
+ rescue RestClient::UnprocessableEntity => error
177
+ response = JSON.parse(error.response)
178
+ response = HammerCLIForeman.record_to_common_format(response) unless response.has_key?('message')
179
+ output.print_error(response['host_details'].map {|i| i['name'] + ": " + i['error'] }.join("\n"))
180
+ HammerCLI::EX_DATAERR
181
+ end
182
+ else
183
+ super
184
+ end
185
+ end
186
+
142
187
  success_message _("Host reboot started")
143
188
  failure_message _("Could not reboot the host")
144
189
 
@@ -1,5 +1,5 @@
1
1
  module HammerCLIForemanDiscovery
2
2
  def self.version
3
- @version ||= Gem::Version.new('1.0.0')
3
+ @version ||= Gem::Version.new('1.0.1')
4
4
  end
5
5
  end
data/locale/Makefile CHANGED
@@ -56,10 +56,10 @@ extract-strings:
56
56
 
57
57
  reset-po:
58
58
  # merging po files is unnecessary when using transifex.com
59
- git checkout -- ../locale/*/*po
59
+ git checkout -- */$(DOMAIN).po
60
60
 
61
61
  tx-update: tx-pull extract-strings reset-po $(MOFILES)
62
62
  # amend mo files
63
- git add ../locale/*/LC_MESSAGES
63
+ git add */LC_MESSAGES
64
64
  git commit -a --amend -m "i18n - extracting new, pulling from tx"
65
- -echo Changes commited!
65
+ -echo Changes commited!
@@ -1,203 +1,213 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the PACKAGE package.
4
- #
4
+ #
5
5
  # Translators:
6
6
  # Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2015
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: hammer_cli_foreman_discovery 0.0.2\n"
9
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
- "POT-Creation-Date: 2015-03-19 15:06+0200\n"
12
- "PO-Revision-Date: 2015-12-11 09:29+0000\n"
11
+ "PO-Revision-Date: 2015-12-09 11:08+0000\n"
13
12
  "Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>\n"
14
- "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)\n"
13
+ "Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
14
+ "\n"
15
15
  "MIME-Version: 1.0\n"
16
16
  "Content-Type: text/plain; charset=UTF-8\n"
17
17
  "Content-Transfer-Encoding: 8bit\n"
18
18
  "Language: ca\n"
19
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
20
 
21
- #: lib/hammer_cli_foreman_discovery/discovery_references.rb:6
22
- msgid "Hosts"
23
- msgstr "Amfitrions"
21
+ #: ../lib/hammer_cli_foreman_discovery.rb:7
22
+ msgid "Manipulate discovered hosts."
23
+ msgstr "Manipula els amfitrions descoberts."
24
+
25
+ #: ../lib/hammer_cli_foreman_discovery.rb:11
26
+ msgid "Manipulate discovered rules."
27
+ msgstr "Manipula les regles descobertes."
24
28
 
25
- #: lib/hammer_cli_foreman_discovery/discovery.rb:12
26
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:23
29
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:16 ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:26
27
30
  msgid "ID"
28
31
  msgstr "ID"
29
32
 
30
- #: lib/hammer_cli_foreman_discovery/discovery.rb:13
31
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:24
33
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:17 ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:27
32
34
  msgid "Name"
33
35
  msgstr "Nom"
34
36
 
35
- #: lib/hammer_cli_foreman_discovery/discovery.rb:14
37
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:18
36
38
  msgid "MAC"
37
39
  msgstr "MAC"
38
40
 
39
- #: lib/hammer_cli_foreman_discovery/discovery.rb:15
40
- msgid "Last report"
41
- msgstr "Últim informe"
42
-
43
- #: lib/hammer_cli_foreman_discovery/discovery.rb:16
41
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:19
44
42
  msgid "CPUs"
45
43
  msgstr "Les CPU"
46
44
 
47
- #: lib/hammer_cli_foreman_discovery/discovery.rb:17
45
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:20
48
46
  msgid "Memory"
49
47
  msgstr "Memòria"
50
48
 
51
- #: lib/hammer_cli_foreman_discovery/discovery.rb:18
49
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:21
52
50
  msgid "Disk count"
53
- msgstr "Nombre de discs"
51
+ msgstr "Nombre de disc"
54
52
 
55
- #: lib/hammer_cli_foreman_discovery/discovery.rb:19
53
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:22
56
54
  msgid "Disks size"
57
55
  msgstr "Mida de disc"
58
56
 
59
- #: lib/hammer_cli_foreman_discovery/discovery.rb:20
57
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:23
60
58
  msgid "Subnet"
61
59
  msgstr "Subxarxa"
62
60
 
63
- #: lib/hammer_cli_foreman_discovery/discovery.rb:21
64
- msgid "Last Report"
61
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:24
62
+ msgid "Last report"
65
63
  msgstr "Últim informe"
66
64
 
67
- #: lib/hammer_cli_foreman_discovery/discovery.rb:29
65
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:32
68
66
  msgid "IP"
69
67
  msgstr "IP"
70
68
 
71
- #: lib/hammer_cli_foreman_discovery/discovery.rb:30
69
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:33
72
70
  msgid "Model"
73
71
  msgstr "Model"
74
72
 
75
- #: lib/hammer_cli_foreman_discovery/discovery.rb:31
73
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:34
76
74
  msgid "Organization"
77
75
  msgstr "Organització"
78
76
 
79
- #: lib/hammer_cli_foreman_discovery/discovery.rb:32
77
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:35
80
78
  msgid "Location"
81
79
  msgstr "Ubicació"
82
80
 
83
- #: lib/hammer_cli_foreman_discovery/discovery.rb:42
81
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:48
84
82
  msgid "Fact"
85
83
  msgstr "Objecte d'interès"
86
84
 
87
- #: lib/hammer_cli_foreman_discovery/discovery.rb:43
85
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:49
88
86
  msgid "Value"
89
87
  msgstr "Valor"
90
88
 
91
- #: lib/hammer_cli_foreman_discovery/discovery.rb:60
89
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:66
92
90
  msgid "Host deleted"
93
91
  msgstr "S'ha suprimit l'amfitrió"
94
92
 
95
- #: lib/hammer_cli_foreman_discovery/discovery.rb:61
93
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:67
96
94
  msgid "Could not delete the host"
97
95
  msgstr "No s'ha pogut suprimir l'amfitrió"
98
96
 
99
- #: lib/hammer_cli_foreman_discovery/discovery.rb:69
100
- #: lib/hammer_cli_foreman_discovery/discovery.rb:123
97
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:75 ../lib/hammer_cli_foreman_discovery/discovery.rb:157
101
98
  msgid "Host created"
102
99
  msgstr "S'ha creat l'amfitrió"
103
100
 
104
- #: lib/hammer_cli_foreman_discovery/discovery.rb:70
105
- #: lib/hammer_cli_foreman_discovery/discovery.rb:124
101
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:76 ../lib/hammer_cli_foreman_discovery/discovery.rb:158
106
102
  msgid "Could not create the host"
107
103
  msgstr "No s'ha pogut crear l'amfitrió"
108
104
 
109
- #: lib/hammer_cli_foreman_discovery/discovery.rb:88
105
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:96
110
106
  msgid "Host parameters"
111
107
  msgstr "Paràmetres de l'amfitrió"
112
108
 
113
- #: lib/hammer_cli_foreman_discovery/discovery.rb:90
109
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:98
114
110
  msgid "Interface parameters"
115
111
  msgstr "Paràmetres de la interfície"
116
112
 
117
- #: lib/hammer_cli_foreman_discovery/discovery.rb:99
113
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:107
118
114
  msgid "Enter the root password for the host:"
119
115
  msgstr "Introduïu la contrasenya de root per a l'amfitrió:"
120
116
 
121
- #: lib/hammer_cli_foreman_discovery/discovery.rb:122
117
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:143
122
118
  msgid "Auto provision a host"
123
119
  msgstr "Auto aprovisiona un amfitrió"
124
120
 
125
- #: lib/hammer_cli_foreman_discovery/discovery.rb:132
121
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:145
122
+ msgid "Auto provision all discovered hosts"
123
+ msgstr ""
124
+
125
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:150
126
+ #, fuzzy
127
+ msgid "Hosts created"
128
+ msgstr "S'ha creat l'amfitrió"
129
+
130
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:166
126
131
  msgid "Reboot a host"
127
132
  msgstr "Reinicia un amfitrió"
128
133
 
129
- #: lib/hammer_cli_foreman_discovery/discovery.rb:133
134
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:168
135
+ msgid "Reboot all discovered hosts"
136
+ msgstr ""
137
+
138
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:174
139
+ #, fuzzy
140
+ msgid "Rebooting hosts"
141
+ msgstr "Reinicia un amfitrió"
142
+
143
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:187
130
144
  msgid "Host reboot started"
131
145
  msgstr "S'ha iniciat el reinici de l'amfitrió"
132
146
 
133
- #: lib/hammer_cli_foreman_discovery/discovery.rb:134
147
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:188
134
148
  msgid "Could not reboot the host"
135
149
  msgstr "No s'ha pogut reiniciar l'amfitrió"
136
150
 
137
- #: lib/hammer_cli_foreman_discovery/discovery.rb:142
151
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:196
138
152
  msgid "Refresh the facts of a host"
139
153
  msgstr "Refresca els objectes d'interès d'un amfitrió"
140
154
 
141
- #: lib/hammer_cli_foreman_discovery/discovery.rb:143
155
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:197
142
156
  msgid "Host facts refreshed"
143
157
  msgstr "S'han refrescat els objectes d'interès de l'amfitrió"
144
158
 
145
- #: lib/hammer_cli_foreman_discovery/discovery.rb:144
159
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:198
146
160
  msgid "Could not refresh the facts of the host"
147
161
  msgstr "No s'ha pogut refrescar els objectes d'interès de l'amfitrió"
148
162
 
149
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:25
163
+ #: ../lib/hammer_cli_foreman_discovery/discovery_references.rb:6
164
+ msgid "Hosts"
165
+ msgstr "Amfitrions"
166
+
167
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:28
150
168
  msgid "Priority"
151
169
  msgstr "Prioritat"
152
170
 
153
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:26
171
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:29
154
172
  msgid "Search"
155
173
  msgstr "Cerca"
156
174
 
157
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:27
175
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:30
158
176
  msgid "Host Group"
159
177
  msgstr "Grup dels amfitrions"
160
178
 
161
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:28
179
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:31
162
180
  msgid "Hosts Limit"
163
181
  msgstr "Límit d'amfitrions"
164
182
 
165
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:29
183
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:32
166
184
  msgid "Enabled"
167
185
  msgstr "Habilitat"
168
186
 
169
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:38
187
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:41
170
188
  msgid "Hostname template"
171
189
  msgstr "Plantilla de nom d'amfitrió"
172
190
 
173
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:46
191
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:50
174
192
  msgid "Rule created"
175
193
  msgstr "S'ha creat la regla"
176
194
 
177
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:47
195
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:51
178
196
  msgid "Could not create the rule"
179
197
  msgstr "No s'ha pogut crear la regla"
180
198
 
181
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:54
199
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:58
182
200
  msgid "Rule updated"
183
201
  msgstr "S'ha actualitzat la regla"
184
202
 
185
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:55
203
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:59
186
204
  msgid "Could not update the rule"
187
205
  msgstr "No s'ha pogut actualitzar la regla"
188
206
 
189
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:62
207
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:66
190
208
  msgid "Rule deleted"
191
209
  msgstr "S'ha suprimit la regla"
192
210
 
193
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:63
211
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:67
194
212
  msgid "Could not delete the rule"
195
213
  msgstr "No s'ha pogut suprimir la regla"
196
-
197
- #: lib/hammer_cli_foreman_discovery.rb:7
198
- msgid "Manipulate discovered hosts."
199
- msgstr "Manipula els amfitrions descoberts."
200
-
201
- #: lib/hammer_cli_foreman_discovery.rb:11
202
- msgid "Manipulate discovered rules."
203
- msgstr "Manipula les regles descobertes."
@@ -6,7 +6,7 @@
6
6
  # Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2015
7
7
  msgid ""
8
8
  msgstr ""
9
- "Project-Id-Version: hammer_cli_foreman_discovery 0.0.2\n"
9
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
10
10
  "Report-Msgid-Bugs-To: \n"
11
11
  "PO-Revision-Date: 2015-12-09 11:08+0000\n"
12
12
  "Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>\n"
@@ -33,9 +33,6 @@ msgstr "Nom"
33
33
  msgid "MAC"
34
34
  msgstr "MAC"
35
35
 
36
- msgid "Last report"
37
- msgstr "Últim informe"
38
-
39
36
  msgid "CPUs"
40
37
  msgstr "Les CPU"
41
38
 
@@ -51,7 +48,7 @@ msgstr "Mida de disc"
51
48
  msgid "Subnet"
52
49
  msgstr "Subxarxa"
53
50
 
54
- msgid "Last Report"
51
+ msgid "Last report"
55
52
  msgstr "Últim informe"
56
53
 
57
54
  msgid "IP"
@@ -96,9 +93,23 @@ msgstr "Introduïu la contrasenya de root per a l'amfitrió:"
96
93
  msgid "Auto provision a host"
97
94
  msgstr "Auto aprovisiona un amfitrió"
98
95
 
96
+ msgid "Auto provision all discovered hosts"
97
+ msgstr ""
98
+
99
+ #, fuzzy
100
+ msgid "Hosts created"
101
+ msgstr "S'ha creat l'amfitrió"
102
+
99
103
  msgid "Reboot a host"
100
104
  msgstr "Reinicia un amfitrió"
101
105
 
106
+ msgid "Reboot all discovered hosts"
107
+ msgstr ""
108
+
109
+ #, fuzzy
110
+ msgid "Rebooting hosts"
111
+ msgstr "Reinicia un amfitrió"
112
+
102
113
  msgid "Host reboot started"
103
114
  msgstr "S'ha iniciat el reinici de l'amfitrió"
104
115
 
@@ -1,204 +1,213 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
3
  # This file is distributed under the same license as the PACKAGE package.
4
- #
4
+ #
5
5
  # Translators:
6
6
  # Christina Gurski <Gurski_christina@yahoo.de>, 2015
7
7
  # Ettore Atalan <atalanttore@googlemail.com>, 2015
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: Foreman\n"
10
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "POT-Creation-Date: 2015-03-19 15:06+0200\n"
13
- "PO-Revision-Date: 2016-08-22 15:07+0000\n"
14
- "Last-Translator: Bryan Kearney <bryan.kearney@gmail.com>\n"
12
+ "PO-Revision-Date: 2015-06-18 19:38+0000\n"
13
+ "Last-Translator: Christina Gurski <Gurski_christina@yahoo.de>\n"
15
14
  "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
15
+ "Language: de\n"
16
16
  "MIME-Version: 1.0\n"
17
17
  "Content-Type: text/plain; charset=UTF-8\n"
18
18
  "Content-Transfer-Encoding: 8bit\n"
19
- "Language: de\n"
20
19
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
21
20
 
22
- #: lib/hammer_cli_foreman_discovery/discovery_references.rb:6
23
- msgid "Hosts"
24
- msgstr "Hosts"
21
+ #: ../lib/hammer_cli_foreman_discovery.rb:7
22
+ msgid "Manipulate discovered hosts."
23
+ msgstr "Entdeckte Hosts bearbeiten"
25
24
 
26
- #: lib/hammer_cli_foreman_discovery/discovery.rb:12
27
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:23
25
+ #: ../lib/hammer_cli_foreman_discovery.rb:11
26
+ msgid "Manipulate discovered rules."
27
+ msgstr "Entdeckte Regeln bearbeiten"
28
+
29
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:16 ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:26
28
30
  msgid "ID"
29
31
  msgstr "Kennung"
30
32
 
31
- #: lib/hammer_cli_foreman_discovery/discovery.rb:13
32
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:24
33
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:17 ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:27
33
34
  msgid "Name"
34
35
  msgstr "Name"
35
36
 
36
- #: lib/hammer_cli_foreman_discovery/discovery.rb:14
37
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:18
37
38
  msgid "MAC"
38
39
  msgstr "MAC"
39
40
 
40
- #: lib/hammer_cli_foreman_discovery/discovery.rb:15
41
- msgid "Last report"
42
- msgstr "Letzter Bericht"
43
-
44
- #: lib/hammer_cli_foreman_discovery/discovery.rb:16
41
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:19
45
42
  msgid "CPUs"
46
43
  msgstr "CPUs"
47
44
 
48
- #: lib/hammer_cli_foreman_discovery/discovery.rb:17
45
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:20
49
46
  msgid "Memory"
50
47
  msgstr "Speicher"
51
48
 
52
- #: lib/hammer_cli_foreman_discovery/discovery.rb:18
49
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:21
53
50
  msgid "Disk count"
54
51
  msgstr "Festplattenanzahl"
55
52
 
56
- #: lib/hammer_cli_foreman_discovery/discovery.rb:19
53
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:22
57
54
  msgid "Disks size"
58
55
  msgstr "Festplattengröße"
59
56
 
60
- #: lib/hammer_cli_foreman_discovery/discovery.rb:20
57
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:23
61
58
  msgid "Subnet"
62
59
  msgstr "Subnetz"
63
60
 
64
- #: lib/hammer_cli_foreman_discovery/discovery.rb:21
65
- msgid "Last Report"
61
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:24
62
+ msgid "Last report"
66
63
  msgstr "Letzter Bericht"
67
64
 
68
- #: lib/hammer_cli_foreman_discovery/discovery.rb:29
65
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:32
69
66
  msgid "IP"
70
67
  msgstr "IP"
71
68
 
72
- #: lib/hammer_cli_foreman_discovery/discovery.rb:30
69
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:33
73
70
  msgid "Model"
74
71
  msgstr "Modell"
75
72
 
76
- #: lib/hammer_cli_foreman_discovery/discovery.rb:31
73
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:34
77
74
  msgid "Organization"
78
75
  msgstr "Organisation"
79
76
 
80
- #: lib/hammer_cli_foreman_discovery/discovery.rb:32
77
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:35
81
78
  msgid "Location"
82
- msgstr "Standort"
79
+ msgstr "Ort"
83
80
 
84
- #: lib/hammer_cli_foreman_discovery/discovery.rb:42
81
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:48
85
82
  msgid "Fact"
86
83
  msgstr "Fakt"
87
84
 
88
- #: lib/hammer_cli_foreman_discovery/discovery.rb:43
85
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:49
89
86
  msgid "Value"
90
87
  msgstr "Wert"
91
88
 
92
- #: lib/hammer_cli_foreman_discovery/discovery.rb:60
89
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:66
93
90
  msgid "Host deleted"
94
91
  msgstr "Host gelöscht"
95
92
 
96
- #: lib/hammer_cli_foreman_discovery/discovery.rb:61
93
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:67
97
94
  msgid "Could not delete the host"
98
95
  msgstr "Host konnte nicht gelöscht werden"
99
96
 
100
- #: lib/hammer_cli_foreman_discovery/discovery.rb:69
101
- #: lib/hammer_cli_foreman_discovery/discovery.rb:123
97
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:75 ../lib/hammer_cli_foreman_discovery/discovery.rb:157
102
98
  msgid "Host created"
103
99
  msgstr "Host erstellt"
104
100
 
105
- #: lib/hammer_cli_foreman_discovery/discovery.rb:70
106
- #: lib/hammer_cli_foreman_discovery/discovery.rb:124
101
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:76 ../lib/hammer_cli_foreman_discovery/discovery.rb:158
107
102
  msgid "Could not create the host"
108
103
  msgstr "Host konnte nicht erstellt werden"
109
104
 
110
- #: lib/hammer_cli_foreman_discovery/discovery.rb:88
105
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:96
111
106
  msgid "Host parameters"
112
107
  msgstr "Hostparameter"
113
108
 
114
- #: lib/hammer_cli_foreman_discovery/discovery.rb:90
109
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:98
115
110
  msgid "Interface parameters"
116
111
  msgstr "Schnittstellenparameter"
117
112
 
118
- #: lib/hammer_cli_foreman_discovery/discovery.rb:99
113
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:107
119
114
  msgid "Enter the root password for the host:"
120
115
  msgstr "Geben Sie das Root-Passwort für den Host ein:"
121
116
 
122
- #: lib/hammer_cli_foreman_discovery/discovery.rb:122
117
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:143
123
118
  msgid "Auto provision a host"
124
119
  msgstr "Host automatisch bereitstellen"
125
120
 
126
- #: lib/hammer_cli_foreman_discovery/discovery.rb:132
121
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:145
122
+ msgid "Auto provision all discovered hosts"
123
+ msgstr ""
124
+
125
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:150
126
+ #, fuzzy
127
+ msgid "Hosts created"
128
+ msgstr "Host erstellt"
129
+
130
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:166
127
131
  msgid "Reboot a host"
128
- msgstr "Host neustarten"
132
+ msgstr "Host neu starten"
133
+
134
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:168
135
+ msgid "Reboot all discovered hosts"
136
+ msgstr ""
129
137
 
130
- #: lib/hammer_cli_foreman_discovery/discovery.rb:133
138
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:174
139
+ #, fuzzy
140
+ msgid "Rebooting hosts"
141
+ msgstr "Host neu starten"
142
+
143
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:187
131
144
  msgid "Host reboot started"
132
145
  msgstr "Host wird neu gestartet"
133
146
 
134
- #: lib/hammer_cli_foreman_discovery/discovery.rb:134
147
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:188
135
148
  msgid "Could not reboot the host"
136
149
  msgstr "Host konnte nicht neu gestartet werden"
137
150
 
138
- #: lib/hammer_cli_foreman_discovery/discovery.rb:142
151
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:196
139
152
  msgid "Refresh the facts of a host"
140
153
  msgstr "Aktualisieren Sie die Daten eines Hosts"
141
154
 
142
- #: lib/hammer_cli_foreman_discovery/discovery.rb:143
155
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:197
143
156
  msgid "Host facts refreshed"
144
157
  msgstr "Hostdaten aktualisiert"
145
158
 
146
- #: lib/hammer_cli_foreman_discovery/discovery.rb:144
159
+ #: ../lib/hammer_cli_foreman_discovery/discovery.rb:198
147
160
  msgid "Could not refresh the facts of the host"
148
161
  msgstr "Daten des Hosts konnten nicht aktualisiert werden"
149
162
 
150
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:25
163
+ #: ../lib/hammer_cli_foreman_discovery/discovery_references.rb:6
164
+ msgid "Hosts"
165
+ msgstr "Hosts"
166
+
167
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:28
151
168
  msgid "Priority"
152
169
  msgstr "Priorität"
153
170
 
154
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:26
171
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:29
155
172
  msgid "Search"
156
173
  msgstr "Suche"
157
174
 
158
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:27
175
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:30
159
176
  msgid "Host Group"
160
177
  msgstr "Hostgruppe"
161
178
 
162
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:28
179
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:31
163
180
  msgid "Hosts Limit"
164
181
  msgstr "Hosts-Limit"
165
182
 
166
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:29
183
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:32
167
184
  msgid "Enabled"
168
185
  msgstr "Aktiviert"
169
186
 
170
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:38
187
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:41
171
188
  msgid "Hostname template"
172
189
  msgstr "Hostnamenvorlage"
173
190
 
174
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:46
191
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:50
175
192
  msgid "Rule created"
176
193
  msgstr "Regel erstellt"
177
194
 
178
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:47
195
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:51
179
196
  msgid "Could not create the rule"
180
197
  msgstr "Regel konnte nicht erstellt werden"
181
198
 
182
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:54
199
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:58
183
200
  msgid "Rule updated"
184
201
  msgstr "Regel aktualisiert"
185
202
 
186
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:55
203
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:59
187
204
  msgid "Could not update the rule"
188
205
  msgstr "Regel konnte nicht aktualisiert werden"
189
206
 
190
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:62
207
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:66
191
208
  msgid "Rule deleted"
192
209
  msgstr "Regel gelöscht"
193
210
 
194
- #: lib/hammer_cli_foreman_discovery/discovery_rule.rb:63
211
+ #: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:67
195
212
  msgid "Could not delete the rule"
196
213
  msgstr "Regel konnte nicht gelöscht werden"
197
-
198
- #: lib/hammer_cli_foreman_discovery.rb:7
199
- msgid "Manipulate discovered hosts."
200
- msgstr "Entdeckte Hosts bearbeiten"
201
-
202
- #: lib/hammer_cli_foreman_discovery.rb:11
203
- msgid "Manipulate discovered rules."
204
- msgstr "Entdeckte Regeln bearbeiten"