hammer_cli_foreman_virt_who_configure 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (74) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +7 -0
  3. data/config/foreman_virt_who_configure.yml +2 -0
  4. data/lib/hammer_cli_foreman_virt_who_configure.rb +9 -0
  5. data/lib/hammer_cli_foreman_virt_who_configure/config.rb +223 -0
  6. data/lib/hammer_cli_foreman_virt_who_configure/i18n.rb +29 -0
  7. data/lib/hammer_cli_foreman_virt_who_configure/system_caller.rb +20 -0
  8. data/lib/hammer_cli_foreman_virt_who_configure/version.rb +5 -0
  9. data/locale/Makefile +66 -0
  10. data/locale/README.md +18 -0
  11. data/locale/ca/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  12. data/locale/ca/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  13. data/locale/ca/hammer-cli-foreman-virt-who-configure.po +132 -0
  14. data/locale/ca/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  15. data/locale/de/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  16. data/locale/de/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  17. data/locale/de/hammer-cli-foreman-virt-who-configure.po +132 -0
  18. data/locale/de/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  19. data/locale/en/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  20. data/locale/en/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  21. data/locale/en/hammer-cli-foreman-virt-who-configure.po +132 -0
  22. data/locale/en/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  23. data/locale/en_GB/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  24. data/locale/en_GB/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  25. data/locale/en_GB/hammer-cli-foreman-virt-who-configure.po +132 -0
  26. data/locale/en_GB/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  27. data/locale/es/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  28. data/locale/es/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  29. data/locale/es/hammer-cli-foreman-virt-who-configure.po +132 -0
  30. data/locale/es/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  31. data/locale/fr/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  32. data/locale/fr/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  33. data/locale/fr/hammer-cli-foreman-virt-who-configure.po +132 -0
  34. data/locale/fr/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  35. data/locale/hammer-cli-foreman-virt-who-configure.pot +177 -0
  36. data/locale/it/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  37. data/locale/it/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  38. data/locale/it/hammer-cli-foreman-virt-who-configure.po +132 -0
  39. data/locale/it/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  40. data/locale/ja/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  41. data/locale/ja/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  42. data/locale/ja/hammer-cli-foreman-virt-who-configure.po +132 -0
  43. data/locale/ja/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  44. data/locale/ko/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  45. data/locale/ko/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  46. data/locale/ko/hammer-cli-foreman-virt-who-configure.po +132 -0
  47. data/locale/ko/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  48. data/locale/pt_BR/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  49. data/locale/pt_BR/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  50. data/locale/pt_BR/hammer-cli-foreman-virt-who-configure.po +132 -0
  51. data/locale/pt_BR/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  52. data/locale/ru/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  53. data/locale/ru/hammer-cli-foreman-virt-who-configure.edit.po +171 -0
  54. data/locale/ru/hammer-cli-foreman-virt-who-configure.po +133 -0
  55. data/locale/ru/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  56. data/locale/zh_CN/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  57. data/locale/zh_CN/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  58. data/locale/zh_CN/hammer-cli-foreman-virt-who-configure.po +132 -0
  59. data/locale/zh_CN/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  60. data/locale/zh_TW/LC_MESSAGES/hammer-cli-foreman-virt-who-configure.mo +0 -0
  61. data/locale/zh_TW/hammer-cli-foreman-virt-who-configure.edit.po +170 -0
  62. data/locale/zh_TW/hammer-cli-foreman-virt-who-configure.po +132 -0
  63. data/locale/zh_TW/hammer-cli-foreman-virt-who-configure.po.time_stamp +0 -0
  64. data/test/data/1.15/foreman_api.json +1 -0
  65. data/test/functional/config/config_create_test.rb +93 -0
  66. data/test/functional/config/config_deploy_test.rb +56 -0
  67. data/test/functional/config/config_fetch_test.rb +60 -0
  68. data/test/functional/config/config_info_test.rb +147 -0
  69. data/test/functional/config/config_list_test.rb +53 -0
  70. data/test/functional/config/config_update_test.rb +46 -0
  71. data/test/functional/test_helper.rb +60 -0
  72. data/test/test_helper.rb +15 -0
  73. data/test/unit/system_caller_test.rb +26 -0
  74. metadata +154 -0
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: e293e6b8beb8be03fe09ec3faf7ef1360ccfc454
4
+ data.tar.gz: 69d4d5f06c5af8ed64d5a27d1bba15012ac0bd46
5
+ SHA512:
6
+ metadata.gz: 017cf23acc7a82895343feda1c1d279c86b658c15b5916c7acc08a57582d9436170d8a6691fc75d7b7c2537baebe0668d4d3eeceaf2c228a88102f0a459c20a6
7
+ data.tar.gz: c42922e09f420d3d764232539d7993d99d56bea4b0f2f21018cf3fb5d02dd4baa49a12e0956f08bc0a8bad27cda0413a43ebcb0b6bc5bb0b671e0a7f4419a57c
data/README.md ADDED
@@ -0,0 +1,7 @@
1
+ Hammer CLI commands for configuring Virt Who for Katello
2
+ ========================================================
3
+
4
+ License
5
+ -------
6
+
7
+ This project is licensed under the GPLv3+.
@@ -0,0 +1,2 @@
1
+ :foreman_virt_who_configure:
2
+ :enable_module: true
@@ -0,0 +1,9 @@
1
+ require 'hammer_cli'
2
+ require 'hammer_cli_foreman'
3
+ require 'hammer_cli_foreman_virt_who_configure/i18n'
4
+
5
+ module HammerCLIForemanVirtWhoConfigure
6
+ HammerCLI::MainCommand.lazy_subcommand('virt-who-config', _("Manage Virt Who configurations"),
7
+ 'HammerCLIForemanVirtWhoConfigure::VirtWhoConfig', 'hammer_cli_foreman_virt_who_configure/config'
8
+ )
9
+ end
@@ -0,0 +1,223 @@
1
+ require 'hammer_cli_foreman_virt_who_configure/system_caller'
2
+
3
+ module HammerCLIForemanVirtWhoConfigure
4
+ MODE_UNLIMITED = 0
5
+ MODE_WHITELIST = 1
6
+ MODE_BLACKLIST = 2
7
+
8
+ class VirtWhoConfig < HammerCLIForeman::Command
9
+ resource :configs
10
+
11
+ def self.format_interval(interval)
12
+ hr_interval = (interval / 60)
13
+ if hr_interval <= 1
14
+ _('every hour')
15
+ else
16
+ _('every %s hours') % (interval / 60)
17
+ end
18
+ end
19
+
20
+ def self.format_status(status)
21
+ case status
22
+ when 'unknown'
23
+ _('No Report Yet')
24
+ when 'ok', 'out_of_date'
25
+ _('OK')
26
+ when 'error'
27
+ _('Error')
28
+ else
29
+ _('Unknown configuration status')
30
+ end
31
+ end
32
+
33
+ def self.format_filtering_mode(mode)
34
+ case mode
35
+ when MODE_UNLIMITED
36
+ _('Unlimited')
37
+ when MODE_WHITELIST
38
+ _('Whitelist')
39
+ when MODE_BLACKLIST
40
+ _('Blacklist')
41
+ else
42
+ _('Unknown listing mode')
43
+ end
44
+ end
45
+
46
+ class ListCommand < HammerCLIForeman::ListCommand
47
+ output do
48
+ field :id, _('Id')
49
+ field :name, _('Name')
50
+ field :_interval, _('Interval')
51
+ field :_status, _('Status')
52
+ field :last_report_at, _('Last Report At'), Fields::Date
53
+ end
54
+
55
+ def extend_data(conf)
56
+ conf['_interval'] = VirtWhoConfig.format_interval(conf['interval'])
57
+ conf['_status'] = VirtWhoConfig.format_status(conf['status'])
58
+ conf
59
+ end
60
+
61
+ build_options
62
+ end
63
+
64
+ class InfoCommand < HammerCLIForeman::InfoCommand
65
+ output do
66
+ label _('General information') do
67
+ field :id, _('Id')
68
+ field :name, _('Name')
69
+ field :hypervisor_type, _('Hypervisor type')
70
+ field :hypervisor_server, _('Hypervisor server')
71
+ field :hypervisor_username, _('Hypervisor username')
72
+ field :hypervisor_password, _('Hypervisor password')
73
+ field :_status, _('Status')
74
+ end
75
+ label _('Schedule') do
76
+ field :_interval, _('Interval')
77
+ field :last_report_at, _('Last Report At'), Fields::Date
78
+ end
79
+ label _('Connection') do
80
+ field :satellite_url, _('Satellite server')
81
+ field :hypervisor_id, _('Hypervisor ID')
82
+ field :_filtering_mode, _('Filtering')
83
+ field :blacklist, _('Excluded hosts'), Fields::Field, :hide_blank => true
84
+ field :whitelist, _('Filtered hosts'), Fields::Field, :hide_blank => true
85
+ field :debug, _('Debug mode'), Fields::Boolean
86
+ field :proxy, _('HTTP proxy')
87
+ field :no_proxy, _('Ignore proxy')
88
+ end
89
+ HammerCLIForeman::References.taxonomies(self)
90
+ end
91
+
92
+ def extend_data(conf)
93
+ conf['_interval'] = VirtWhoConfig.format_interval(conf['interval'])
94
+ conf['_status'] = VirtWhoConfig.format_status(conf['status'])
95
+ conf['_filtering_mode'] = VirtWhoConfig.format_filtering_mode(conf['filtering_mode'])
96
+ # Show host lists only in relevant filtering modes
97
+ if conf['filtering_mode'] != MODE_WHITELIST
98
+ conf['whitelist'] = nil
99
+ else
100
+ conf['whitelist'] ||= " "
101
+ end
102
+ if conf['filtering_mode'] != MODE_BLACKLIST
103
+ conf['blacklist'] = nil
104
+ else
105
+ conf['blacklist'] ||= " "
106
+ end
107
+ conf
108
+ end
109
+
110
+ build_options
111
+ end
112
+
113
+ class FetchCommand < HammerCLIForeman::Command
114
+ command_name "fetch"
115
+ action :deploy_script
116
+
117
+ failure_message _('Could not fetch the Virt Who configuration')
118
+
119
+ option ['--output', '-o'], 'FILE', _('File where the script will be written.')
120
+
121
+ def execute
122
+ data = send_request
123
+ if option_output
124
+ path = File.expand_path(option_output)
125
+ if File.exists?(path)
126
+ # this could be a security issue, the file should be readable only by the user
127
+ output.print_error(
128
+ _('Could not save the script'),
129
+ _("File at %{path} already exists, please specify a different path.") % { :path => path }
130
+ )
131
+ return HammerCLI::EX_USAGE
132
+ else
133
+ File.write(path, data, { :perm => 0700, :mode => File::RDWR|File::CREAT|File::EXCL })
134
+ return HammerCLI::EX_OK
135
+ end
136
+ else
137
+ puts data
138
+ return HammerCLI::EX_OK
139
+ end
140
+ end
141
+
142
+ def transform_format(data)
143
+ data['virt_who_config_script']
144
+ end
145
+
146
+ build_options
147
+ end
148
+
149
+ class DeployCommand < HammerCLIForeman::Command
150
+ command_name "deploy"
151
+ desc _('Download and execute script for the specified virt-who configuration')
152
+ action :deploy_script
153
+
154
+ failure_message _('Could not deploy the Virt Who configuration')
155
+
156
+ def execute
157
+ script = send_request
158
+ if system_caller.system(script)
159
+ HammerCLI::EX_OK
160
+ else
161
+ HammerCLI::EX_SOFTWARE
162
+ end
163
+ end
164
+
165
+ def transform_format(data)
166
+ data['virt_who_config_script']
167
+ end
168
+
169
+ def system_caller
170
+ context[:system_caller] || HammerCLIForemanVirtWhoConfigure::SystemCaller.new
171
+ end
172
+
173
+ build_options
174
+ end
175
+
176
+ module UpdateCommons
177
+ FILTER_MAPPING = {
178
+ 'none' => 0,
179
+ 'whitelist' => 1,
180
+ 'blacklist' => 2
181
+ }
182
+
183
+ def self.included(base)
184
+ base.option '--filtering-mode', 'MODE', _('Hypervisor filtering mode'),
185
+ :format => HammerCLI::Options::Normalizers::Enum.new(FILTER_MAPPING.keys)
186
+ end
187
+
188
+ def request_params
189
+ params = super
190
+ mode = params['foreman_virt_who_configure_config']['filtering_mode']
191
+ params['foreman_virt_who_configure_config']['filtering_mode'] = FILTER_MAPPING[mode] if mode
192
+ params
193
+ end
194
+ end
195
+
196
+ class CreateCommand < HammerCLIForeman::CreateCommand
197
+ include UpdateCommons
198
+
199
+ success_message _('Virt Who configuration [%{name}] created')
200
+ failure_message _('Could not create the Virt Who configuration')
201
+
202
+ build_options
203
+ end
204
+
205
+ class UpdateCommand < HammerCLIForeman::UpdateCommand
206
+ include UpdateCommons
207
+
208
+ success_message _('Virt Who configuration [%{name}] updated')
209
+ failure_message _('Could not create the Virt Who configuration')
210
+
211
+ build_options
212
+ end
213
+
214
+ class DeleteCommand < HammerCLIForeman::DeleteCommand
215
+ success_message _('Virt Who configuration deleted')
216
+ failure_message _('Could not delete the Virt Who configuration')
217
+
218
+ build_options
219
+ end
220
+
221
+ autoload_subcommands
222
+ end
223
+ end
@@ -0,0 +1,29 @@
1
+ require 'hammer_cli/i18n'
2
+
3
+ module HammerCLIForemanVirtWhoConfigure
4
+ module I18n
5
+ class LocaleDomain < HammerCLI::I18n::LocaleDomain
6
+ def translated_files
7
+ Dir.glob(File.join(File.dirname(__FILE__), '../**/*.rb'))
8
+ end
9
+
10
+ def locale_dir
11
+ File.join(File.dirname(__FILE__), '../../locale')
12
+ end
13
+
14
+ def domain_name
15
+ 'hammer-cli-foreman-virt-who-configure'
16
+ end
17
+ end
18
+
19
+ class SystemLocaleDomain < LocaleDomain
20
+ def locale_dir
21
+ '/usr/share/locale'
22
+ end
23
+ end
24
+ end
25
+ end
26
+
27
+ domains = [HammerCLIForemanVirtWhoConfigure::I18n::LocaleDomain.new, HammerCLIForemanVirtWhoConfigure::I18n::SystemLocaleDomain.new]
28
+ domain = domains.find { |d| d.available? }
29
+ HammerCLI::I18n.add_domain(domain) if domain
@@ -0,0 +1,20 @@
1
+ module HammerCLIForemanVirtWhoConfigure
2
+ class SystemCaller
3
+ def initialize(tempfile = nil)
4
+ @tempfile = tempfile || Tempfile.new('virt_who')
5
+ end
6
+
7
+ def system(commad)
8
+ result = nil
9
+ begin
10
+ @tempfile.write(commad)
11
+ @tempfile.flush # to make sure the command is complete
12
+ result = Kernel.system("/usr/bin/bash #{@tempfile.path}")
13
+ ensure
14
+ @tempfile.close
15
+ @tempfile.unlink
16
+ end
17
+ result
18
+ end
19
+ end
20
+ end
@@ -0,0 +1,5 @@
1
+ module HammerCLIForemanVirtWhoConfigure
2
+ def self.version
3
+ @version ||= Gem::Version.new '0.0.1'
4
+ end
5
+ end
data/locale/Makefile ADDED
@@ -0,0 +1,66 @@
1
+ #
2
+ # Makefile for PO merging and MO generation. More info in the README.
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
8
+ #
9
+ DOMAIN = hammer-cli-foreman-virt-who-configure
10
+ VERSION = $(shell ruby -e 'require "rubygems";spec = Gem::Specification::load("../hammer_cli_foreman_virt_who_configure.gemspec");puts spec.version')
11
+ POTFILE = $(DOMAIN).pot
12
+ MOFILE = $(DOMAIN).mo
13
+ POFILES = $(shell find . -name '$(DOMAIN).po')
14
+ MOFILES = $(patsubst %.po,%.mo,$(POFILES))
15
+ POXFILES = $(patsubst %.po,%.pox,$(POFILES))
16
+ EDITFILES = $(patsubst %.po,%.edit.po,$(POFILES))
17
+ TIMESTAMPFILES = $(patsubst %.po,%.po.time_stamp,$(POFILES))
18
+
19
+ %.mo: %.po
20
+ mkdir -p $(shell dirname $@)/LC_MESSAGES
21
+ msgfmt -o $(shell dirname $@)/LC_MESSAGES/$(MOFILE) $<
22
+
23
+ # Generate MO files from PO files
24
+ all-mo: $(MOFILES)
25
+
26
+ # Check for malformed strings
27
+ %.pox: %.po
28
+ msgfmt -c $<
29
+ pofilter --nofuzzy -t variables -t blank -t urls -t emails -t long -t newlines \
30
+ -t endwhitespace -t endpunc -t puncspacing -t options -t printf -t validchars --gnome $< > $@
31
+ cat $@
32
+ ! grep -q msgid $@
33
+
34
+ check: $(POXFILES)
35
+
36
+ # Unify duplicate translations
37
+ uniq-po:
38
+ for f in $(shell find ./ -name "*.po") ; do \
39
+ msguniq $$f -o $$f ; \
40
+ done
41
+
42
+ %.edit.po:
43
+ touch $@
44
+
45
+ tx-pull: $(EDITFILES)
46
+ tx pull -f
47
+ for f in $(EDITFILES); do \
48
+ sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
49
+ done
50
+
51
+ # Merge .edit.po into .po
52
+ update-po:
53
+ for f in $(EDITFILES); do \
54
+ msgcat --use-first --no-location $$f $${f//.edit/} > $${f//.edit/}; \
55
+ done
56
+
57
+ # Extract strings and update the .pot, prepare .edit.po files
58
+ extract-strings:
59
+ bundle exec rake gettext:find
60
+
61
+ tx-update: extract-strings tx-pull update-po $(MOFILES)
62
+ git commit -m "i18n - extracting new, pulling from tx" ../locale
63
+ -echo Changes commited!
64
+
65
+ clean:
66
+ rm -f $(EDITFILES) $(TIMESTAMPFILES)
data/locale/README.md ADDED
@@ -0,0 +1,18 @@
1
+ Updating the translations
2
+ -------------------------
3
+
4
+ 1. Check if there are any new languages with progress more than 50% on [transifex](https://www.transifex.com/projects/p/foreman/resource/hammer-cli-foreman-virt-who-configure/). If so, do the following for each of the new languages:
5
+
6
+ ```
7
+ mkdir locale/<lang>
8
+ cp locale/hammer-cli-foreman.pot locale/<lang>/hammer-cli-foreman.po
9
+ ```
10
+ 2. Make sure you have `transifex-client` installed
11
+
12
+ 3. Update the translations. From GIT repo root directory run:
13
+
14
+ ```
15
+ make -C locale tx-update
16
+ ```
17
+
18
+ It will download translations from transifex, generates `mo` files, updates strings in `pot` file and wraps all the changes in a new commit. Transifex automatically updates its strings when the commit is pushed to Github.
@@ -0,0 +1,170 @@
1
+ # Catalan translations for hammer-cli-foreman-virt-who-configure package.
2
+ # Copyright (C) 2017 THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the hammer-cli-foreman-virt-who-configure package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, 2017.
5
+ #
6
+ msgid ""
7
+ msgstr ""
8
+ "Project-Id-Version: hammer-cli-foreman-virt-who-configure 0.0.1\n"
9
+ "Report-Msgid-Bugs-To: \n"
10
+ "PO-Revision-Date: 2017-05-19 13:34+0200\n"
11
+ "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
12
+ "Language-Team: Catalan\n"
13
+ "Language: ca\n"
14
+ "MIME-Version: 1.0\n"
15
+ "Content-Type: text/plain; charset=UTF-8\n"
16
+ "Content-Transfer-Encoding: 8bit\n"
17
+ "Plural-Forms: nplurals=2; plural=n != 1;\n"
18
+ "\n"
19
+
20
+ #: ../lib/hammer_cli_foreman_virt_who_configure.rb:6
21
+ msgid "Manage Virt Who configurations"
22
+ msgstr ""
23
+
24
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:12
25
+ msgid "every hour"
26
+ msgstr ""
27
+
28
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:14
29
+ msgid "every %s hours"
30
+ msgstr ""
31
+
32
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:21
33
+ msgid "No Report Yet"
34
+ msgstr ""
35
+
36
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:23
37
+ msgid "OK"
38
+ msgstr ""
39
+
40
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:25
41
+ msgid "Error"
42
+ msgstr ""
43
+
44
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:27
45
+ msgid "Unknown configuration status"
46
+ msgstr ""
47
+
48
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:34
49
+ msgid "Unlimited"
50
+ msgstr ""
51
+
52
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:36
53
+ msgid "Whitelist"
54
+ msgstr ""
55
+
56
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:38
57
+ msgid "Blacklist"
58
+ msgstr ""
59
+
60
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:40
61
+ msgid "Unknown listing mode"
62
+ msgstr ""
63
+
64
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:46 ../lib/hammer_cli_foreman_virt_who_configure/config.rb:65
65
+ msgid "Id"
66
+ msgstr ""
67
+
68
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:47 ../lib/hammer_cli_foreman_virt_who_configure/config.rb:66
69
+ msgid "Name"
70
+ msgstr ""
71
+
72
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:48 ../lib/hammer_cli_foreman_virt_who_configure/config.rb:74
73
+ msgid "Interval"
74
+ msgstr ""
75
+
76
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:49 ../lib/hammer_cli_foreman_virt_who_configure/config.rb:71
77
+ msgid "Status"
78
+ msgstr ""
79
+
80
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:50 ../lib/hammer_cli_foreman_virt_who_configure/config.rb:75
81
+ msgid "Last Report At"
82
+ msgstr ""
83
+
84
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:64
85
+ msgid "General information"
86
+ msgstr ""
87
+
88
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:67
89
+ msgid "Hypervisor type"
90
+ msgstr ""
91
+
92
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:68
93
+ msgid "Hypervisor server"
94
+ msgstr ""
95
+
96
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:69
97
+ msgid "Hypervisor username"
98
+ msgstr ""
99
+
100
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:70
101
+ msgid "Hypervisor password"
102
+ msgstr ""
103
+
104
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:73
105
+ msgid "Schedule"
106
+ msgstr ""
107
+
108
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:77
109
+ msgid "Connection"
110
+ msgstr ""
111
+
112
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:78
113
+ msgid "Satellite server"
114
+ msgstr ""
115
+
116
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:79
117
+ msgid "Hypervisor ID"
118
+ msgstr ""
119
+
120
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:80
121
+ msgid "Filtering"
122
+ msgstr ""
123
+
124
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:81
125
+ msgid "Filtered hosts"
126
+ msgstr ""
127
+
128
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:82
129
+ msgid "Excluded hosts"
130
+ msgstr ""
131
+
132
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:83
133
+ msgid "Debug mode"
134
+ msgstr ""
135
+
136
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:84
137
+ msgid "HTTP proxy"
138
+ msgstr ""
139
+
140
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:85
141
+ msgid "Ignore proxy"
142
+ msgstr ""
143
+
144
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:115
145
+ msgid "File where the script will be written."
146
+ msgstr ""
147
+
148
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:164
149
+ msgid "Hypervisor filtering mode"
150
+ msgstr ""
151
+
152
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:179
153
+ msgid "Virt Who configuration [%{name}] created"
154
+ msgstr ""
155
+
156
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:180 ../lib/hammer_cli_foreman_virt_who_configure/config.rb:189
157
+ msgid "Could not create the Virt Who configuration"
158
+ msgstr ""
159
+
160
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:188
161
+ msgid "Virt Who configuration [%{name}] updated"
162
+ msgstr ""
163
+
164
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:195
165
+ msgid "Virt Who configuration deleted"
166
+ msgstr ""
167
+
168
+ #: ../lib/hammer_cli_foreman_virt_who_configure/config.rb:196
169
+ msgid "Could not delete the Virt Who configuration"
170
+ msgstr ""