hammer_cli_foreman_discovery 1.0.2 → 1.1.0
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 +75 -0
- data/lib/hammer_cli_foreman_discovery/discovery.rb +35 -30
- data/lib/hammer_cli_foreman_discovery/discovery_rule.rb +2 -3
- data/lib/hammer_cli_foreman_discovery/version.rb +1 -1
- metadata +5 -30
- data/locale/ca/hammer_cli_foreman_discovery.edit.po +0 -213
- data/locale/ca/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/de/hammer_cli_foreman_discovery.edit.po +0 -213
- data/locale/de/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/en/hammer_cli_foreman_discovery.edit.po +0 -209
- data/locale/en/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/en_GB/hammer_cli_foreman_discovery.edit.po +0 -214
- data/locale/en_GB/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/es/hammer_cli_foreman_discovery.edit.po +0 -213
- data/locale/es/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/fr/hammer_cli_foreman_discovery.edit.po +0 -212
- data/locale/fr/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/it/hammer_cli_foreman_discovery.edit.po +0 -215
- data/locale/it/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/ja/hammer_cli_foreman_discovery.edit.po +0 -213
- data/locale/ja/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/ko/hammer_cli_foreman_discovery.edit.po +0 -214
- data/locale/ko/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/pt_BR/hammer_cli_foreman_discovery.edit.po +0 -215
- data/locale/pt_BR/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/ru/hammer_cli_foreman_discovery.edit.po +0 -215
- data/locale/ru/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/zh_CN/hammer_cli_foreman_discovery.edit.po +0 -215
- data/locale/zh_CN/hammer_cli_foreman_discovery.po.time_stamp +0 -0
- data/locale/zh_TW/hammer_cli_foreman_discovery.edit.po +0 -215
- data/locale/zh_TW/hammer_cli_foreman_discovery.po.time_stamp +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1fa956f4e49d7c7f08a0247b19cc7d46d94d846619414fc5eb17d4cd14ac17b2
|
4
|
+
data.tar.gz: af290183d21f293438b5cbc26cb73b0dcac8ea158ba299d317bcfeffffb2f762
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
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, :host_parameters_attributes]
|
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:") + '_'
|
@@ -112,7 +104,7 @@ module HammerCLIForemanDiscovery
|
|
112
104
|
params = super
|
113
105
|
|
114
106
|
params['discovered_host']['host_parameters_attributes'] = parameter_attributes
|
115
|
-
params['discovered_host']['ptable_id'] =
|
107
|
+
params['discovered_host']['ptable_id'] = option_ptable_id unless option_ptable_id.nil?
|
116
108
|
params['discovered_host']['root_pass'] = option_root_password unless option_root_password.nil?
|
117
109
|
params['discovered_host']['overwrite'] = option_overwrite unless option_overwrite.nil?
|
118
110
|
|
@@ -134,9 +126,22 @@ module HammerCLIForemanDiscovery
|
|
134
126
|
end
|
135
127
|
end
|
136
128
|
|
137
|
-
build_options
|
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
|
138
136
|
|
139
|
-
|
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
|
140
145
|
end
|
141
146
|
|
142
147
|
class AutoProvisionCommand < HammerCLIForeman::SingleResourceCommand
|
@@ -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", "
|
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
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hammer_cli_foreman_discovery
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ohad Levy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2022-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: hammer_cli_foreman
|
@@ -42,7 +42,7 @@ dependencies:
|
|
42
42
|
description: 'Contains the code for managing host discovery in foreman(results and
|
43
43
|
progress) in the Hammer CLI.
|
44
44
|
|
45
|
-
|
45
|
+
'
|
46
46
|
email:
|
47
47
|
- ohadlevy@gmail.com
|
48
48
|
executables: []
|
@@ -55,6 +55,7 @@ files:
|
|
55
55
|
- README.md
|
56
56
|
- config/foreman_discovery.yml
|
57
57
|
- lib/hammer_cli_foreman_discovery.rb
|
58
|
+
- lib/hammer_cli_foreman_discovery/command_extensions/provision_with_puppet.rb
|
58
59
|
- lib/hammer_cli_foreman_discovery/discovery.rb
|
59
60
|
- lib/hammer_cli_foreman_discovery/discovery_references.rb
|
60
61
|
- lib/hammer_cli_foreman_discovery/discovery_rule.rb
|
@@ -63,58 +64,32 @@ files:
|
|
63
64
|
- locale/Makefile
|
64
65
|
- locale/README.md
|
65
66
|
- locale/ca/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
66
|
-
- locale/ca/hammer_cli_foreman_discovery.edit.po
|
67
67
|
- locale/ca/hammer_cli_foreman_discovery.po
|
68
|
-
- locale/ca/hammer_cli_foreman_discovery.po.time_stamp
|
69
68
|
- locale/de/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
70
|
-
- locale/de/hammer_cli_foreman_discovery.edit.po
|
71
69
|
- locale/de/hammer_cli_foreman_discovery.po
|
72
|
-
- locale/de/hammer_cli_foreman_discovery.po.time_stamp
|
73
70
|
- locale/en/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
74
|
-
- locale/en/hammer_cli_foreman_discovery.edit.po
|
75
71
|
- locale/en/hammer_cli_foreman_discovery.po
|
76
|
-
- locale/en/hammer_cli_foreman_discovery.po.time_stamp
|
77
72
|
- locale/en_GB/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
78
|
-
- locale/en_GB/hammer_cli_foreman_discovery.edit.po
|
79
73
|
- locale/en_GB/hammer_cli_foreman_discovery.po
|
80
|
-
- locale/en_GB/hammer_cli_foreman_discovery.po.time_stamp
|
81
74
|
- locale/es/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
82
|
-
- locale/es/hammer_cli_foreman_discovery.edit.po
|
83
75
|
- locale/es/hammer_cli_foreman_discovery.po
|
84
|
-
- locale/es/hammer_cli_foreman_discovery.po.time_stamp
|
85
76
|
- locale/fr/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
86
|
-
- locale/fr/hammer_cli_foreman_discovery.edit.po
|
87
77
|
- locale/fr/hammer_cli_foreman_discovery.po
|
88
|
-
- locale/fr/hammer_cli_foreman_discovery.po.time_stamp
|
89
78
|
- locale/hammer_cli_foreman_discovery.pot
|
90
79
|
- locale/it/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
91
|
-
- locale/it/hammer_cli_foreman_discovery.edit.po
|
92
80
|
- locale/it/hammer_cli_foreman_discovery.po
|
93
|
-
- locale/it/hammer_cli_foreman_discovery.po.time_stamp
|
94
81
|
- locale/ja/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
95
|
-
- locale/ja/hammer_cli_foreman_discovery.edit.po
|
96
82
|
- locale/ja/hammer_cli_foreman_discovery.po
|
97
|
-
- locale/ja/hammer_cli_foreman_discovery.po.time_stamp
|
98
83
|
- locale/ko/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
99
|
-
- locale/ko/hammer_cli_foreman_discovery.edit.po
|
100
84
|
- locale/ko/hammer_cli_foreman_discovery.po
|
101
|
-
- locale/ko/hammer_cli_foreman_discovery.po.time_stamp
|
102
85
|
- locale/pt_BR/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
103
|
-
- locale/pt_BR/hammer_cli_foreman_discovery.edit.po
|
104
86
|
- locale/pt_BR/hammer_cli_foreman_discovery.po
|
105
|
-
- locale/pt_BR/hammer_cli_foreman_discovery.po.time_stamp
|
106
87
|
- locale/ru/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
107
|
-
- locale/ru/hammer_cli_foreman_discovery.edit.po
|
108
88
|
- locale/ru/hammer_cli_foreman_discovery.po
|
109
|
-
- locale/ru/hammer_cli_foreman_discovery.po.time_stamp
|
110
89
|
- locale/zh_CN/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
111
|
-
- locale/zh_CN/hammer_cli_foreman_discovery.edit.po
|
112
90
|
- locale/zh_CN/hammer_cli_foreman_discovery.po
|
113
|
-
- locale/zh_CN/hammer_cli_foreman_discovery.po.time_stamp
|
114
91
|
- locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_discovery.mo
|
115
|
-
- locale/zh_TW/hammer_cli_foreman_discovery.edit.po
|
116
92
|
- locale/zh_TW/hammer_cli_foreman_discovery.po
|
117
|
-
- locale/zh_TW/hammer_cli_foreman_discovery.po.time_stamp
|
118
93
|
homepage: https://github.com/theforeman/hammer-cli-foreman-discovery
|
119
94
|
licenses:
|
120
95
|
- GPL-3.0-or-later
|
@@ -134,7 +109,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
134
109
|
- !ruby/object:Gem::Version
|
135
110
|
version: '0'
|
136
111
|
requirements: []
|
137
|
-
rubygems_version: 3.
|
112
|
+
rubygems_version: 3.1.2
|
138
113
|
signing_key:
|
139
114
|
specification_version: 4
|
140
115
|
summary: Foreman CLI plugin for managing discovery hosts in foreman
|
@@ -1,213 +0,0 @@
|
|
1
|
-
# SOME DESCRIPTIVE TITLE.
|
2
|
-
# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
|
3
|
-
# This file is distributed under the same license as the PACKAGE package.
|
4
|
-
#
|
5
|
-
# Translators:
|
6
|
-
# Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2015
|
7
|
-
msgid ""
|
8
|
-
msgstr ""
|
9
|
-
"Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
|
10
|
-
"Report-Msgid-Bugs-To: \n"
|
11
|
-
"PO-Revision-Date: 2015-12-09 11:08+0000\n"
|
12
|
-
"Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>\n"
|
13
|
-
"Language-Team: Catalan (http://www.transifex.com/foreman/foreman/language/ca/)"
|
14
|
-
"\n"
|
15
|
-
"MIME-Version: 1.0\n"
|
16
|
-
"Content-Type: text/plain; charset=UTF-8\n"
|
17
|
-
"Content-Transfer-Encoding: 8bit\n"
|
18
|
-
"Language: ca\n"
|
19
|
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
20
|
-
|
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."
|
28
|
-
|
29
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:16 ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:26
|
30
|
-
msgid "ID"
|
31
|
-
msgstr "ID"
|
32
|
-
|
33
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:17 ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:27
|
34
|
-
msgid "Name"
|
35
|
-
msgstr "Nom"
|
36
|
-
|
37
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:18
|
38
|
-
msgid "MAC"
|
39
|
-
msgstr "MAC"
|
40
|
-
|
41
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:19
|
42
|
-
msgid "CPUs"
|
43
|
-
msgstr "Les CPU"
|
44
|
-
|
45
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:20
|
46
|
-
msgid "Memory"
|
47
|
-
msgstr "Memòria"
|
48
|
-
|
49
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:21
|
50
|
-
msgid "Disk count"
|
51
|
-
msgstr "Nombre de disc"
|
52
|
-
|
53
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:22
|
54
|
-
msgid "Disks size"
|
55
|
-
msgstr "Mida de disc"
|
56
|
-
|
57
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:23
|
58
|
-
msgid "Subnet"
|
59
|
-
msgstr "Subxarxa"
|
60
|
-
|
61
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:24
|
62
|
-
msgid "Last report"
|
63
|
-
msgstr "Últim informe"
|
64
|
-
|
65
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:32
|
66
|
-
msgid "IP"
|
67
|
-
msgstr "IP"
|
68
|
-
|
69
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:33
|
70
|
-
msgid "Model"
|
71
|
-
msgstr "Model"
|
72
|
-
|
73
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:34
|
74
|
-
msgid "Organization"
|
75
|
-
msgstr "Organització"
|
76
|
-
|
77
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:35
|
78
|
-
msgid "Location"
|
79
|
-
msgstr "Ubicació"
|
80
|
-
|
81
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:48
|
82
|
-
msgid "Fact"
|
83
|
-
msgstr "Objecte d'interès"
|
84
|
-
|
85
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:49
|
86
|
-
msgid "Value"
|
87
|
-
msgstr "Valor"
|
88
|
-
|
89
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:66
|
90
|
-
msgid "Host deleted"
|
91
|
-
msgstr "S'ha suprimit l'amfitrió"
|
92
|
-
|
93
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:67
|
94
|
-
msgid "Could not delete the host"
|
95
|
-
msgstr "No s'ha pogut suprimir l'amfitrió"
|
96
|
-
|
97
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:75 ../lib/hammer_cli_foreman_discovery/discovery.rb:157
|
98
|
-
msgid "Host created"
|
99
|
-
msgstr "S'ha creat l'amfitrió"
|
100
|
-
|
101
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:76 ../lib/hammer_cli_foreman_discovery/discovery.rb:158
|
102
|
-
msgid "Could not create the host"
|
103
|
-
msgstr "No s'ha pogut crear l'amfitrió"
|
104
|
-
|
105
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:96
|
106
|
-
msgid "Host parameters"
|
107
|
-
msgstr "Paràmetres de l'amfitrió"
|
108
|
-
|
109
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:98
|
110
|
-
msgid "Interface parameters"
|
111
|
-
msgstr "Paràmetres de la interfície"
|
112
|
-
|
113
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:107
|
114
|
-
msgid "Enter the root password for the host:"
|
115
|
-
msgstr "Introduïu la contrasenya de root per a l'amfitrió:"
|
116
|
-
|
117
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:143
|
118
|
-
msgid "Auto provision a host"
|
119
|
-
msgstr "Auto aprovisiona un amfitrió"
|
120
|
-
|
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
|
131
|
-
msgid "Reboot a host"
|
132
|
-
msgstr "Reinicia un amfitrió"
|
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
|
144
|
-
msgid "Host reboot started"
|
145
|
-
msgstr "S'ha iniciat el reinici de l'amfitrió"
|
146
|
-
|
147
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:188
|
148
|
-
msgid "Could not reboot the host"
|
149
|
-
msgstr "No s'ha pogut reiniciar l'amfitrió"
|
150
|
-
|
151
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:196
|
152
|
-
msgid "Refresh the facts of a host"
|
153
|
-
msgstr "Refresca els objectes d'interès d'un amfitrió"
|
154
|
-
|
155
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:197
|
156
|
-
msgid "Host facts refreshed"
|
157
|
-
msgstr "S'han refrescat els objectes d'interès de l'amfitrió"
|
158
|
-
|
159
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery.rb:198
|
160
|
-
msgid "Could not refresh the facts of the host"
|
161
|
-
msgstr "No s'ha pogut refrescar els objectes d'interès de l'amfitrió"
|
162
|
-
|
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
|
168
|
-
msgid "Priority"
|
169
|
-
msgstr "Prioritat"
|
170
|
-
|
171
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:29
|
172
|
-
msgid "Search"
|
173
|
-
msgstr "Cerca"
|
174
|
-
|
175
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:30
|
176
|
-
msgid "Host Group"
|
177
|
-
msgstr "Grup dels amfitrions"
|
178
|
-
|
179
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:31
|
180
|
-
msgid "Hosts Limit"
|
181
|
-
msgstr "Límit d'amfitrions"
|
182
|
-
|
183
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:32
|
184
|
-
msgid "Enabled"
|
185
|
-
msgstr "Habilitat"
|
186
|
-
|
187
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:41
|
188
|
-
msgid "Hostname template"
|
189
|
-
msgstr "Plantilla de nom d'amfitrió"
|
190
|
-
|
191
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:50
|
192
|
-
msgid "Rule created"
|
193
|
-
msgstr "S'ha creat la regla"
|
194
|
-
|
195
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:51
|
196
|
-
msgid "Could not create the rule"
|
197
|
-
msgstr "No s'ha pogut crear la regla"
|
198
|
-
|
199
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:58
|
200
|
-
msgid "Rule updated"
|
201
|
-
msgstr "S'ha actualitzat la regla"
|
202
|
-
|
203
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:59
|
204
|
-
msgid "Could not update the rule"
|
205
|
-
msgstr "No s'ha pogut actualitzar la regla"
|
206
|
-
|
207
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:66
|
208
|
-
msgid "Rule deleted"
|
209
|
-
msgstr "S'ha suprimit la regla"
|
210
|
-
|
211
|
-
#: ../lib/hammer_cli_foreman_discovery/discovery_rule.rb:67
|
212
|
-
msgid "Could not delete the rule"
|
213
|
-
msgstr "No s'ha pogut suprimir la regla"
|
File without changes
|