foreman_snapshot_management 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (39) hide show
  1. checksums.yaml +4 -4
  2. data/app/controllers/api/v2/snapshots_controller.rb +4 -1
  3. data/app/controllers/concerns/foreman/controller/parameters/snapshot.rb +1 -1
  4. data/app/controllers/foreman_snapshot_management/snapshots_controller.rb +16 -2
  5. data/app/models/foreman_snapshot_management/proxmox_extensions.rb +3 -3
  6. data/app/models/foreman_snapshot_management/snapshot.rb +4 -4
  7. data/app/models/foreman_snapshot_management/vmware_extensions.rb +13 -3
  8. data/app/views/foreman_snapshot_management/snapshots/_index.html.erb +2 -1
  9. data/app/views/foreman_snapshot_management/snapshots/select_multiple_host.html.erb +5 -3
  10. data/lib/foreman_snapshot_management/version.rb +1 -1
  11. data/locale/Makefile +7 -3
  12. data/locale/cs_CZ/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  13. data/locale/cs_CZ/foreman_snapshot_management.po +195 -0
  14. data/locale/de/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  15. data/locale/de/foreman_snapshot_management.po +10 -10
  16. data/locale/el/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  17. data/locale/el/foreman_snapshot_management.po +190 -0
  18. data/locale/en/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  19. data/locale/en/foreman_snapshot_management.po +22 -13
  20. data/locale/foreman_snapshot_management.pot +56 -35
  21. data/locale/fr/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  22. data/locale/fr/foreman_snapshot_management.po +196 -0
  23. data/locale/ja/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  24. data/locale/ja/foreman_snapshot_management.po +189 -0
  25. data/locale/ka/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  26. data/locale/ka/foreman_snapshot_management.po +190 -0
  27. data/locale/zh_CN/LC_MESSAGES/foreman_snapshot_management.mo +0 -0
  28. data/locale/zh_CN/foreman_snapshot_management.po +191 -0
  29. data/package.json +3 -2
  30. data/test/controllers/foreman_snapshot_management/snapshots_controller_test.rb +17 -2
  31. data/webpack/components/SnapshotManagement/SnapshotManagement.js +2 -0
  32. data/webpack/components/SnapshotManagement/components/SnapshotForm/SnapshotForm.js +53 -11
  33. data/webpack/components/SnapshotManagement/components/SnapshotForm/__tests__/__snapshots__/SnapshotForm.test.js.snap +262 -24
  34. data/webpack/components/SnapshotManagementCard/SnapshotManagementCard.js +61 -0
  35. data/webpack/components/SnapshotManagementCard/__tests__/SnapshotManagementCard.test.js +53 -0
  36. data/webpack/components/SnapshotManagementCard/__tests__/__snapshots__/SnapshotManagementCard.test.js.snap +132 -0
  37. data/webpack/components/SnapshotManagementCard/index.js +1 -0
  38. data/webpack/global_index.js +13 -0
  39. metadata +21 -6
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 682e7ff61a5f90d7c1e1a07c12d1d27dc40deafb6bbae57e842fcf906e15c30f
4
- data.tar.gz: ddf453d479054de2f1f1b7efe78b24ae12977882482db989953125aea0488fd8
3
+ metadata.gz: a72d5258122e53aa172e3d7050fcc297cbd243d051399d607d2fb7f6b60e10a6
4
+ data.tar.gz: 0fe77d3ae45c6529bad97d6581751e6c2b1c123207a106e25d25262b187cb05d
5
5
  SHA512:
6
- metadata.gz: b92836939d7d8c70f965fa1f1859895412ddc66a8e64a353b60b2fb8a8ad120a737ad39cd1d38ff91eb58f48e057bcee1572c9a00d4e4d988f9902df4bd2c2d7
7
- data.tar.gz: 4a0b0488fb4e7642f065b04d15925faa4550dd669129aeb1c40e18bd0a7cbca6a014ab8c16551f2c3d61b13843e7ffe964fd28b60f258ce09baf6dd272455b86
6
+ metadata.gz: cc29170c56484db47968e7116bec4a09cd4ef47414b957edd7dcc43ca7d8db2de50d72c846565a57d966dc858c4bcf3410c29bb32ceca7e49af28d7d00b095fa
7
+ data.tar.gz: a31ad508279a04c186e4b79fe9d2be68c0136d473e2a535805d9f50fdee0afee173fecf9547b8ff8766614ee40b64cde848609e56fcc843433d8760140dfc685
@@ -46,10 +46,13 @@ module Api
46
46
  api :POST, '/hosts/:host_id/snapshots', N_('Create a snapshot')
47
47
  param :host_id, :identifier_dottable, :required => true
48
48
  param :include_ram, :bool, :default_value => false, :desc => N_('Whether to include the RAM state in the snapshot')
49
+ param :quiesce, :bool, :default_value => false, :desc => N_('Whether to include the Quiesce state in the snapshot')
49
50
  param_group :snapshot, :as => :create
50
51
 
51
52
  def create
52
- @snapshot = resource_class.new(snapshot_params.to_h.merge(host: @host).merge(include_ram: Foreman::Cast.to_bool(params[:include_ram])))
53
+ @snapshot = resource_class.new(snapshot_params.to_h.merge(host: @host).merge(
54
+ include_ram: Foreman::Cast.to_bool(params[:include_ram]), quiesce: Foreman::Cast.to_bool(params[:quiesce])
55
+ ))
53
56
  process_response @snapshot.create
54
57
  end
55
58
 
@@ -6,7 +6,7 @@ module Foreman::Controller::Parameters::Snapshot
6
6
  class_methods do
7
7
  def snapshot_params_filter
8
8
  Foreman::ParameterFilter.new(::ForemanSnapshotManagement::Snapshot).tap do |filter|
9
- filter.permit :name, :description, :include_ram, :host_id
9
+ filter.permit :name, :description, :include_ram, :quiesce, :host_id
10
10
  end
11
11
  end
12
12
  end
@@ -28,7 +28,7 @@ module ForemanSnapshotManagement
28
28
  #
29
29
  # This method creates a Snapshot with a given name and optional description.
30
30
  def create
31
- @snapshot = Snapshot.new(snapshot_params.merge(host: @host).merge(include_ram: params[:snapshot][:include_ram]))
31
+ @snapshot = Snapshot.new(snapshot_params.merge(host: @host).merge(include_ram: params[:snapshot][:include_ram], quiesce: params[:snapshot][:quiesce]))
32
32
 
33
33
  if @snapshot.create
34
34
  process_success
@@ -79,6 +79,7 @@ module ForemanSnapshotManagement
79
79
 
80
80
  def create_multiple_host
81
81
  data = snapshot_params
82
+ snapshot_mode_assignment(params[:snapshot][:snapshot_mode], data)
82
83
  snapshots_created = 0
83
84
  errors = []
84
85
  @hosts.each do |h|
@@ -106,10 +107,23 @@ module ForemanSnapshotManagement
106
107
  redirect_back_or_to hosts_path
107
108
  end
108
109
 
110
+ def snapshot_mode_assignment(snapshot_mode, data)
111
+ if snapshot_mode == 'memory'
112
+ data[:include_ram] = true
113
+ data[:quiesce] = false
114
+ elsif snapshot_mode == 'quiesce'
115
+ data[:include_ram] = false
116
+ data[:quiesce] = true
117
+ else
118
+ data[:include_ram] = false
119
+ data[:quiesce] = false
120
+ end
121
+ end
122
+
109
123
  private
110
124
 
111
125
  def snapshot_params
112
- params.require(:snapshot).permit(:name, :description, :include_ram)
126
+ params.require(:snapshot).permit(:name, :description, :include_ram, :quiesce)
113
127
  end
114
128
 
115
129
  # Find Host
@@ -4,17 +4,17 @@ module ForemanSnapshotManagement
4
4
  module ProxmoxExtensions
5
5
  # Extend Proxmox's capabilities with snapshots.
6
6
  def capabilities
7
- super + [:snapshots]
7
+ super + [:snapshots, :limit_snapshot_name_format, :snapshot_include_ram]
8
8
  end
9
9
 
10
10
  # Create a Snapshot.
11
11
  #
12
12
  # This method creates a Snapshot with a given name and optional description.
13
- def create_snapshot(host, name, description, _include_ram = false)
13
+ def create_snapshot(host, name, description, include_ram = false, _quiesce = false)
14
14
  server = find_vm_by_uuid host.uuid
15
15
  raise _('Name must contain at least 2 characters starting with alphabet. Valid characters are A-Z a-z 0-9 _') unless /^[A-Za-z][\w]{1,}$/.match?(name)
16
16
 
17
- snapshot = server.snapshots.create(name: name)
17
+ snapshot = server.snapshots.create(name: name, vmstate: include_ram)
18
18
  snapshot.description = description
19
19
  snapshot.update
20
20
  rescue StandardError => e
@@ -12,9 +12,9 @@ module ForemanSnapshotManagement
12
12
  include ActiveModel::ForbiddenAttributesProtection
13
13
 
14
14
  define_model_callbacks :create, :save, :destroy, :revert
15
- attr_accessor :id, :raw_snapshot, :parent
16
- attr_writer :create_time
17
- attr_reader :name, :description, :include_ram, :host_id
15
+ attr_accessor :id, :raw_snapshot, :parent, :snapshot_mode
16
+ attr_writer :create_time, :quiesce
17
+ attr_reader :name, :description, :include_ram, :host_id, :quiesce
18
18
  define_attribute_methods :name, :description, :include_ram
19
19
 
20
20
  def self.model_name
@@ -122,7 +122,7 @@ module ForemanSnapshotManagement
122
122
  handle_snapshot_errors do
123
123
  host.audit_comment = "Create snapshot #{name}"
124
124
  host.save!
125
- host.compute_resource.create_snapshot(host, name, description, include_ram)
125
+ host.compute_resource.create_snapshot(host, name, description, include_ram, quiesce)
126
126
  changes_applied
127
127
  end
128
128
  end
@@ -4,14 +4,24 @@ module ForemanSnapshotManagement
4
4
  module VmwareExtensions
5
5
  # Extend VMWare's capabilities with snapshots.
6
6
  def capabilities
7
- super + [:snapshots, :snapshot_include_ram, :editable_snapshot_name]
7
+ super + [:snapshots, :snapshot_include_ram, :snapshot_include_quiesce, :editable_snapshot_name]
8
8
  end
9
9
 
10
10
  # Create a Snapshot.
11
11
  #
12
12
  # This method creates a Snapshot with a given name and optional description.
13
- def create_snapshot(host, name, description, include_ram = false)
14
- task = client.vm_take_snapshot('instance_uuid' => host.uuid, 'name' => name, 'description' => description, 'memory' => include_ram)
13
+ def create_snapshot(host, name, description, include_ram = false, quiesce = false)
14
+ server = find_vm_by_uuid(host.uuid)
15
+ raise N_('Unable to create VMWare Snapshot with Quiesce. Check Power and VMWare Tools status.') if quiesce && (server.power_state != 'poweredOn' || server.tools_state != 'toolsOk')
16
+ raise N_('Unable to create VMWare Snapshot. Cannot set both Memory and Quiesce options.') if quiesce && include_ram
17
+
18
+ task = client.vm_take_snapshot(
19
+ 'instance_uuid' => host.uuid,
20
+ 'name' => name,
21
+ 'description' => description,
22
+ 'quiesce' => quiesce,
23
+ 'memory' => include_ram
24
+ )
15
25
  task_successful?(task)
16
26
  rescue RbVmomi::Fault => e
17
27
  Foreman::Logging.exception('Error creating VMWare Snapshot', e)
@@ -7,6 +7,7 @@
7
7
  capabilities:
8
8
  {
9
9
  editableSnapshotName: @host.compute_resource.capable?(:editable_snapshot_name),
10
- limitSnapshotNameFormat: @host.compute_resource.type == "ForemanFogProxmox::Proxmox"
10
+ limitSnapshotNameFormat: @host.compute_resource.capable?(:limit_snapshot_name_format),
11
+ quiesceOption: @host.compute_resource.capable?(:snapshot_include_quiesce)
11
12
  }
12
13
  }) %>
@@ -10,8 +10,10 @@
10
10
  <%= textarea_f f, :description,
11
11
  { :label => _("Description")}
12
12
  %>
13
- <%= checkbox_f f, :include_ram,
14
- { :label => _("Include RAM")}
15
- %>
13
+ <%= selectable_f f, :snapshot_mode, {'Quiesce' => 'quiesce', 'Include RAM' => 'memory'},
14
+ {:include_blank => true}, {
15
+ :label => _("Snapshot Mode"),
16
+ :label_help => _("Select Snapshot Mode between mutually exclusive options, 'Memory' (includes RAM) and 'Quiesce'."),
17
+ :onchange => "tfm.hosts.table.toggleMultipleOkButton(this)"} %>
16
18
  <% end %>
17
19
  <% end %>
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ForemanSnapshotManagement
4
- VERSION = '2.0.2'
4
+ VERSION = '2.0.3'
5
5
  end
data/locale/Makefile CHANGED
@@ -6,8 +6,8 @@
6
6
  # make tx-update - download and merge translations from Transifex
7
7
  # make clean - clean everything
8
8
  #
9
- DOMAIN = foreman_snapshot_management
10
- VERSION = $(shell ruby -e 'require "rubygems";spec = Gem::Specification::load(Dir.glob("../*.gemspec")[0]);puts spec.version')
9
+ DOMAIN = $(shell ruby -rrubygems -e 'puts Gem::Specification::load(Dir.glob("../*.gemspec")[0]).name')
10
+ VERSION = $(shell ruby -rrubygems -e 'puts Gem::Specification::load(Dir.glob("../*.gemspec")[0]).version')
11
11
  POTFILE = $(DOMAIN).pot
12
12
  MOFILE = $(DOMAIN).mo
13
13
  POFILES = $(shell find . -name '$(DOMAIN).po')
@@ -41,7 +41,10 @@ uniq-po:
41
41
  msguniq $$f -o $$f ; \
42
42
  done
43
43
 
44
- tx-pull: $(EDITFILES)
44
+ tx-new:
45
+ tx pull --minimum-perc 50 --all
46
+
47
+ tx-pull: tx-new $(EDITFILES)
45
48
  tx pull -f
46
49
  for f in $(EDITFILES) ; do \
47
50
  sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
@@ -54,6 +57,7 @@ tx-update: tx-pull
54
57
 
55
58
  mo-files: $(MOFILES)
56
59
  git add $(POFILES) $(POTFILE) ../locale/*/LC_MESSAGES
60
+ [[ ! -f locale/action_names.rb ]] || git add locale/action_names.rb
57
61
  git commit -m "i18n - pulling from tx"
58
62
  @echo
59
63
  @echo Changes commited!
@@ -0,0 +1,195 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_snapshot_management package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Lukáš Zapletal, 2021
8
+ # Pavel Borecki <pavel.borecki@gmail.com>, 2021
9
+ #
10
+ #, fuzzy
11
+ msgid ""
12
+ msgstr ""
13
+ "Project-Id-Version: foreman_snapshot_management 2.0.2\n"
14
+ "Report-Msgid-Bugs-To: \n"
15
+ "PO-Revision-Date: 2019-10-22 11:54+0000\n"
16
+ "Last-Translator: Pavel Borecki <pavel.borecki@gmail.com>, 2021\n"
17
+ "Language-Team: Czech (Czech Republic) (https://www.transifex.com/foreman/teams"
18
+ "/114/cs_CZ/)\n"
19
+ "MIME-Version: 1.0\n"
20
+ "Content-Type: text/plain; charset=UTF-8\n"
21
+ "Content-Transfer-Encoding: 8bit\n"
22
+ "Language: cs_CZ\n"
23
+ "Plural-Forms: nplurals=4; plural=(n == 1 && n % 1 == 0) ? 0 : (n >= 2 && n <= "
24
+ "4 && n % 1 == 0) ? 1: (n % 1 != 0 ) ? 2 : 3;\n"
25
+
26
+ msgid "Action"
27
+ msgstr "Akce"
28
+
29
+ msgid "Create Snapshot"
30
+ msgstr "Pořídit zachycený stav"
31
+
32
+ msgid "Create Snapshot for %s"
33
+ msgstr ""
34
+
35
+ msgid "Create a snapshot"
36
+ msgstr "Pořídit zachycený stav"
37
+
38
+ msgid "Created %{snapshots} for %{num} %{hosts}"
39
+ msgstr "Vytvořeno %{snapshots} pro %{num} %{hosts}"
40
+
41
+ msgid "Delete"
42
+ msgstr "Smazat"
43
+
44
+ msgid "Delete Snapshot \"%s\"?"
45
+ msgstr ""
46
+
47
+ msgid "Delete a snapshot"
48
+ msgstr "Smazat zachycený stav"
49
+
50
+ msgid "Description"
51
+ msgstr "Popis"
52
+
53
+ msgid "Description of this snapshot"
54
+ msgstr ""
55
+
56
+ msgid "Error occurred while creating Snapshot for:%s"
57
+ msgstr ""
58
+
59
+ msgid "Error occurred while creating Snapshot: %s"
60
+ msgstr "Při pořizování zachyceného stavu došlo k chybě: %s"
61
+
62
+ msgid "Error occurred while removing Snapshot: %s"
63
+ msgstr "Při odebírání zachyceného stavu došlo k chybě: %s"
64
+
65
+ msgid "Error occurred while rolling back VM: %s"
66
+ msgstr ""
67
+
68
+ msgid "Error occurred while updating Snapshot: %s"
69
+ msgstr ""
70
+
71
+ msgid "Failed to load snapshot list"
72
+ msgstr ""
73
+
74
+ msgid "Failed to update Snapshot: %s"
75
+ msgstr "Zachycený stav se nepodařilo aktualizovat: %s"
76
+
77
+ msgid "Foreman-plugin to manage snapshots in a virtual-hardware environments."
78
+ msgstr "Zásuvný modul do Foreman pro správu zachycených stavů v prostředí virtuálního hardware."
79
+
80
+ msgid "Include RAM"
81
+ msgstr "Včetně oper. paměti"
82
+
83
+ msgid "List all snapshots"
84
+ msgstr "Vypsat všechny zachycené stavy"
85
+
86
+ msgid "Loading Snapshots information ..."
87
+ msgstr "Načítání informací o zachycených stavech…"
88
+
89
+ msgid "N/A"
90
+ msgstr "Není"
91
+
92
+ msgid "Name"
93
+ msgstr "Název"
94
+
95
+ msgid "Name must contain at least 2 characters starting with alphabet. Valid characters are A-Z a-z 0-9 _"
96
+ msgstr ""
97
+
98
+ msgid "Name of this snapshot"
99
+ msgstr "Název tohoto zachyceného stavu"
100
+
101
+ msgid "No capable hosts found."
102
+ msgstr "Nenalezeny žádné schopné stroje."
103
+
104
+ msgid "No capable hosts selected"
105
+ msgstr ""
106
+
107
+ msgid "No hosts were found with that id, name or query filter"
108
+ msgstr "Pro takový identifikátor, název nebo dotazovací filtr nebyly nalezeni žádní hostitelé"
109
+
110
+ msgid "Revert Host to a snapshot"
111
+ msgstr "Vrátit stroj do podoby ze zachyceného stavu"
112
+
113
+ msgid "Rollback"
114
+ msgstr ""
115
+
116
+ msgid "Rollback to \"%s\"?"
117
+ msgstr ""
118
+
119
+ msgid "Snapshot"
120
+ msgid_plural "Snapshots"
121
+ msgstr[0] "Zachycený stav"
122
+ msgstr[1] "Zachycené stavy"
123
+ msgstr[2] "Zachycených stavů"
124
+ msgstr[3] "Zachycené stavy"
125
+
126
+ msgid "Snapshot name cannot be changed"
127
+ msgstr "Název zachyceného stavu není možné změnit"
128
+
129
+ msgid "Snapshot successfully created!"
130
+ msgstr ""
131
+
132
+ msgid "Snapshots"
133
+ msgstr "Zachycené stavy"
134
+
135
+ msgid "Something went wrong while selecting hosts - %s"
136
+ msgstr "Při vybírání strojů se něco pokazilo – %s"
137
+
138
+ msgid "Successfully removed Snapshot \"%s\" from host %s"
139
+ msgstr ""
140
+
141
+ msgid "Successfully rolled back Snapshot \"%s\" on host %s"
142
+ msgstr ""
143
+
144
+ msgid "Successfully updated Snapshot \"%s\""
145
+ msgstr ""
146
+
147
+ msgid "Unable to create Proxmox Snapshot"
148
+ msgstr "Nedaří se pořídit Proxmox zachycený stav"
149
+
150
+ msgid "Unable to create VMWare Snapshot"
151
+ msgstr "Nedaří se pořídit VMWare zachycený stav"
152
+
153
+ msgid "Unable to create VMWare Snapshot with Quiesce. Check Power and VMWare Tools status."
154
+ msgstr ""
155
+
156
+ msgid "Unable to create VMWare Snapshot. Cannot set both Memory and Quiesce options."
157
+ msgstr ""
158
+
159
+ msgid "Unable to remove Proxmox Snapshot"
160
+ msgstr "Nedaří se odebrat Proxmox zachycený stav"
161
+
162
+ msgid "Unable to remove VMWare Snapshot"
163
+ msgstr "VMWare zachycený stav se nedaří odebrat"
164
+
165
+ msgid "Unable to revert Proxmox Snapshot"
166
+ msgstr "Nedaří se vrátit do podoby v Proxmox zachyceném stavu"
167
+
168
+ msgid "Unable to revert VMWare Snapshot"
169
+ msgstr ""
170
+
171
+ msgid "Unable to update Proxmox Snapshot"
172
+ msgstr "Nedaří se aktualizovat Proxmox zachycený stav"
173
+
174
+ msgid "Unable to update VMWare Snapshot"
175
+ msgstr "VMWare zachycený stav se nedaří zaktualizovat"
176
+
177
+ msgid "Update a snapshot"
178
+ msgstr "Aktualizovat zachycený stav"
179
+
180
+ msgid "VM successfully rolled back."
181
+ msgstr ""
182
+
183
+ msgid "Whether to include the Quiesce state in the snapshot"
184
+ msgstr ""
185
+
186
+ msgid "Whether to include the RAM state in the snapshot"
187
+ msgstr "Zda v zachyceném stavu uložit i obsah operační paměti"
188
+
189
+ msgid "edit entry"
190
+ msgstr ""
191
+
192
+ msgid "host"
193
+ msgid_plural "hosts"
194
+ msgstr[0] ""
195
+ msgstr[1] ""
@@ -14,7 +14,7 @@
14
14
  #, fuzzy
15
15
  msgid ""
16
16
  msgstr ""
17
- "Project-Id-Version: foreman_snapshot_management 1.8.1\n"
17
+ "Project-Id-Version: foreman_snapshot_management 2.0.2\n"
18
18
  "Report-Msgid-Bugs-To: \n"
19
19
  "PO-Revision-Date: 2019-10-22 11:54+0000\n"
20
20
  "Last-Translator: Markus Bucher <bucher@atix.de>, 2021\n"
@@ -28,9 +28,6 @@ msgstr ""
28
28
  msgid "Action"
29
29
  msgstr "Aktion"
30
30
 
31
- msgid "Action with sub plans"
32
- msgstr "Aktion mit Unterplänen"
33
-
34
31
  msgid "Create Snapshot"
35
32
  msgstr "Snapshot erstellen"
36
33
 
@@ -82,12 +79,6 @@ msgstr "Das Aktualisieren des Snapshots ist fehlgeschlagen: %s"
82
79
  msgid "Foreman-plugin to manage snapshots in a virtual-hardware environments."
83
80
  msgstr "Ein Foremanplugin, welches Snapshots in Umgebungen mit virtueller Hardware nutzbar macht."
84
81
 
85
- msgid "Import Puppet classes"
86
- msgstr "Puppet-Klassen importieren"
87
-
88
- msgid "Import facts"
89
- msgstr "Fakten importieren"
90
-
91
82
  msgid "Include RAM"
92
83
  msgstr "RAM einbeziehen"
93
84
 
@@ -159,6 +150,12 @@ msgstr "Proxmox Snapshot konnte nicht erstellt werden"
159
150
  msgid "Unable to create VMWare Snapshot"
160
151
  msgstr "VMWare Snapshot konnte nicht erstellt werden"
161
152
 
153
+ msgid "Unable to create VMWare Snapshot with Quiesce. Check Power and VMWare Tools status."
154
+ msgstr ""
155
+
156
+ msgid "Unable to create VMWare Snapshot. Cannot set both Memory and Quiesce options."
157
+ msgstr ""
158
+
162
159
  msgid "Unable to remove Proxmox Snapshot"
163
160
  msgstr "Proxmox Snapshot konnte nicht gelöscht werden"
164
161
 
@@ -183,6 +180,9 @@ msgstr "Snapshot aktualisieren"
183
180
  msgid "VM successfully rolled back."
184
181
  msgstr "Die VM wurde erfolgreich zurückgesetzt."
185
182
 
183
+ msgid "Whether to include the Quiesce state in the snapshot"
184
+ msgstr ""
185
+
186
186
  msgid "Whether to include the RAM state in the snapshot"
187
187
  msgstr "Ob auch der aktuelle Hauptspeicherstand im Snapshot gespeichert werden soll"
188
188
 
@@ -0,0 +1,190 @@
1
+ # SOME DESCRIPTIVE TITLE.
2
+ # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
+ # This file is distributed under the same license as the foreman_snapshot_management package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Efstathios Iosifidis <iefstathios@gmail.com>, 2021
8
+ #
9
+ #, fuzzy
10
+ msgid ""
11
+ msgstr ""
12
+ "Project-Id-Version: foreman_snapshot_management 2.0.2\n"
13
+ "Report-Msgid-Bugs-To: \n"
14
+ "PO-Revision-Date: 2019-10-22 11:54+0000\n"
15
+ "Last-Translator: Efstathios Iosifidis <iefstathios@gmail.com>, 2021\n"
16
+ "Language-Team: Greek (https://www.transifex.com/foreman/teams/114/el/)\n"
17
+ "MIME-Version: 1.0\n"
18
+ "Content-Type: text/plain; charset=UTF-8\n"
19
+ "Content-Transfer-Encoding: 8bit\n"
20
+ "Language: el\n"
21
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
22
+
23
+ msgid "Action"
24
+ msgstr "Ενέργεια"
25
+
26
+ msgid "Create Snapshot"
27
+ msgstr "Διμουργία στιγμιότυπου"
28
+
29
+ msgid "Create Snapshot for %s"
30
+ msgstr ""
31
+
32
+ msgid "Create a snapshot"
33
+ msgstr "Δημιουργία στιγμιότυπου"
34
+
35
+ msgid "Created %{snapshots} for %{num} %{hosts}"
36
+ msgstr "Δημιουργήθηκαν %{snapshots} για %{num} %{hosts}"
37
+
38
+ msgid "Delete"
39
+ msgstr "Διαγραφή"
40
+
41
+ msgid "Delete Snapshot \"%s\"?"
42
+ msgstr ""
43
+
44
+ msgid "Delete a snapshot"
45
+ msgstr "Διαγραφή στιγμιότυπου"
46
+
47
+ msgid "Description"
48
+ msgstr "Περιγραφή"
49
+
50
+ msgid "Description of this snapshot"
51
+ msgstr "Περιγραφή αυτού του στιγμιότυπου"
52
+
53
+ msgid "Error occurred while creating Snapshot for:%s"
54
+ msgstr "Σφάλμα κατά την δημιουργία στιγμιότυπου για: %s"
55
+
56
+ msgid "Error occurred while creating Snapshot: %s"
57
+ msgstr "Σφάλμα κατά την δημιουργία στιγμιότυπου: %s"
58
+
59
+ msgid "Error occurred while removing Snapshot: %s"
60
+ msgstr "Σφάλμα κατά την αφαίρεση στιγμιότυπου: %s"
61
+
62
+ msgid "Error occurred while rolling back VM: %s"
63
+ msgstr "Σφάλμα κατά την επαναφορά στιγμιότυπου: %s"
64
+
65
+ msgid "Error occurred while updating Snapshot: %s"
66
+ msgstr ""
67
+
68
+ msgid "Failed to load snapshot list"
69
+ msgstr ""
70
+
71
+ msgid "Failed to update Snapshot: %s"
72
+ msgstr "Αποτυχημένη ενημέρωση στιγμιότυπου: %s"
73
+
74
+ msgid "Foreman-plugin to manage snapshots in a virtual-hardware environments."
75
+ msgstr ""
76
+
77
+ msgid "Include RAM"
78
+ msgstr "Συμπερίληψη RAM"
79
+
80
+ msgid "List all snapshots"
81
+ msgstr "Λίστα όλων των στιγμιοτύπων"
82
+
83
+ msgid "Loading Snapshots information ..."
84
+ msgstr "Γίνεται φόρτωση πληροφοριών στιγμιοτύπων ..."
85
+
86
+ msgid "N/A"
87
+ msgstr "Δ/Υ"
88
+
89
+ msgid "Name"
90
+ msgstr "Όνομα"
91
+
92
+ msgid "Name must contain at least 2 characters starting with alphabet. Valid characters are A-Z a-z 0-9 _"
93
+ msgstr ""
94
+
95
+ msgid "Name of this snapshot"
96
+ msgstr "Όνομα αυτού του στιγμιότυπου"
97
+
98
+ msgid "No capable hosts found."
99
+ msgstr ""
100
+
101
+ msgid "No capable hosts selected"
102
+ msgstr ""
103
+
104
+ msgid "No hosts were found with that id, name or query filter"
105
+ msgstr ""
106
+
107
+ msgid "Revert Host to a snapshot"
108
+ msgstr ""
109
+
110
+ msgid "Rollback"
111
+ msgstr "Επαναφορά"
112
+
113
+ msgid "Rollback to \"%s\"?"
114
+ msgstr ""
115
+
116
+ msgid "Snapshot"
117
+ msgid_plural "Snapshots"
118
+ msgstr[0] "Στιγμιότυπο"
119
+ msgstr[1] "Στιγμιότυπα"
120
+
121
+ msgid "Snapshot name cannot be changed"
122
+ msgstr ""
123
+
124
+ msgid "Snapshot successfully created!"
125
+ msgstr ""
126
+
127
+ msgid "Snapshots"
128
+ msgstr "Στιγμιότυπα"
129
+
130
+ msgid "Something went wrong while selecting hosts - %s"
131
+ msgstr ""
132
+
133
+ msgid "Successfully removed Snapshot \"%s\" from host %s"
134
+ msgstr ""
135
+
136
+ msgid "Successfully rolled back Snapshot \"%s\" on host %s"
137
+ msgstr ""
138
+
139
+ msgid "Successfully updated Snapshot \"%s\""
140
+ msgstr ""
141
+
142
+ msgid "Unable to create Proxmox Snapshot"
143
+ msgstr ""
144
+
145
+ msgid "Unable to create VMWare Snapshot"
146
+ msgstr "Αδυναμία δημιουργίας στιγμιότυπου VMWare"
147
+
148
+ msgid "Unable to create VMWare Snapshot with Quiesce. Check Power and VMWare Tools status."
149
+ msgstr ""
150
+
151
+ msgid "Unable to create VMWare Snapshot. Cannot set both Memory and Quiesce options."
152
+ msgstr ""
153
+
154
+ msgid "Unable to remove Proxmox Snapshot"
155
+ msgstr ""
156
+
157
+ msgid "Unable to remove VMWare Snapshot"
158
+ msgstr "Αδυναμία αφαίρεσης στιγμιότυπου VMWare"
159
+
160
+ msgid "Unable to revert Proxmox Snapshot"
161
+ msgstr ""
162
+
163
+ msgid "Unable to revert VMWare Snapshot"
164
+ msgstr "Αδυναμία αντιστροφής στιγμιότυπου VMWare"
165
+
166
+ msgid "Unable to update Proxmox Snapshot"
167
+ msgstr ""
168
+
169
+ msgid "Unable to update VMWare Snapshot"
170
+ msgstr "Αδυναμία ενημέρωσης στιγμιότυπου VMWare"
171
+
172
+ msgid "Update a snapshot"
173
+ msgstr "Ενημέρωση στιγμιότυπου"
174
+
175
+ msgid "VM successfully rolled back."
176
+ msgstr "Επιτυχημένη επαναφορά VM."
177
+
178
+ msgid "Whether to include the Quiesce state in the snapshot"
179
+ msgstr ""
180
+
181
+ msgid "Whether to include the RAM state in the snapshot"
182
+ msgstr "Εάν θα συμπεριληφθεί η κατάσταση RAM στο στιγμιότυπο"
183
+
184
+ msgid "edit entry"
185
+ msgstr ""
186
+
187
+ msgid "host"
188
+ msgid_plural "hosts"
189
+ msgstr[0] ""
190
+ msgstr[1] ""