hammer_cli_foreman_discovery 1.2.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/hammer_cli_foreman_discovery/command_extensions/provision_with_puppet.rb +3 -3
- data/lib/hammer_cli_foreman_discovery/discovery.rb +17 -21
- data/lib/hammer_cli_foreman_discovery/discovery_references.rb +3 -2
- data/lib/hammer_cli_foreman_discovery/discovery_rule.rb +2 -6
- data/lib/hammer_cli_foreman_discovery/i18n.rb +3 -4
- data/lib/hammer_cli_foreman_discovery/version.rb +3 -1
- data/lib/hammer_cli_foreman_discovery.rb +6 -7
- data/locale/ca/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/ca/hammer_cli_foreman_discovery.po +1 -1
- data/locale/cs_CZ/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/cs_CZ/hammer_cli_foreman_discovery.po +1 -1
- data/locale/de/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/de/hammer_cli_foreman_discovery.po +1 -1
- data/locale/en/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/en/hammer_cli_foreman_discovery.po +1 -1
- data/locale/en_GB/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/en_GB/hammer_cli_foreman_discovery.po +1 -1
- data/locale/es/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/es/hammer_cli_foreman_discovery.po +3 -3
- data/locale/fr/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/fr/hammer_cli_foreman_discovery.po +6 -4
- data/locale/it/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/it/hammer_cli_foreman_discovery.po +1 -1
- data/locale/ja/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/ja/hammer_cli_foreman_discovery.po +1 -1
- data/locale/ka/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/ka/hammer_cli_foreman_discovery.po +1 -1
- data/locale/ko/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/ko/hammer_cli_foreman_discovery.po +13 -13
- data/locale/pt_BR/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/pt_BR/hammer_cli_foreman_discovery.po +1 -1
- data/locale/ru/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/ru/hammer_cli_foreman_discovery.po +4 -4
- data/locale/zh_CN/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/zh_CN/hammer_cli_foreman_discovery.po +1 -1
- data/locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
- data/locale/zh_TW/hammer_cli_foreman_discovery.po +1 -1
- metadata +15 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2136f373f31218b6fa7f15fce18eb87f28c9d9065ae142340bfffd0019fa069e
|
4
|
+
data.tar.gz: e8420f46b1fd21c241d00b18a67537be926d0bd9a069c33871af20d9a1002ba7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 172cbd67a5d87a5c359080b69fb0fe6937717c60bdf0a78e8aabf5eb9f53dac2e606485c89c25357e31b871090f91f6e4c2ac337d1eb0fbed7ea7869d33a1bee
|
7
|
+
data.tar.gz: ddd391539737c8fc97a3d8e1a00e859b4198cf92482dc7cc8d14b8846b5a9ef81f0807a52c5a3947ddc3af44fca528e81b17f3cf350b0c5cffbbbdf82454576f
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module HammerCLIForemanDiscovery
|
2
4
|
module CommandExtensions
|
3
5
|
class ProvisionWithPuppet < HammerCLI::CommandExtensions
|
@@ -18,7 +20,7 @@ module HammerCLIForemanDiscovery
|
|
18
20
|
description: _('Puppet environment. Required if host is managed and value is not inherited from host group'),
|
19
21
|
deprecation: _("Use %s instead") % '--puppet-environment[-id]',
|
20
22
|
deprecated: { '--environment' => _("Use %s instead") % '--puppet-environment[-id]',
|
21
|
-
'--environment-id' => _("Use %s instead") % '--puppet-environment[-id]'}
|
23
|
+
'--environment-id' => _("Use %s instead") % '--puppet-environment[-id]' }
|
22
24
|
) do
|
23
25
|
parent '--environment-id', 'ENVIRONMENT_ID', _(''),
|
24
26
|
format: HammerCLI::Options::Normalizers::Number.new,
|
@@ -33,7 +35,6 @@ module HammerCLIForemanDiscovery
|
|
33
35
|
parent '--puppet-proxy-id', 'PUPPET_PROXY_ID', _(''),
|
34
36
|
format: HammerCLI::Options::Normalizers::Number.new,
|
35
37
|
attribute_name: :option_puppet_proxy_id
|
36
|
-
|
37
38
|
end
|
38
39
|
option_family(
|
39
40
|
aliased_resource: 'puppet_ca_proxy'
|
@@ -41,7 +42,6 @@ module HammerCLIForemanDiscovery
|
|
41
42
|
parent '--puppet-ca-proxy-id', 'PUPPET_CA_PROXY_ID', _(''),
|
42
43
|
format: HammerCLI::Options::Normalizers::Number.new,
|
43
44
|
attribute_name: :option_puppet_ca_proxy_id
|
44
|
-
|
45
45
|
end
|
46
46
|
|
47
47
|
request_params do |params, command_object|
|
@@ -1,14 +1,15 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'hammer_cli'
|
2
4
|
require 'hammer_cli_foreman'
|
3
5
|
require 'hammer_cli_foreman/fact'
|
4
6
|
|
5
7
|
module HammerCLIForemanDiscovery
|
6
8
|
def self.exception_handler_class
|
7
|
-
|
9
|
+
HammerCLIForeman::ExceptionHandler
|
8
10
|
end
|
9
11
|
|
10
12
|
class DiscoveredHost < HammerCLIForeman::Command
|
11
|
-
|
12
13
|
resource :discovered_hosts
|
13
14
|
|
14
15
|
class ListCommand < HammerCLIForeman::ListCommand
|
@@ -38,7 +39,6 @@ module HammerCLIForemanDiscovery
|
|
38
39
|
build_options
|
39
40
|
end
|
40
41
|
|
41
|
-
|
42
42
|
class FactsCommand < HammerCLIForeman::AssociatedResourceListCommand
|
43
43
|
command_name "facts"
|
44
44
|
resource :fact_values, :index
|
@@ -77,8 +77,8 @@ module HammerCLIForemanDiscovery
|
|
77
77
|
|
78
78
|
option "--root-password", "ROOT_PW", " "
|
79
79
|
option "--ask-root-password", "ASK_ROOT_PW", " ",
|
80
|
-
|
81
|
-
bool_format
|
80
|
+
:format => HammerCLI::Options::Normalizers::Bool.new
|
81
|
+
bool_format = {}
|
82
82
|
bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
|
83
83
|
option "--managed", "MANAGED", " ", bool_format
|
84
84
|
bool_format[:format] = HammerCLI::Options::Normalizers::Bool.new
|
@@ -89,14 +89,14 @@ module HammerCLIForemanDiscovery
|
|
89
89
|
option "--overwrite", "OVERWRITE", " ", bool_format
|
90
90
|
|
91
91
|
option "--parameters", "PARAMS", _("Host parameters"),
|
92
|
-
|
92
|
+
:format => HammerCLI::Options::Normalizers::KeyValueList.new
|
93
93
|
option "--interface", "INTERFACE", _("Interface parameters"), :multivalued => true,
|
94
|
-
|
94
|
+
:format => HammerCLI::Options::Normalizers::KeyValueList.new
|
95
95
|
option "--provision-method", "METHOD", " ",
|
96
|
-
|
96
|
+
:format => HammerCLI::Options::Normalizers::Enum.new(%w[build image])
|
97
97
|
|
98
98
|
def ask_password
|
99
|
-
prompt = _(
|
99
|
+
prompt = "#{_('Enter the root password for the host:')}_"
|
100
100
|
ask(prompt) { |q| q.echo = false }
|
101
101
|
end
|
102
102
|
|
@@ -108,9 +108,7 @@ module HammerCLIForemanDiscovery
|
|
108
108
|
params['discovered_host']['root_pass'] = option_root_password unless option_root_password.nil?
|
109
109
|
params['discovered_host']['overwrite'] = option_overwrite unless option_overwrite.nil?
|
110
110
|
|
111
|
-
if option_ask_root_password
|
112
|
-
params['discovered_host']['root_pass'] = ask_password
|
113
|
-
end
|
111
|
+
params['discovered_host']['root_pass'] = ask_password if option_ask_root_password
|
114
112
|
|
115
113
|
params
|
116
114
|
end
|
@@ -119,16 +117,15 @@ module HammerCLIForemanDiscovery
|
|
119
117
|
return {} unless option_parameters
|
120
118
|
option_parameters.collect do |key, value|
|
121
119
|
if value.is_a? String
|
122
|
-
{"name"=>key, "value"=>value}
|
120
|
+
{ "name" => key, "value" => value }
|
123
121
|
else
|
124
|
-
{"name"=>key, "value"=>value.inspect}
|
122
|
+
{ "name" => key, "value" => value.inspect }
|
125
123
|
end
|
126
124
|
end
|
127
125
|
end
|
128
126
|
|
129
127
|
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
|
128
|
+
root_pass ptable_id host_parameters_attributes puppet_class_ids environment_id puppet_proxy_id puppet_ca_proxy_id
|
132
129
|
] do |o|
|
133
130
|
# TODO: Until the API is cleaned up
|
134
131
|
o.expand.except(:environments)
|
@@ -180,10 +177,10 @@ module HammerCLIForemanDiscovery
|
|
180
177
|
resource.call(:reboot_all, {})
|
181
178
|
print_message _("Rebooting hosts")
|
182
179
|
HammerCLI::EX_OK
|
183
|
-
rescue RestClient::UnprocessableEntity =>
|
184
|
-
response = JSON.parse(
|
185
|
-
response = HammerCLIForeman.record_to_common_format(response) unless response.
|
186
|
-
output.print_error(response['host_details'].map {|i| i['name']
|
180
|
+
rescue RestClient::UnprocessableEntity => e
|
181
|
+
response = JSON.parse(e.response)
|
182
|
+
response = HammerCLIForeman.record_to_common_format(response) unless response.key?('message')
|
183
|
+
output.print_error(response['host_details'].map { |i| "#{i['name']}: #{i['error']}" }.join("\n"))
|
187
184
|
HammerCLI::EX_DATAERR
|
188
185
|
end
|
189
186
|
else
|
@@ -208,5 +205,4 @@ module HammerCLIForemanDiscovery
|
|
208
205
|
end
|
209
206
|
autoload_subcommands
|
210
207
|
end
|
211
|
-
|
212
208
|
end
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'hammer_cli'
|
2
4
|
require 'hammer_cli_foreman'
|
3
5
|
require 'hammer_cli_foreman_discovery/discovery_references'
|
@@ -8,21 +10,17 @@ module HammerCLIForemanDiscovery
|
|
8
10
|
end
|
9
11
|
|
10
12
|
module CommonDiscoveryRuleUpdateOptions
|
11
|
-
|
12
13
|
def self.included(base)
|
13
14
|
base.option "--hosts-limit", "HOSTS_LIMIT", _("Enables to limit maximum amount of provisioned hosts per rule"),
|
14
15
|
:attribute_name => :option_max_count
|
15
16
|
base.build_options :without => :max_count
|
16
17
|
end
|
17
|
-
|
18
18
|
end
|
19
19
|
|
20
20
|
class DiscoveryRule < HammerCLIForeman::Command
|
21
|
-
|
22
21
|
resource :discovery_rules
|
23
22
|
|
24
23
|
class ListCommand < HammerCLIForeman::ListCommand
|
25
|
-
|
26
24
|
output do
|
27
25
|
field :id, _("ID")
|
28
26
|
field :name, _("Name")
|
@@ -37,7 +35,6 @@ module HammerCLIForemanDiscovery
|
|
37
35
|
end
|
38
36
|
|
39
37
|
class InfoCommand < HammerCLIForeman::InfoCommand
|
40
|
-
|
41
38
|
output ListCommand.output_definition do
|
42
39
|
field :hostname, _('Hostname template')
|
43
40
|
HammerCLIForemanDiscovery::DiscoveryReferences.hosts(self)
|
@@ -70,5 +67,4 @@ module HammerCLIForemanDiscovery
|
|
70
67
|
|
71
68
|
autoload_subcommands
|
72
69
|
end
|
73
|
-
|
74
70
|
end
|
@@ -1,10 +1,10 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
require 'hammer_cli/i18n'
|
2
4
|
|
3
5
|
module HammerCLIForemanDiscovery
|
4
6
|
module I18n
|
5
|
-
|
6
7
|
class LocaleDomain < HammerCLI::I18n::LocaleDomain
|
7
|
-
|
8
8
|
def translated_files
|
9
9
|
Dir.glob(File.join(File.dirname(__FILE__), '../**/*.rb'))
|
10
10
|
end
|
@@ -17,8 +17,7 @@ module HammerCLIForemanDiscovery
|
|
17
17
|
'hammer_cli_foreman_discovery'
|
18
18
|
end
|
19
19
|
end
|
20
|
-
|
21
20
|
end
|
22
21
|
end
|
23
22
|
|
24
|
-
HammerCLI::I18n.add_domain(HammerCLIForemanDiscovery::I18n::LocaleDomain.new)
|
23
|
+
HammerCLI::I18n.add_domain(HammerCLIForemanDiscovery::I18n::LocaleDomain.new)
|
@@ -1,3 +1,5 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
1
3
|
module HammerCLIForemanDiscovery
|
2
4
|
require 'hammer_cli_foreman_discovery/version'
|
3
5
|
|
@@ -5,16 +7,13 @@ module HammerCLIForemanDiscovery
|
|
5
7
|
require 'hammer_cli_foreman_discovery/discovery_references'
|
6
8
|
|
7
9
|
HammerCLI::MainCommand.lazy_subcommand('discovery', _("Manipulate discovered hosts."),
|
8
|
-
'HammerCLIForemanDiscovery::DiscoveredHost', 'hammer_cli_foreman_discovery/discovery'
|
9
|
-
)
|
10
|
+
'HammerCLIForemanDiscovery::DiscoveredHost', 'hammer_cli_foreman_discovery/discovery')
|
10
11
|
|
11
12
|
HammerCLI::MainCommand.lazy_subcommand('discovery-rule', _("Manipulate discovered rules."),
|
12
|
-
'HammerCLIForemanDiscovery::DiscoveryRule', 'hammer_cli_foreman_discovery/discovery_rule'
|
13
|
-
|
14
|
-
|
15
|
-
rescue => e
|
13
|
+
'HammerCLIForemanDiscovery::DiscoveryRule', 'hammer_cli_foreman_discovery/discovery_rule')
|
14
|
+
rescue StandardError => e
|
16
15
|
handler = HammerCLIForeman::ExceptionHandler.new(:context => {}, :adapter => :base)
|
17
16
|
handler.handle_exception(e)
|
18
|
-
raise HammerCLI::ModuleLoadingError
|
17
|
+
raise HammerCLI::ModuleLoadingError, e
|
19
18
|
end
|
20
19
|
end
|
Binary file
|
@@ -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 1.
|
9
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
11
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
12
12
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
Binary file
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# Pavel Borecki <pavel.borecki@gmail.com>, 2018,2020
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
9
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
11
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
12
12
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
Binary file
|
@@ -9,7 +9,7 @@
|
|
9
9
|
# pdolinic, 2021
|
10
10
|
msgid ""
|
11
11
|
msgstr ""
|
12
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
12
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
13
13
|
"Report-Msgid-Bugs-To: \n"
|
14
14
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
15
15
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
#
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
8
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
11
11
|
"PO-Revision-Date: 2019-07-31 09:22+0200\n"
|
Binary file
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# 0868a4d1af5275b3f70b0a6dac4c99a4, 2015
|
8
8
|
msgid ""
|
9
9
|
msgstr ""
|
10
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
10
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
12
12
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
13
13
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
Binary file
|
@@ -3,14 +3,14 @@
|
|
3
3
|
# This file is distributed under the same license as the hammer_cli_foreman_discovery package.
|
4
4
|
#
|
5
5
|
# Translators:
|
6
|
-
# Sergio Ocón-Cárdenas
|
6
|
+
# Sergio Ocón-Cárdenas, 2015
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
9
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
11
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
12
12
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
13
|
-
"Last-Translator: Sergio Ocón-Cárdenas
|
13
|
+
"Last-Translator: Sergio Ocón-Cárdenas, 2015\n"
|
14
14
|
"Language-Team: Spanish (http://app.transifex.com/foreman/foreman/language/"
|
15
15
|
"es/)\n"
|
16
16
|
"MIME-Version: 1.0\n"
|
Binary file
|
@@ -4,13 +4,15 @@
|
|
4
4
|
#
|
5
5
|
# Translators:
|
6
6
|
# Claer <transiblu@claer.hammock.fr>, 2015-2016
|
7
|
+
# Ewoud Kohl van Wijngaarden <ewoud+transifex@kohlvanwijngaarden.nl>, 2025
|
7
8
|
msgid ""
|
8
9
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
10
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
10
11
|
"Report-Msgid-Bugs-To: \n"
|
11
12
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
12
13
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
13
|
-
"Last-Translator:
|
14
|
+
"Last-Translator: Ewoud Kohl van Wijngaarden "
|
15
|
+
"<ewoud+transifex@kohlvanwijngaarden.nl>, 2025\n"
|
14
16
|
"Language-Team: French (http://app.transifex.com/foreman/foreman/language/"
|
15
17
|
"fr/)\n"
|
16
18
|
"MIME-Version: 1.0\n"
|
@@ -90,7 +92,7 @@ msgid "Interface parameters"
|
|
90
92
|
msgstr "Paramètres d'interface"
|
91
93
|
|
92
94
|
msgid "Enter the root password for the host:"
|
93
|
-
msgstr "Saisir le mot de passe root de l'hôte
|
95
|
+
msgstr "Saisir le mot de passe root de l'hôte:"
|
94
96
|
|
95
97
|
msgid "Auto provision a host"
|
96
98
|
msgstr "Provisionner un hôte automatiquement"
|
@@ -123,7 +125,7 @@ msgid "Host facts refreshed"
|
|
123
125
|
msgstr "Facts de l'hôte rafraichis"
|
124
126
|
|
125
127
|
msgid "Could not refresh the facts of the host"
|
126
|
-
msgstr "Impossible de
|
128
|
+
msgstr "Impossible de rafraîchir les facts de l'hôte"
|
127
129
|
|
128
130
|
msgid "Hosts"
|
129
131
|
msgstr "Hôtes"
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
8
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
11
11
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
Binary file
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# 山田 修司 🍣 Shuji Yamada <uzy.exe@gmail.com>, 2015
|
8
8
|
msgid ""
|
9
9
|
msgstr ""
|
10
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
10
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
12
12
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
13
13
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
8
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
11
11
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
8
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
11
11
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
@@ -37,22 +37,22 @@ msgid "CPUs"
|
|
37
37
|
msgstr "CPU"
|
38
38
|
|
39
39
|
msgid "Memory"
|
40
|
-
msgstr "메모리
|
40
|
+
msgstr "메모리"
|
41
41
|
|
42
42
|
msgid "Disk count"
|
43
|
-
msgstr "디스크 수
|
43
|
+
msgstr "디스크 수"
|
44
44
|
|
45
45
|
msgid "Disks size"
|
46
|
-
msgstr "디스크 크기
|
46
|
+
msgstr "디스크 크기"
|
47
47
|
|
48
48
|
msgid "Subnet"
|
49
|
-
msgstr "서브넷
|
49
|
+
msgstr "서브넷"
|
50
50
|
|
51
51
|
msgid "Last report"
|
52
52
|
msgstr "마지막 보고 "
|
53
53
|
|
54
54
|
msgid "IP"
|
55
|
-
msgstr "IP
|
55
|
+
msgstr "IP"
|
56
56
|
|
57
57
|
msgid "Model"
|
58
58
|
msgstr "모델 "
|
@@ -61,7 +61,7 @@ msgid "Organization"
|
|
61
61
|
msgstr "조직 "
|
62
62
|
|
63
63
|
msgid "Location"
|
64
|
-
msgstr "위치
|
64
|
+
msgstr "위치"
|
65
65
|
|
66
66
|
msgid "Fact"
|
67
67
|
msgstr "정보 "
|
@@ -94,19 +94,19 @@ msgid "Auto provision a host"
|
|
94
94
|
msgstr "호스트를 자동 프로비저닝"
|
95
95
|
|
96
96
|
msgid "Auto provision all discovered hosts"
|
97
|
-
msgstr ""
|
97
|
+
msgstr "검색된 모든 호스트를 자동으로 프로비저닝함"
|
98
98
|
|
99
99
|
msgid "Hosts created"
|
100
|
-
msgstr ""
|
100
|
+
msgstr "호스트 생성됨"
|
101
101
|
|
102
102
|
msgid "Reboot a host"
|
103
103
|
msgstr "호스트 재부팅 "
|
104
104
|
|
105
105
|
msgid "Reboot all discovered hosts"
|
106
|
-
msgstr ""
|
106
|
+
msgstr "검색된 모든 호스트를 재부팅합니다."
|
107
107
|
|
108
108
|
msgid "Rebooting hosts"
|
109
|
-
msgstr ""
|
109
|
+
msgstr "호스트 재부팅"
|
110
110
|
|
111
111
|
msgid "Host reboot started"
|
112
112
|
msgstr "호스트 재부팅을 시작했습니다"
|
@@ -133,13 +133,13 @@ msgid "Search"
|
|
133
133
|
msgstr "검색 "
|
134
134
|
|
135
135
|
msgid "Host Group"
|
136
|
-
msgstr "호스트 그룹
|
136
|
+
msgstr "호스트 그룹"
|
137
137
|
|
138
138
|
msgid "Hosts Limit"
|
139
139
|
msgstr "호스트 제한"
|
140
140
|
|
141
141
|
msgid "Enabled"
|
142
|
-
msgstr "활성화됨
|
142
|
+
msgstr "활성화됨"
|
143
143
|
|
144
144
|
msgid "Hostname template"
|
145
145
|
msgstr "호스트 이름 템플릿"
|
Binary file
|
@@ -7,7 +7,7 @@
|
|
7
7
|
# Luiz Henrique Vasconcelos <luizvasconceloss@yahoo.com.br>, 2015
|
8
8
|
msgid ""
|
9
9
|
msgstr ""
|
10
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
10
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
11
11
|
"Report-Msgid-Bugs-To: \n"
|
12
12
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
13
13
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
Binary file
|
@@ -6,7 +6,7 @@
|
|
6
6
|
# Vladimir Pavlov <v.pavlov@i-teco.ru>, 2015
|
7
7
|
msgid ""
|
8
8
|
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
9
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
10
10
|
"Report-Msgid-Bugs-To: \n"
|
11
11
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
12
12
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
@@ -17,9 +17,9 @@ msgstr ""
|
|
17
17
|
"Content-Type: text/plain; charset=UTF-8\n"
|
18
18
|
"Content-Transfer-Encoding: 8bit\n"
|
19
19
|
"Language: ru\n"
|
20
|
-
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 &&
|
21
|
-
"%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) ||
|
22
|
-
"%100>=11 && n%100<=14)? 2 : 3);\n"
|
20
|
+
"Plural-Forms: nplurals=4; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
|
21
|
+
"n%10<=4 && (n%100<12 || n%100>14) ? 1 : n%10==0 || (n%10>=5 && n%10<=9) || "
|
22
|
+
"(n%100>=11 && n%100<=14)? 2 : 3);\n"
|
23
23
|
|
24
24
|
msgid "Manipulate discovered hosts."
|
25
25
|
msgstr "Управление обнаруженными узлами."
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
8
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
11
11
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
Binary file
|
@@ -5,7 +5,7 @@
|
|
5
5
|
# Translators:
|
6
6
|
msgid ""
|
7
7
|
msgstr ""
|
8
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.
|
8
|
+
"Project-Id-Version: hammer_cli_foreman_discovery 1.3.0\n"
|
9
9
|
"Report-Msgid-Bugs-To: \n"
|
10
10
|
"POT-Creation-Date: 2019-07-31 09:22+0200\n"
|
11
11
|
"PO-Revision-Date: 2015-01-21 10:30+0000\n"
|
metadata
CHANGED
@@ -1,48 +1,34 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_foreman_discovery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ohad Levy
|
8
8
|
- Ori Rabin
|
9
|
-
autorequire:
|
9
|
+
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2025-02-20 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hammer_cli_foreman
|
16
16
|
requirement: !ruby/object:Gem::Requirement
|
17
17
|
requirements:
|
18
|
-
- - "
|
18
|
+
- - "~>"
|
19
19
|
- !ruby/object:Gem::Version
|
20
|
-
version:
|
20
|
+
version: '3.10'
|
21
21
|
type: :runtime
|
22
22
|
prerelease: false
|
23
23
|
version_requirements: !ruby/object:Gem::Requirement
|
24
24
|
requirements:
|
25
|
-
- - "
|
25
|
+
- - "~>"
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
version:
|
28
|
-
- !ruby/object:Gem::Dependency
|
29
|
-
name: rake
|
30
|
-
requirement: !ruby/object:Gem::Requirement
|
31
|
-
requirements:
|
32
|
-
- - ">="
|
33
|
-
- !ruby/object:Gem::Version
|
34
|
-
version: '0'
|
35
|
-
type: :development
|
36
|
-
prerelease: false
|
37
|
-
version_requirements: !ruby/object:Gem::Requirement
|
38
|
-
requirements:
|
39
|
-
- - ">="
|
40
|
-
- !ruby/object:Gem::Version
|
41
|
-
version: '0'
|
27
|
+
version: '3.10'
|
42
28
|
description: 'Contains the code for managing host discovery in foreman(results and
|
43
29
|
progress) in the Hammer CLI.
|
44
30
|
|
45
|
-
'
|
31
|
+
'
|
46
32
|
email:
|
47
33
|
- ohadlevy@gmail.com
|
48
34
|
executables: []
|
@@ -98,7 +84,7 @@ homepage: https://github.com/theforeman/hammer-cli-foreman-discovery
|
|
98
84
|
licenses:
|
99
85
|
- GPL-3.0-or-later
|
100
86
|
metadata: {}
|
101
|
-
post_install_message:
|
87
|
+
post_install_message:
|
102
88
|
rdoc_options: []
|
103
89
|
require_paths:
|
104
90
|
- lib
|
@@ -106,15 +92,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
106
92
|
requirements:
|
107
93
|
- - ">="
|
108
94
|
- !ruby/object:Gem::Version
|
109
|
-
version: '
|
95
|
+
version: '2.7'
|
96
|
+
- - "<"
|
97
|
+
- !ruby/object:Gem::Version
|
98
|
+
version: '4'
|
110
99
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
100
|
requirements:
|
112
101
|
- - ">="
|
113
102
|
- !ruby/object:Gem::Version
|
114
103
|
version: '0'
|
115
104
|
requirements: []
|
116
|
-
rubygems_version: 3.
|
117
|
-
signing_key:
|
105
|
+
rubygems_version: 3.5.23
|
106
|
+
signing_key:
|
118
107
|
specification_version: 4
|
119
108
|
summary: Foreman CLI plugin for managing discovery hosts in foreman
|
120
109
|
test_files: []
|