hammer_cli_foreman_discovery 1.0.2 → 1.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (63) hide show
  1. checksums.yaml +4 -4
  2. data/lib/hammer_cli_foreman_discovery/command_extensions/provision_with_puppet.rb +75 -0
  3. data/lib/hammer_cli_foreman_discovery/discovery.rb +35 -30
  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 +2 -61
  7. data/locale/ca/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  8. data/locale/ca/hammer_cli_foreman_discovery.po +10 -11
  9. data/locale/cs_CZ/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  10. data/locale/cs_CZ/hammer_cli_foreman_discovery.po +165 -0
  11. data/locale/de/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  12. data/locale/de/hammer_cli_foreman_discovery.po +16 -14
  13. data/locale/en/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  14. data/locale/en/hammer_cli_foreman_discovery.po +3 -2
  15. data/locale/en_GB/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  16. data/locale/en_GB/hammer_cli_foreman_discovery.po +13 -14
  17. data/locale/es/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  18. data/locale/es/hammer_cli_foreman_discovery.po +26 -26
  19. data/locale/fr/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  20. data/locale/fr/hammer_cli_foreman_discovery.po +21 -20
  21. data/locale/it/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  22. data/locale/it/hammer_cli_foreman_discovery.po +12 -15
  23. data/locale/ja/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  24. data/locale/ja/hammer_cli_foreman_discovery.po +23 -23
  25. data/locale/ka/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  26. data/locale/ka/hammer_cli_foreman_discovery.po +163 -0
  27. data/locale/ko/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  28. data/locale/ko/hammer_cli_foreman_discovery.po +10 -13
  29. data/locale/pt_BR/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  30. data/locale/pt_BR/hammer_cli_foreman_discovery.po +21 -21
  31. data/locale/ru/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  32. data/locale/ru/hammer_cli_foreman_discovery.po +15 -16
  33. data/locale/zh_CN/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  34. data/locale/zh_CN/hammer_cli_foreman_discovery.po +33 -37
  35. data/locale/zh_TW/LC_MESSAGES/hammer_cli_foreman_discovery.mo +0 -0
  36. data/locale/zh_TW/hammer_cli_foreman_discovery.po +10 -14
  37. metadata +9 -30
  38. data/locale/ca/hammer_cli_foreman_discovery.edit.po +0 -213
  39. data/locale/ca/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  40. data/locale/de/hammer_cli_foreman_discovery.edit.po +0 -213
  41. data/locale/de/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  42. data/locale/en/hammer_cli_foreman_discovery.edit.po +0 -209
  43. data/locale/en/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  44. data/locale/en_GB/hammer_cli_foreman_discovery.edit.po +0 -214
  45. data/locale/en_GB/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  46. data/locale/es/hammer_cli_foreman_discovery.edit.po +0 -213
  47. data/locale/es/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  48. data/locale/fr/hammer_cli_foreman_discovery.edit.po +0 -212
  49. data/locale/fr/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  50. data/locale/it/hammer_cli_foreman_discovery.edit.po +0 -215
  51. data/locale/it/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  52. data/locale/ja/hammer_cli_foreman_discovery.edit.po +0 -213
  53. data/locale/ja/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  54. data/locale/ko/hammer_cli_foreman_discovery.edit.po +0 -214
  55. data/locale/ko/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  56. data/locale/pt_BR/hammer_cli_foreman_discovery.edit.po +0 -215
  57. data/locale/pt_BR/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  58. data/locale/ru/hammer_cli_foreman_discovery.edit.po +0 -215
  59. data/locale/ru/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  60. data/locale/zh_CN/hammer_cli_foreman_discovery.edit.po +0 -215
  61. data/locale/zh_CN/hammer_cli_foreman_discovery.po.time_stamp +0 -0
  62. data/locale/zh_TW/hammer_cli_foreman_discovery.edit.po +0 -215
  63. 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: 3cd2d3cf4ad8bae5fb2c8ab018bd83d41256f2d020b267470673147485272f1d
4
- data.tar.gz: c8c67d180f763441ec8c8349e0e0e2d12584a82148f9fb3c6639e73b0b794aa5
3
+ metadata.gz: 437c3b56e34868fe63885b2fa1f88297a3c3beccf89018156236c52c206e5d17
4
+ data.tar.gz: 704cda11e2d98717abcb0ff3d08764c37a669e051da4f20fac9e7a76edc3271d
5
5
  SHA512:
6
- metadata.gz: 4377e3492795ef0e31d487b2c810dad028c178af330fc7711ba4191587dab8a78e6c32fc368f90cd44a4897313f6434d98d7c5e8b4bb05afa45123521267c5db
7
- data.tar.gz: e6632c083254614acab6b41085bab91d91ab5b6c184ab3023cc26224274c55bedf0d8b7f64a3b913dc2bd4704b420e25a6219c79a26a0697f34eb8d0ecda61a5
6
+ metadata.gz: 32f35416b72207ea81b23bd3e1d7a81ec912b74624d66f588f9b863c81cb5cc7d0570d7f60d6b0fe6ebd9f5d43004cbbce8b2cf5251f10d97f036c416cdcaeea
7
+ data.tar.gz: e68961ff1a6cd06c7c98039924ca0f924ffc599e664c684572e5991f9459b7b026adfc97f707ad13a3cd73b1756acb17a11ee19c08be0bf35b105a1c28315a8f
@@ -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, :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'] = option_partition_table_id unless option_partition_table_id.nil?
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
- extend_with(HammerCLIForeman::CommandExtensions::PuppetEnvironment.new)
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", " ", :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.2')
3
+ @version ||= Gem::Version.new('1.2.0')
4
4
  end
5
5
  end
data/locale/Makefile CHANGED
@@ -1,65 +1,6 @@
1
1
  #
2
2
  # Makefile for PO merging and MO generation. More info in the README.
3
3
  #
4
- # make all-mo (default) - generate MO files
5
- # make check - check translations using translate-tool
6
- # make tx-update - download and merge translations from Transifex
7
- # make clean - clean everything
4
+ # Run make help to list available targets
8
5
  #
9
- DOMAIN = hammer_cli_foreman_discovery
10
- VERSION = $(shell ruby -e 'require "rubygems";spec = Gem::Specification::load("../hammer_cli_foreman_discovery.gemspec");puts spec.version')
11
- POTFILE = $(DOMAIN).pot
12
- MOFILE = $(DOMAIN).mo
13
- POFILES = $(shell find . -name '*.po')
14
- MOFILES = $(patsubst %.po,%.mo,$(POFILES))
15
- POXFILES = $(patsubst %.po,%.pox,$(POFILES))
16
-
17
- %.mo: %.po
18
- mkdir -p $(shell dirname $@)/LC_MESSAGES
19
- msgfmt -o $(shell dirname $@)/LC_MESSAGES/$(MOFILE) $<
20
-
21
- # Generate MO files from PO files
22
- all-mo: $(MOFILES)
23
-
24
- # Check for malformed strings
25
- %.pox: %.po
26
- msgfmt -c $<
27
- pofilter --nofuzzy -t variables -t blank -t urls -t emails -t long -t newlines \
28
- -t endwhitespace -t endpunc -t puncspacing -t options -t printf -t validchars --gnome $< > $@
29
- cat $@
30
- ! grep -q msgid $@
31
-
32
- check: $(POXFILES)
33
- msgfmt -c ${POTFILE}
34
-
35
- # Merge PO files
36
- update-po:
37
- for f in $(shell find ./ -name "*.po") ; do \
38
- msgmerge -N --backup=none -U $$f ${POTFILE} ; \
39
- done
40
-
41
- # Unify duplicate translations
42
- uniq-po:
43
- for f in $(shell find ./ -name "*.po") ; do \
44
- msguniq $$f -o $$f ; \
45
- done
46
-
47
- tx-pull:
48
- tx pull -f
49
- for f in $(POFILES) ; do \
50
- sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
51
- done
52
- -git commit -a -m "i18n - extracting new, pulling from tx"
53
-
54
- extract-strings:
55
- bundle exec rake gettext:find
56
-
57
- reset-po:
58
- # merging po files is unnecessary when using transifex.com
59
- git checkout -- */$(DOMAIN).po
60
-
61
- tx-update: tx-pull extract-strings reset-po $(MOFILES)
62
- # amend mo files
63
- git add */LC_MESSAGES
64
- git commit -a --amend -m "i18n - extracting new, pulling from tx"
65
- -echo Changes commited!
6
+ include $(shell bundle exec ruby -e 'require "hammer_cli"; puts HammerCLI::I18n.main_makefile')
@@ -1,17 +1,18 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_discovery 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 1.0.0\n"
9
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.1.0\n"
10
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"
11
+ "POT-Creation-Date: 2019-07-31 09:22+0200\n"
12
+ "PO-Revision-Date: 2015-01-21 10:30+0000\n"
13
+ "Last-Translator: Robert Antoni Buj i Gelonch <rbuj@fedoraproject.org>, 2015\n"
14
+ "Language-Team: Catalan (http://app.transifex.com/foreman/foreman/language/"
15
+ "ca/)\n"
15
16
  "MIME-Version: 1.0\n"
16
17
  "Content-Type: text/plain; charset=UTF-8\n"
17
18
  "Content-Transfer-Encoding: 8bit\n"
@@ -40,7 +41,7 @@ msgid "Memory"
40
41
  msgstr "Memòria"
41
42
 
42
43
  msgid "Disk count"
43
- msgstr "Nombre de disc"
44
+ msgstr "Nombre de discs"
44
45
 
45
46
  msgid "Disks size"
46
47
  msgstr "Mida de disc"
@@ -96,9 +97,8 @@ msgstr "Auto aprovisiona un amfitrió"
96
97
  msgid "Auto provision all discovered hosts"
97
98
  msgstr ""
98
99
 
99
- #, fuzzy
100
100
  msgid "Hosts created"
101
- msgstr "S'ha creat l'amfitrió"
101
+ msgstr ""
102
102
 
103
103
  msgid "Reboot a host"
104
104
  msgstr "Reinicia un amfitrió"
@@ -106,9 +106,8 @@ msgstr "Reinicia un amfitrió"
106
106
  msgid "Reboot all discovered hosts"
107
107
  msgstr ""
108
108
 
109
- #, fuzzy
110
109
  msgid "Rebooting hosts"
111
- msgstr "Reinicia un amfitrió"
110
+ msgstr ""
112
111
 
113
112
  msgid "Host reboot started"
114
113
  msgstr "S'ha iniciat el reinici de l'amfitrió"
@@ -0,0 +1,165 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the hammer_cli_foreman_discovery package.
4
+ #
5
+ # Translators:
6
+ # Pavel Borecki <pavel.borecki@gmail.com>, 2018,2020
7
+ msgid ""
8
+ msgstr ""
9
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.1.0\n"
10
+ "Report-Msgid-Bugs-To: \n"
11
+ "POT-Creation-Date: 2019-07-31 09:22+0200\n"
12
+ "PO-Revision-Date: 2015-01-21 10:30+0000\n"
13
+ "Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2018,2020\n"
14
+ "Language-Team: Czech (Czech Republic) (http://app.transifex.com/foreman/"
15
+ "foreman/language/cs_CZ/)\n"
16
+ "MIME-Version: 1.0\n"
17
+ "Content-Type: text/plain; charset=UTF-8\n"
18
+ "Content-Transfer-Encoding: 8bit\n"
19
+ "Language: cs_CZ\n"
20
+ "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n "
21
+ "<= 4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
22
+
23
+ msgid "Manipulate discovered hosts."
24
+ msgstr ""
25
+
26
+ msgid "Manipulate discovered rules."
27
+ msgstr ""
28
+
29
+ msgid "ID"
30
+ msgstr "Identifikátor"
31
+
32
+ msgid "Name"
33
+ msgstr "Název"
34
+
35
+ msgid "MAC"
36
+ msgstr "MAC adresa"
37
+
38
+ msgid "CPUs"
39
+ msgstr "Procesory"
40
+
41
+ msgid "Memory"
42
+ msgstr "Operační paměť"
43
+
44
+ msgid "Disk count"
45
+ msgstr "Počet jednotek úložiště"
46
+
47
+ msgid "Disks size"
48
+ msgstr "Velikost jednotek úložiště"
49
+
50
+ msgid "Subnet"
51
+ msgstr "Podsíť"
52
+
53
+ msgid "Last report"
54
+ msgstr "Poslední hlášení"
55
+
56
+ msgid "IP"
57
+ msgstr "IP adresa"
58
+
59
+ msgid "Model"
60
+ msgstr "Model"
61
+
62
+ msgid "Organization"
63
+ msgstr "Organizace"
64
+
65
+ msgid "Location"
66
+ msgstr "Umístění"
67
+
68
+ msgid "Fact"
69
+ msgstr "Fakt"
70
+
71
+ msgid "Value"
72
+ msgstr "Hodnota"
73
+
74
+ msgid "Host deleted"
75
+ msgstr "Stroj smazán"
76
+
77
+ msgid "Could not delete the host"
78
+ msgstr "Stroj se nedaří smazat"
79
+
80
+ msgid "Host created"
81
+ msgstr "Stroj vytvořen"
82
+
83
+ msgid "Could not create the host"
84
+ msgstr "Stroj se nedaří "
85
+
86
+ msgid "Host parameters"
87
+ msgstr "Parametry stroje"
88
+
89
+ msgid "Interface parameters"
90
+ msgstr "Parametry rozhraní"
91
+
92
+ msgid "Enter the root password for the host:"
93
+ msgstr "Zadejte heslo ke správcovskému (root) účtu pro stroj:"
94
+
95
+ msgid "Auto provision a host"
96
+ msgstr ""
97
+
98
+ msgid "Auto provision all discovered hosts"
99
+ msgstr ""
100
+
101
+ msgid "Hosts created"
102
+ msgstr "Stroje vytvořeny"
103
+
104
+ msgid "Reboot a host"
105
+ msgstr "Restartovat stroj"
106
+
107
+ msgid "Reboot all discovered hosts"
108
+ msgstr "Restartovat všechny objevené stroje"
109
+
110
+ msgid "Rebooting hosts"
111
+ msgstr "Restartování strojů"
112
+
113
+ msgid "Host reboot started"
114
+ msgstr "Restart stroje zahájen"
115
+
116
+ msgid "Could not reboot the host"
117
+ msgstr ""
118
+
119
+ msgid "Refresh the facts of a host"
120
+ msgstr ""
121
+
122
+ msgid "Host facts refreshed"
123
+ msgstr ""
124
+
125
+ msgid "Could not refresh the facts of the host"
126
+ msgstr ""
127
+
128
+ msgid "Hosts"
129
+ msgstr "Stroje"
130
+
131
+ msgid "Priority"
132
+ msgstr "Priorita"
133
+
134
+ msgid "Search"
135
+ msgstr "Hledat"
136
+
137
+ msgid "Host Group"
138
+ msgstr "Skupina strojů"
139
+
140
+ msgid "Hosts Limit"
141
+ msgstr ""
142
+
143
+ msgid "Enabled"
144
+ msgstr "Zapnuto"
145
+
146
+ msgid "Hostname template"
147
+ msgstr "Šablona názvu stroje"
148
+
149
+ msgid "Rule created"
150
+ msgstr "Pravidlo vytvořeno"
151
+
152
+ msgid "Could not create the rule"
153
+ msgstr "Pravidlo se nedaří vytvořit"
154
+
155
+ msgid "Rule updated"
156
+ msgstr "Pravidlo aktualizováno"
157
+
158
+ msgid "Could not update the rule"
159
+ msgstr "Pravidlo se nedaří aktualizovat"
160
+
161
+ msgid "Rule deleted"
162
+ msgstr "Pravidlo smazáno"
163
+
164
+ msgid "Could not delete the rule"
165
+ msgstr "Pravidlo se nedaří smazat"
@@ -1,21 +1,25 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_discovery package.
4
4
  #
5
5
  # Translators:
6
6
  # Christina Gurski <Gurski_christina@yahoo.de>, 2015
7
7
  # Ettore Atalan <atalanttore@googlemail.com>, 2015
8
+ # Martin Zimmermann <martin.zimmermann@gmx.com>, 2018
9
+ # pdolinic, 2021
8
10
  msgid ""
9
11
  msgstr ""
10
- "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
12
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.1.0\n"
11
13
  "Report-Msgid-Bugs-To: \n"
12
- "PO-Revision-Date: 2015-06-18 19:38+0000\n"
13
- "Last-Translator: Christina Gurski <Gurski_christina@yahoo.de>\n"
14
- "Language-Team: German (http://www.transifex.com/foreman/foreman/language/de/)\n"
15
- "Language: de\n"
14
+ "POT-Creation-Date: 2019-07-31 09:22+0200\n"
15
+ "PO-Revision-Date: 2015-01-21 10:30+0000\n"
16
+ "Last-Translator: pdolinic, 2021\n"
17
+ "Language-Team: German (http://app.transifex.com/foreman/foreman/language/"
18
+ "de/)\n"
16
19
  "MIME-Version: 1.0\n"
17
20
  "Content-Type: text/plain; charset=UTF-8\n"
18
21
  "Content-Transfer-Encoding: 8bit\n"
22
+ "Language: de\n"
19
23
  "Plural-Forms: nplurals=2; plural=(n != 1);\n"
20
24
 
21
25
  msgid "Manipulate discovered hosts."
@@ -61,7 +65,7 @@ msgid "Organization"
61
65
  msgstr "Organisation"
62
66
 
63
67
  msgid "Location"
64
- msgstr "Ort"
68
+ msgstr "Standort"
65
69
 
66
70
  msgid "Fact"
67
71
  msgstr "Fakt"
@@ -94,21 +98,19 @@ msgid "Auto provision a host"
94
98
  msgstr "Host automatisch bereitstellen"
95
99
 
96
100
  msgid "Auto provision all discovered hosts"
97
- msgstr ""
101
+ msgstr "Automatische Bereitstellung aller erkannten Hosts"
98
102
 
99
- #, fuzzy
100
103
  msgid "Hosts created"
101
- msgstr "Host erstellt"
104
+ msgstr "Hosts erstellt"
102
105
 
103
106
  msgid "Reboot a host"
104
- msgstr "Host neu starten"
107
+ msgstr "Host neustarten"
105
108
 
106
109
  msgid "Reboot all discovered hosts"
107
- msgstr ""
110
+ msgstr "Alle entdeckte Hosts neu starten"
108
111
 
109
- #, fuzzy
110
112
  msgid "Rebooting hosts"
111
- msgstr "Host neu starten"
113
+ msgstr "Hosts neu starten"
112
114
 
113
115
  msgid "Host reboot started"
114
116
  msgstr "Host wird neu gestartet"
@@ -5,9 +5,10 @@
5
5
  #
6
6
  msgid ""
7
7
  msgstr ""
8
- "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
8
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.1.0\n"
9
9
  "Report-Msgid-Bugs-To: \n"
10
- "PO-Revision-Date: 2015-01-21 12:06+0200\n"
10
+ "POT-Creation-Date: 2019-07-31 09:22+0200\n"
11
+ "PO-Revision-Date: 2019-07-31 09:22+0200\n"
11
12
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
13
  "Language-Team: LANGUAGE <LL@li.org>\n"
13
14
  "Language: \n"
@@ -1,18 +1,19 @@
1
1
  # SOME DESCRIPTIVE TITLE.
2
2
  # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
3
+ # This file is distributed under the same license as the hammer_cli_foreman_discovery package.
4
4
  #
5
5
  # Translators:
6
- # Andi Chandler <andi@gowling.com>, 2015
7
- # Dominic Cleal <dcleal@redhat.com>, 2015
6
+ # Andi Chandler <andi@gowling.com>, 2015,2018-2019
7
+ # 0868a4d1af5275b3f70b0a6dac4c99a4, 2015
8
8
  msgid ""
9
9
  msgstr ""
10
- "Project-Id-Version: hammer_cli_foreman_discovery 1.0.0\n"
10
+ "Project-Id-Version: hammer_cli_foreman_discovery 1.1.0\n"
11
11
  "Report-Msgid-Bugs-To: \n"
12
- "PO-Revision-Date: 2015-05-28 23:40+0000\n"
13
- "Last-Translator: Andi Chandler <andi@gowling.com>\n"
14
- "Language-Team: English (United Kingdom) (http://www.transifex.com/foreman/fore"
15
- "man/language/en_GB/)\n"
12
+ "POT-Creation-Date: 2019-07-31 09:22+0200\n"
13
+ "PO-Revision-Date: 2015-01-21 10:30+0000\n"
14
+ "Last-Translator: Andi Chandler <andi@gowling.com>, 2015,2018-2019\n"
15
+ "Language-Team: English (United Kingdom) (http://app.transifex.com/foreman/"
16
+ "foreman/language/en_GB/)\n"
16
17
  "MIME-Version: 1.0\n"
17
18
  "Content-Type: text/plain; charset=UTF-8\n"
18
19
  "Content-Transfer-Encoding: 8bit\n"
@@ -95,21 +96,19 @@ msgid "Auto provision a host"
95
96
  msgstr "Auto provision a host"
96
97
 
97
98
  msgid "Auto provision all discovered hosts"
98
- msgstr ""
99
+ msgstr "Auto provision all discovered hosts"
99
100
 
100
- #, fuzzy
101
101
  msgid "Hosts created"
102
- msgstr "Host created"
102
+ msgstr "Hosts created"
103
103
 
104
104
  msgid "Reboot a host"
105
105
  msgstr "Reboot a host"
106
106
 
107
107
  msgid "Reboot all discovered hosts"
108
- msgstr ""
108
+ msgstr "Reboot all discovered hosts"
109
109
 
110
- #, fuzzy
111
110
  msgid "Rebooting hosts"
112
- msgstr "Reboot a host"
111
+ msgstr "Rebooting hosts"
113
112
 
114
113
  msgid "Host reboot started"
115
114
  msgstr "Host reboot started"