hammer_cli_foreman_discovery 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +5 -5
  2. data/lib/hammer_cli_foreman_discovery/command_extensions/provision_with_puppet.rb +75 -0
  3. data/lib/hammer_cli_foreman_discovery/discovery.rb +81 -29
  4. data/lib/hammer_cli_foreman_discovery/discovery_rule.rb +2 -3
  5. data/lib/hammer_cli_foreman_discovery/version.rb +1 -1
  6. data/locale/Makefile +3 -3
  7. data/locale/ca/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  8. data/locale/ca/hammer_cli_foreman_discovery.po +16 -5
  9. data/locale/de/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  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.po +14 -5
  13. data/locale/en_GB/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  14. data/locale/en_GB/hammer_cli_foreman_discovery.po +17 -6
  15. data/locale/es/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  16. data/locale/es/hammer_cli_foreman_discovery.po +16 -5
  17. data/locale/fr/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  18. data/locale/fr/hammer_cli_foreman_discovery.po +16 -5
  19. data/locale/hammer_cli_foreman_discovery.pot +76 -64
  20. data/locale/it/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  21. data/locale/it/hammer_cli_foreman_discovery.po +17 -6
  22. data/locale/ja/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  23. data/locale/ja/hammer_cli_foreman_discovery.po +17 -6
  24. data/locale/ko/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  25. data/locale/ko/hammer_cli_foreman_discovery.po +16 -5
  26. data/locale/pt_BR/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  27. data/locale/pt_BR/hammer_cli_foreman_discovery.po +17 -6
  28. data/locale/ru/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  29. data/locale/ru/hammer_cli_foreman_discovery.po +16 -5
  30. data/locale/zh_CN/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  31. data/locale/zh_CN/hammer_cli_foreman_discovery.po +17 -6
  32. data/locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  33. data/locale/zh_TW/hammer_cli_foreman_discovery.po +16 -5
  34. metadata +5 -31
  35. data/locale/ca/hammer_cli_foreman_discovery.edit.po +0 -203
  36. data/locale/ca/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  37. data/locale/de/hammer_cli_foreman_discovery.edit.po +0 -204
  38. data/locale/de/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  39. data/locale/en/hammer_cli_foreman_discovery.edit.po +0 -197
  40. data/locale/en/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  41. data/locale/en_GB/hammer_cli_foreman_discovery.edit.po +0 -204
  42. data/locale/en_GB/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  43. data/locale/es/hammer_cli_foreman_discovery.edit.po +0 -203
  44. data/locale/es/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  45. data/locale/fr/hammer_cli_foreman_discovery.edit.po +0 -203
  46. data/locale/fr/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  47. data/locale/it/hammer_cli_foreman_discovery.edit.po +0 -202
  48. data/locale/it/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  49. data/locale/ja/hammer_cli_foreman_discovery.edit.po +0 -203
  50. data/locale/ja/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  51. data/locale/ko/hammer_cli_foreman_discovery.edit.po +0 -202
  52. data/locale/ko/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  53. data/locale/pt_BR/hammer_cli_foreman_discovery.edit.po +0 -204
  54. data/locale/pt_BR/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  55. data/locale/ru/hammer_cli_foreman_discovery.edit.po +0 -203
  56. data/locale/ru/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  57. data/locale/zh_CN/hammer_cli_foreman_discovery.edit.po +0 -202
  58. data/locale/zh_CN/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  59. data/locale/zh_TW/hammer_cli_foreman_discovery.edit.po +0 -202
  60. data/locale/zh_TW/hammer_cli_foreman_discovery.po.time_stamp +0 -0
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: 1fa956f4e49d7c7f08a0247b19cc7d46d94d846619414fc5eb17d4cd14ac17b2
4
+ data.tar.gz: af290183d21f293438b5cbc26cb73b0dcac8ea158ba299d317bcfeffffb2f762
5
5
  SHA512:
6
- metadata.gz: 52e9d9d328eb8bdb6808b2c4a87a1802a84b6afb6e80eadd6a9eba4c913e6cf376079f16390b86e1526fd66e70979dbc380d47438260f3949dc39dd50b1b8a64
7
- data.tar.gz: 74c02e4bdef7b46ad99b4cf8e959a21c0659781b83102cd3fabab27731a2e950efe5d69733873f319fdfff325fcf1ca72f45e7220446363f34da048ff4a39a2f
6
+ metadata.gz: 4b54eccacc899401a60536779b497c45ccfda5c00b294fd299524582d785dd25a4ab236bb700819e067cd6857a324214975a0b2a45f55646999f6046160af442
7
+ data.tar.gz: 0da72b2913c96166c17f278730a74e0b1b6e16ff97004bd8bd65610abce9ba6fa9b8e07cccba51289507dbc7a44e9a442366184dc2b66916c50278203d45bed2
@@ -0,0 +1,75 @@
1
+ module HammerCLIForemanDiscovery
2
+ module CommandExtensions
3
+ class ProvisionWithPuppet < HammerCLI::CommandExtensions
4
+ option_family(
5
+ format: HammerCLI::Options::Normalizers::List.new,
6
+ aliased_resource: 'puppet-class',
7
+ description: 'Names/Ids of associated Puppet classes'
8
+ ) do
9
+ parent '--puppet-class-ids', 'PUPPET_CLASS_IDS', _('List of Puppet class ids'),
10
+ attribute_name: :option_puppetclass_ids
11
+ child '--puppet-classes', 'PUPPET_CLASS_NAMES', '',
12
+ attribute_name: :option_puppetclass_names
13
+ end
14
+
15
+ # TODO: Until the API is cleaned up
16
+ option_family(
17
+ aliased_resource: 'environment',
18
+ description: _('Puppet environment. Required if host is managed and value is not inherited from host group'),
19
+ deprecation: _("Use %s instead") % '--puppet-environment[-id]',
20
+ deprecated: { '--environment' => _("Use %s instead") % '--puppet-environment[-id]',
21
+ '--environment-id' => _("Use %s instead") % '--puppet-environment[-id]'}
22
+ ) do
23
+ parent '--environment-id', 'ENVIRONMENT_ID', _(''),
24
+ format: HammerCLI::Options::Normalizers::Number.new,
25
+ attribute_name: :option_environment_id
26
+ child '--environment', 'ENVIRONMENT_NAME', _('Environment name'),
27
+ attribute_name: :option_environment_name
28
+ end
29
+
30
+ option_family(
31
+ aliased_resource: 'puppet_proxy'
32
+ ) do
33
+ parent '--puppet-proxy-id', 'PUPPET_PROXY_ID', _(''),
34
+ format: HammerCLI::Options::Normalizers::Number.new,
35
+ attribute_name: :option_puppet_proxy_id
36
+
37
+ end
38
+ option_family(
39
+ aliased_resource: 'puppet_ca_proxy'
40
+ ) do
41
+ parent '--puppet-ca-proxy-id', 'PUPPET_CA_PROXY_ID', _(''),
42
+ format: HammerCLI::Options::Normalizers::Number.new,
43
+ attribute_name: :option_puppet_ca_proxy_id
44
+
45
+ end
46
+
47
+ request_params do |params, command_object|
48
+ if command_object.option_puppet_proxy
49
+ params['discovered_host']['puppet_proxy_id'] ||= HammerCLIForemanPuppet::CommandExtensions::HostPuppetProxy.proxy_id(
50
+ command_object.resolver, command_object.option_puppet_proxy
51
+ )
52
+ end
53
+ if command_object.option_puppet_ca_proxy
54
+ params['discovered_host']['puppet_ca_proxy_id'] ||= HammerCLIForemanPuppet::CommandExtensions::HostPuppetProxy.proxy_id(
55
+ command_object.resolver, command_object.option_puppet_ca_proxy
56
+ )
57
+ end
58
+ if command_object.option_puppetclass_ids
59
+ params['discovered_host']['puppet_attributes'] ||= {}
60
+ params['discovered_host']['puppet_attributes']['puppetclass_ids'] ||= command_object.option_puppetclass_ids
61
+ end
62
+ if command_object.option_puppetclass_names
63
+ params['discovered_host']['puppet_attributes'] ||= {}
64
+ params['discovered_host']['puppet_attributes']['puppetclass_ids'] ||= command_object.resolver.puppetclass_ids(
65
+ 'option_names' => command_object.option_puppetclass_names
66
+ )
67
+ end
68
+ if params['discovered_host']['environment_id']
69
+ params['discovered_host']['puppet_attributes'] ||= {}
70
+ params['discovered_host']['puppet_attributes']['environment_id'] = params['discovered_host'].delete('environment_id')
71
+ end
72
+ end
73
+ end
74
+ end
75
+ end
@@ -75,33 +75,25 @@ module HammerCLIForemanDiscovery
75
75
  success_message _("Host created")
76
76
  failure_message _("Could not create the host")
77
77
 
78
- def self.build_options
79
- option "--partition-table-id", "PARTITION_TABLE_ID", " "
80
- option "--root-password", "ROOT_PW", " "
81
- option "--ask-root-password", "ASK_ROOT_PW", " ",
82
- :format => HammerCLI::Options::Normalizers::Bool.new
83
- option "--puppetclass-ids", "PUPPETCLASS_IDS", " ",
84
- :format => HammerCLI::Options::Normalizers::List.new
85
-
86
- bool_format = {}
87
- bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
88
- option "--managed", "MANAGED", " ", bool_format
89
- bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
90
- option "--build", "BUILD", " ", bool_format
91
- bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
92
- option "--enabled", "ENABLED", " ", bool_format
93
- bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
94
- option "--overwrite", "OVERWRITE", " ", bool_format
95
-
96
- option "--parameters", "PARAMS", _("Host parameters"),
97
- :format => HammerCLI::Options::Normalizers::KeyValueList.new
98
- option "--interface", "INTERFACE", _("Interface parameters"), :multivalued => true,
99
- :format => HammerCLI::Options::Normalizers::KeyValueList.new
100
- option "--provision-method", "METHOD", " ",
101
- :format => HammerCLI::Options::Normalizers::Enum.new(['build', 'image'])
102
-
103
- super :without => [:root_pass, :ptable_id, :puppet_class_ids]
104
- end
78
+ option "--root-password", "ROOT_PW", " "
79
+ option "--ask-root-password", "ASK_ROOT_PW", " ",
80
+ :format => HammerCLI::Options::Normalizers::Bool.new
81
+ bool_format = {}
82
+ bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
83
+ option "--managed", "MANAGED", " ", bool_format
84
+ bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
85
+ option "--build", "BUILD", " ", bool_format
86
+ bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
87
+ option "--enabled", "ENABLED", " ", bool_format
88
+ bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
89
+ option "--overwrite", "OVERWRITE", " ", bool_format
90
+
91
+ option "--parameters", "PARAMS", _("Host parameters"),
92
+ :format => HammerCLI::Options::Normalizers::KeyValueList.new
93
+ option "--interface", "INTERFACE", _("Interface parameters"), :multivalued => true,
94
+ :format => HammerCLI::Options::Normalizers::KeyValueList.new
95
+ option "--provision-method", "METHOD", " ",
96
+ :format => HammerCLI::Options::Normalizers::Enum.new(['build', 'image'])
105
97
 
106
98
  def ask_password
107
99
  prompt = _("Enter the root password for the host:") + '_'
@@ -111,7 +103,8 @@ module HammerCLIForemanDiscovery
111
103
  def request_params
112
104
  params = super
113
105
 
114
- params['discovered_host']['ptable_id'] = option_partition_table_id unless option_partition_table_id.nil?
106
+ params['discovered_host']['host_parameters_attributes'] = parameter_attributes
107
+ params['discovered_host']['ptable_id'] = option_ptable_id unless option_ptable_id.nil?
115
108
  params['discovered_host']['root_pass'] = option_root_password unless option_root_password.nil?
116
109
  params['discovered_host']['overwrite'] = option_overwrite unless option_overwrite.nil?
117
110
 
@@ -122,13 +115,52 @@ module HammerCLIForemanDiscovery
122
115
  params
123
116
  end
124
117
 
125
- build_options
118
+ def parameter_attributes
119
+ return {} unless option_parameters
120
+ option_parameters.collect do |key, value|
121
+ if value.is_a? String
122
+ {"name"=>key, "value"=>value}
123
+ else
124
+ {"name"=>key, "value"=>value.inspect}
125
+ end
126
+ end
127
+ end
128
+
129
+ build_options without: %i[
130
+ root_pass ptable_id host_parameters_attributes
131
+ puppet_class_ids environment_id puppet_proxy_id puppet_ca_proxy_id
132
+ ] do |o|
133
+ # TODO: Until the API is cleaned up
134
+ o.expand.except(:environments)
135
+ end
136
+
137
+ if defined?(HammerCLIForemanPuppet)
138
+ require 'hammer_cli_foreman_discovery/command_extensions/provision_with_puppet'
139
+ extend_with(HammerCLIForemanDiscovery::CommandExtensions::ProvisionWithPuppet.new)
140
+ require 'hammer_cli_foreman_puppet/command_extensions/environment'
141
+ require 'hammer_cli_foreman_puppet/command_extensions/host'
142
+ extend_with(HammerCLIForemanPuppet::CommandExtensions::PuppetEnvironment.new)
143
+ extend_with(HammerCLIForemanPuppet::CommandExtensions::HostPuppetProxy.new(only: :option_family))
144
+ end
126
145
  end
127
146
 
128
147
  class AutoProvisionCommand < HammerCLIForeman::SingleResourceCommand
129
148
  action :auto_provision
130
149
  command_name "auto-provision"
131
150
  desc _("Auto provision a host")
151
+
152
+ option '--all', :flag, _("Auto provision all discovered hosts")
153
+
154
+ def execute
155
+ if option_all?
156
+ resource.call(:auto_provision_all, {})
157
+ print_message _("Hosts created")
158
+ HammerCLI::EX_OK
159
+ else
160
+ super
161
+ end
162
+ end
163
+
132
164
  success_message _("Host created")
133
165
  failure_message _("Could not create the host")
134
166
 
@@ -139,6 +171,26 @@ module HammerCLIForemanDiscovery
139
171
  action :reboot
140
172
  command_name "reboot"
141
173
  desc _("Reboot a host")
174
+
175
+ option '--all', :flag, _("Reboot all discovered hosts")
176
+
177
+ def execute
178
+ if option_all?
179
+ begin
180
+ resource.call(:reboot_all, {})
181
+ print_message _("Rebooting hosts")
182
+ HammerCLI::EX_OK
183
+ rescue RestClient::UnprocessableEntity => error
184
+ response = JSON.parse(error.response)
185
+ response = HammerCLIForeman.record_to_common_format(response) unless response.has_key?('message')
186
+ output.print_error(response['host_details'].map {|i| i['name'] + ": " + i['error'] }.join("\n"))
187
+ HammerCLI::EX_DATAERR
188
+ end
189
+ else
190
+ super
191
+ end
192
+ end
193
+
142
194
  success_message _("Host reboot started")
143
195
  failure_message _("Could not reboot the host")
144
196
 
@@ -10,7 +10,8 @@ module HammerCLIForemanDiscovery
10
10
  module CommonDiscoveryRuleUpdateOptions
11
11
 
12
12
  def self.included(base)
13
- base.option "--hosts-limit", "HOSTS_LIMIT", " ", :attribute_name => :option_max_count
13
+ base.option "--hosts-limit", "HOSTS_LIMIT", _("Enables to limit maximum amount of provisioned hosts per rule"),
14
+ :attribute_name => :option_max_count
14
15
  base.build_options :without => :max_count
15
16
  end
16
17
 
@@ -51,7 +52,6 @@ module HammerCLIForemanDiscovery
51
52
  failure_message _("Could not create the rule")
52
53
 
53
54
  include HammerCLIForemanDiscovery::CommonDiscoveryRuleUpdateOptions
54
- build_options
55
55
  end
56
56
 
57
57
  class UpdateCommand < HammerCLIForeman::UpdateCommand
@@ -59,7 +59,6 @@ module HammerCLIForemanDiscovery
59
59
  failure_message _("Could not update the rule")
60
60
 
61
61
  include HammerCLIForemanDiscovery::CommonDiscoveryRuleUpdateOptions
62
- build_options
63
62
  end
64
63
 
65
64
  class DeleteCommand < HammerCLIForeman::DeleteCommand
@@ -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.1.0')
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!
@@ -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
 
@@ -7,7 +7,7 @@
7
7
  # Ettore Atalan <atalanttore@googlemail.com>, 2015
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: hammer_cli_foreman_discovery 0.0.2\n"
10
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
12
  "PO-Revision-Date: 2015-06-18 19:38+0000\n"
13
13
  "Last-Translator: Christina Gurski <Gurski_christina@yahoo.de>\n"
@@ -33,9 +33,6 @@ msgstr "Name"
33
33
  msgid "MAC"
34
34
  msgstr "MAC"
35
35
 
36
- msgid "Last report"
37
- msgstr "Letzter Bericht"
38
-
39
36
  msgid "CPUs"
40
37
  msgstr "CPUs"
41
38
 
@@ -51,7 +48,7 @@ msgstr "Festplattengröße"
51
48
  msgid "Subnet"
52
49
  msgstr "Subnetz"
53
50
 
54
- msgid "Last Report"
51
+ msgid "Last report"
55
52
  msgstr "Letzter Bericht"
56
53
 
57
54
  msgid "IP"
@@ -96,9 +93,23 @@ msgstr "Geben Sie das Root-Passwort für den Host ein:"
96
93
  msgid "Auto provision a host"
97
94
  msgstr "Host automatisch bereitstellen"
98
95
 
96
+ msgid "Auto provision all discovered hosts"
97
+ msgstr ""
98
+
99
+ #, fuzzy
100
+ msgid "Hosts created"
101
+ msgstr "Host erstellt"
102
+
99
103
  msgid "Reboot a host"
100
104
  msgstr "Host neu starten"
101
105
 
106
+ msgid "Reboot all discovered hosts"
107
+ msgstr ""
108
+
109
+ #, fuzzy
110
+ msgid "Rebooting hosts"
111
+ msgstr "Host neu starten"
112
+
102
113
  msgid "Host reboot started"
103
114
  msgstr "Host wird neu gestartet"
104
115
 
@@ -5,7 +5,7 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer_cli_foreman_discovery 0.0.2\n"
8
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
10
  "PO-Revision-Date: 2015-01-21 12:06+0200\n"
11
11
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
@@ -31,9 +31,6 @@ msgstr ""
31
31
  msgid "MAC"
32
32
  msgstr ""
33
33
 
34
- msgid "Last report"
35
- msgstr ""
36
-
37
34
  msgid "CPUs"
38
35
  msgstr ""
39
36
 
@@ -49,7 +46,7 @@ msgstr ""
49
46
  msgid "Subnet"
50
47
  msgstr ""
51
48
 
52
- msgid "Last Report"
49
+ msgid "Last report"
53
50
  msgstr ""
54
51
 
55
52
  msgid "IP"
@@ -94,9 +91,21 @@ msgstr ""
94
91
  msgid "Auto provision a host"
95
92
  msgstr ""
96
93
 
94
+ msgid "Auto provision all discovered hosts"
95
+ msgstr ""
96
+
97
+ msgid "Hosts created"
98
+ msgstr ""
99
+
97
100
  msgid "Reboot a host"
98
101
  msgstr ""
99
102
 
103
+ msgid "Reboot all discovered hosts"
104
+ msgstr ""
105
+
106
+ msgid "Rebooting hosts"
107
+ msgstr ""
108
+
100
109
  msgid "Host reboot started"
101
110
  msgstr ""
102
111
 
@@ -7,7 +7,7 @@
7
7
  # Dominic Cleal <dcleal@redhat.com>, 2015
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: hammer_cli_foreman_discovery 0.0.2\n"
10
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
12
  "PO-Revision-Date: 2015-05-28 23:40+0000\n"
13
13
  "Last-Translator: Andi Chandler <andi@gowling.com>\n"
@@ -34,9 +34,6 @@ msgstr "Name"
34
34
  msgid "MAC"
35
35
  msgstr "MAC"
36
36
 
37
- msgid "Last report"
38
- msgstr "Last report"
39
-
40
37
  msgid "CPUs"
41
38
  msgstr "CPUs"
42
39
 
@@ -52,8 +49,8 @@ msgstr "Disks size"
52
49
  msgid "Subnet"
53
50
  msgstr "Subnet"
54
51
 
55
- msgid "Last Report"
56
- msgstr "Last Report"
52
+ msgid "Last report"
53
+ msgstr "Last report"
57
54
 
58
55
  msgid "IP"
59
56
  msgstr "IP"
@@ -97,9 +94,23 @@ msgstr "Enter the root password for the host:"
97
94
  msgid "Auto provision a host"
98
95
  msgstr "Auto provision a host"
99
96
 
97
+ msgid "Auto provision all discovered hosts"
98
+ msgstr ""
99
+
100
+ #, fuzzy
101
+ msgid "Hosts created"
102
+ msgstr "Host created"
103
+
100
104
  msgid "Reboot a host"
101
105
  msgstr "Reboot a host"
102
106
 
107
+ msgid "Reboot all discovered hosts"
108
+ msgstr ""
109
+
110
+ #, fuzzy
111
+ msgid "Rebooting hosts"
112
+ msgstr "Reboot a host"
113
+
103
114
  msgid "Host reboot started"
104
115
  msgstr "Host reboot started"
105
116
 
@@ -6,7 +6,7 @@
6
6
  # Sergio Ocón <sergio.ocon@redhat.com>, 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-05-19 09:24+0000\n"
12
12
  "Last-Translator: Sergio Ocón <sergio.ocon@redhat.com>\n"
@@ -33,9 +33,6 @@ msgstr "Nombre"
33
33
  msgid "MAC"
34
34
  msgstr "Dirección MAC"
35
35
 
36
- msgid "Last report"
37
- msgstr "Último informe"
38
-
39
36
  msgid "CPUs"
40
37
  msgstr "Procesadores"
41
38
 
@@ -51,7 +48,7 @@ msgstr "Tamaño de discos"
51
48
  msgid "Subnet"
52
49
  msgstr "Subred"
53
50
 
54
- msgid "Last Report"
51
+ msgid "Last report"
55
52
  msgstr "Último informe"
56
53
 
57
54
  msgid "IP"
@@ -96,9 +93,23 @@ msgstr "Introduzca el password de root para el host:"
96
93
  msgid "Auto provision a host"
97
94
  msgstr "Provisionar un host automático"
98
95
 
96
+ msgid "Auto provision all discovered hosts"
97
+ msgstr ""
98
+
99
+ #, fuzzy
100
+ msgid "Hosts created"
101
+ msgstr "El host se ha creado"
102
+
99
103
  msgid "Reboot a host"
100
104
  msgstr "Reiniciar un host"
101
105
 
106
+ msgid "Reboot all discovered hosts"
107
+ msgstr ""
108
+
109
+ #, fuzzy
110
+ msgid "Rebooting hosts"
111
+ msgstr "Reiniciar un host"
112
+
102
113
  msgid "Host reboot started"
103
114
  msgstr "Comenzó el reinicio del host"
104
115
 
@@ -6,7 +6,7 @@
6
6
  # Claer <transiblu@claer.hammock.fr>, 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-03-21 22:02+0000\n"
12
12
  "Last-Translator: Claer <transiblu@claer.hammock.fr>\n"
@@ -32,9 +32,6 @@ msgstr "Nom"
32
32
  msgid "MAC"
33
33
  msgstr "MAC"
34
34
 
35
- msgid "Last report"
36
- msgstr "Dernier rapport"
37
-
38
35
  msgid "CPUs"
39
36
  msgstr "CPUs"
40
37
 
@@ -50,7 +47,7 @@ msgstr "Taille des disques"
50
47
  msgid "Subnet"
51
48
  msgstr "Sous-Réseau"
52
49
 
53
- msgid "Last Report"
50
+ msgid "Last report"
54
51
  msgstr "Dernier rapport"
55
52
 
56
53
  msgid "IP"
@@ -95,9 +92,23 @@ msgstr "Saisir le mot de passe root de l'hôte :"
95
92
  msgid "Auto provision a host"
96
93
  msgstr "Provisionner un hôte automatiquement"
97
94
 
95
+ msgid "Auto provision all discovered hosts"
96
+ msgstr ""
97
+
98
+ #, fuzzy
99
+ msgid "Hosts created"
100
+ msgstr "Hôte créé"
101
+
98
102
  msgid "Reboot a host"
99
103
  msgstr "Redémarrage d'un hôte"
100
104
 
105
+ msgid "Reboot all discovered hosts"
106
+ msgstr ""
107
+
108
+ #, fuzzy
109
+ msgid "Rebooting hosts"
110
+ msgstr "Redémarrage d'un hôte"
111
+
101
112
  msgid "Host reboot started"
102
113
  msgstr "Redémarrage de l'hôte lancé"
103
114