foreman_salt 10.2.0 → 10.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 45be269828ccb4c9b6990f04eb7d4bceb4080448199dd88c6058c2678892fa68
4
- data.tar.gz: 6abed1b754f72ad653f460414b4c7dcbb4f4612e325f01709155597d3ea72e92
3
+ metadata.gz: 8110eafc908fb62e5c4829f2e66f98018d60e4f390ec5cae8208fb80cc8742e3
4
+ data.tar.gz: 7b8227edde0477bcf230b007c87c0f5b4526fc1199e4aab8b9573670efba7a4c
5
5
  SHA512:
6
- metadata.gz: 02e65952f994dd58c780d1221bbaae4e63820ab2d2bdf6c27418cd6447dcc449310de2fd25fd28c831d157a1a22cf5c0c68afe74d2952a69b484870bde86a0d2
7
- data.tar.gz: 85bf905813499b17af6ab9af5e398d57e7e1039eede9b374c2e6a9e52a52684258c07c774f117347378ad4293c05180cbb16069f96bb0d33b7a917bcecd5f212
6
+ metadata.gz: da0cd3d31cf6f2c0946e946eb3d946aa8cd31741adeae8759bbfa0de340cbf822fde9a91553981c2ca1fd9ca177637629d76773024f3959b11fe35c0dfad99c8
7
+ data.tar.gz: 97ef78a107cc2ed1510ffb5861213d8b1f3a95bd7bec421bde267bcb2c33962419c3f9d59f392a57f3d615fb0cc8860d8a86646ed000ce483a9e2b411b584afa
@@ -2,6 +2,8 @@ module ForemanSalt
2
2
  module Concerns
3
3
  module HostsControllerExtensions
4
4
  extend ActiveSupport::Concern
5
+ MULTIPLE_EDIT_ACTIONS = %w(select_multiple_salt_environment update_multiple_salt_environment
6
+ select_multiple_salt_master update_multiple_salt_master)
5
7
 
6
8
  module Overrides
7
9
  def process_hostgroup
@@ -30,6 +32,41 @@ module ForemanSalt
30
32
 
31
33
  included do
32
34
  prepend Overrides
35
+ define_action_permission MULTIPLE_EDIT_ACTIONS, :edit
36
+ end
37
+
38
+ def select_multiple_salt_master
39
+ find_multiple
40
+ end
41
+
42
+ def update_multiple_salt_master
43
+ find_multiple
44
+ update_multiple_proxy(_('Salt Master'), :salt_proxy=)
45
+ end
46
+
47
+ def select_multiple_salt_environment
48
+ find_multiple
49
+ end
50
+
51
+ def update_multiple_salt_environment
52
+ # simple validations
53
+ if params[:salt_environment].nil? || (id = params[:salt_environment][:id]).nil?
54
+ error _('No salt environment selected!')
55
+ redirect_to(select_multiple_salt_environment_hosts_path)
56
+ return
57
+ end
58
+
59
+ find_multiple
60
+ ev = ForemanSalt::SaltEnvironment.find_by_id(id)
61
+
62
+ # update the hosts
63
+ @hosts.each do |host|
64
+ host.salt_environment = ev
65
+ host.save(:validate => false)
66
+ end
67
+
68
+ success _('Updated hosts: changed salt environment')
69
+ redirect_back_or_to hosts_path
33
70
  end
34
71
  end
35
72
  end
@@ -21,6 +21,15 @@ module ForemanSalt
21
21
  super(host)
22
22
  end
23
23
 
24
+ def multiple_actions
25
+ actions = super
26
+ if authorized_for(:controller => :hosts, :action => :edit)
27
+ actions << [_('Change Salt Master'), select_multiple_salt_master_hosts_path] if SmartProxy.unscoped.authorized.with_features("Salt")
28
+ actions << [_('Change Salt Environment'), select_multiple_salt_environment_hosts_path] if SmartProxy.unscoped.authorized.with_features("Salt")
29
+ end
30
+ actions
31
+ end
32
+
24
33
  def overview_fields(host)
25
34
  fields = super(host)
26
35
 
@@ -0,0 +1,8 @@
1
+ module ForemanSalt
2
+ module SaltReportsHelper
3
+ def salt_report_origin_icon
4
+ 'foreman_salt/Salt.png'
5
+ end
6
+ end
7
+ end
8
+
@@ -1,4 +1,10 @@
1
1
  module ForemanSalt
2
+ # Define the class that fact names that come from Salt should have
3
+ # It allows us to filter facts by origin, and also to display the origin
4
+ # in the fact values table (/fact_values)
2
5
  class FactName < ::FactName
6
+ def origin
7
+ 'foreman_salt/Salt'
8
+ end
3
9
  end
4
10
  end
@@ -1,4 +1,5 @@
1
1
  module ForemanSalt
2
+ # rubocop:disable ClassLength
2
3
  class ReportImporter
3
4
  delegate :logger, :to => :Rails
4
5
  attr_reader :report
@@ -9,7 +10,9 @@ module ForemanSalt
9
10
  raw.map do |host, report|
10
11
  importer = ForemanSalt::ReportImporter.new(host, report, proxy_id)
11
12
  importer.import
12
- importer.report
13
+ report = importer.report
14
+ report.origin = 'Salt'
15
+ report.save!
13
16
  end
14
17
  end
15
18
 
@@ -73,6 +76,8 @@ module ForemanSalt
73
76
 
74
77
  message = if result['changes']['diff']
75
78
  result['changes']['diff']
79
+ elsif !result['pchanges'].blank? && result['pchanges']['diff']
80
+ result['pchanges']['diff']
76
81
  elsif !result['comment'].blank?
77
82
  result['comment']
78
83
  else
@@ -84,6 +89,7 @@ module ForemanSalt
84
89
  end
85
90
  end
86
91
 
92
+ # rubocop:disable Metrics/CyclomaticComplexity,Metrics/PerceivedComplexity,Metrics/AbcSize,Metrics/MethodLength
87
93
  def calculate_metrics
88
94
  success = 0
89
95
  failed = 0
@@ -103,6 +109,8 @@ module ForemanSalt
103
109
  restarted += 1
104
110
  elsif !result['changes'].blank?
105
111
  changed += 1
112
+ elsif !result['pchanges'].blank?
113
+ pending += 1
106
114
  end
107
115
  elsif result['result'].nil?
108
116
  pending += 1
@@ -135,6 +143,7 @@ module ForemanSalt
135
143
 
136
144
  { :events => events, :resources => resources, :changes => changes, :time => time }
137
145
  end
146
+ # rubocop:enable Metrics/CyclomaticComplexity,Metrics/PerceivedComplexity,Metrics/AbcSize,Metrics/MethodLength
138
147
 
139
148
  def process_normal
140
149
  metrics = calculate_metrics
@@ -161,4 +170,5 @@ module ForemanSalt
161
170
  @start_time ||= Time.zone.now
162
171
  end
163
172
  end
173
+ # rubocop:enable ClassLength
164
174
  end
@@ -0,0 +1,8 @@
1
+ <%= render 'selected_hosts', :hosts => @hosts %>
2
+
3
+ <%= form_for :salt_environment, :url => update_multiple_salt_environment_hosts_path(:host_ids => params[:host_ids]) do |f| %>
4
+ <%= selectable_f f, :id, [[_("Select salt environment"), "None"]] +
5
+ [[_("*Clear environment*"), ""]] +
6
+ ForemanSalt::SaltEnvironment.all.map{|e| [e.name, e.id]},{},
7
+ :label => _("Salt Environment"), :onchange => "toggle_multiple_ok_button(this)" %>
8
+ <% end %>
@@ -0,0 +1,5 @@
1
+ <%= render 'selected_hosts', :hosts => @hosts %>
2
+
3
+ <%= form_for :proxy, :url => update_multiple_salt_master_hosts_path(:host_ids => params[:host_ids]) do |f| %>
4
+ <%= multiple_proxy_select(f, 'Salt') %>
5
+ <% end %>
data/config/routes.rb CHANGED
@@ -53,6 +53,17 @@ Rails.application.routes.draw do
53
53
  end
54
54
  end
55
55
 
56
+ constraints(:id => /[^\/]+/) do
57
+ resources :hosts do
58
+ collection do
59
+ post 'select_multiple_salt_master'
60
+ post 'update_multiple_salt_master'
61
+ post 'select_multiple_salt_environment'
62
+ post 'update_multiple_salt_environment'
63
+ end
64
+ end
65
+ end
66
+
56
67
  constraints(:smart_proxy_id => /[^\/]+/) do
57
68
  resources :smart_proxies, :except => [:show] do
58
69
  constraints(:id => /[^\/]+/) do
@@ -5,7 +5,7 @@ module ForemanSalt
5
5
  engine_name 'foreman_salt'
6
6
 
7
7
  config.autoload_paths += Dir["#{config.root}/app/controllers/foreman_salt/concerns"]
8
- config.autoload_paths += Dir["#{config.root}/app/helpers/concerns"]
8
+ config.autoload_paths += Dir["#{config.root}/app/helpers"]
9
9
  config.autoload_paths += Dir["#{config.root}/app/models/concerns"]
10
10
  config.autoload_paths += Dir["#{config.root}/app/overrides"]
11
11
  config.autoload_paths += Dir["#{config.root}/app/services"]
@@ -21,6 +21,14 @@ module ForemanSalt
21
21
  end
22
22
  end
23
23
 
24
+ initializer 'foreman_salt.register_gettext',
25
+ :after => :load_config_initializers do
26
+ locale_dir = File.join(File.expand_path('../..', __dir__), 'locale')
27
+ locale_domain = 'foreman_salt'
28
+
29
+ Foreman::Gettext::Support.add_text_domain locale_domain, locale_dir
30
+ end
31
+
24
32
  initializer 'foreman_salt.load_app_instance_data' do |app|
25
33
  ForemanSalt::Engine.paths['db/migrate'].existent.each do |path|
26
34
  app.config.paths['db/migrate'] << path
@@ -31,6 +39,10 @@ module ForemanSalt
31
39
  app.config.assets.precompile += %w(foreman_salt/states.js)
32
40
  end
33
41
 
42
+ initializer 'foreman_salt.assets.precompile' do |app|
43
+ app.config.assets.precompile += %w[foreman_salt/Salt.png]
44
+ end
45
+
34
46
  initializer 'foreman_salt.configure_assets', :group => :assets do
35
47
  SETTINGS[:foreman_salt] = {
36
48
  :assets => {
@@ -1,5 +1,8 @@
1
+ # frozen_string_literal: true
2
+
3
+ # rubocop:disable BlockLength
1
4
  Foreman::Plugin.register :foreman_salt do
2
- requires_foreman '>= 1.14'
5
+ requires_foreman '>= 1.19'
3
6
 
4
7
  apipie_documented_controllers ["#{ForemanSalt::Engine.root}/app/controllers/foreman_salt/api/v2/*.rb"]
5
8
 
@@ -66,7 +69,9 @@ Foreman::Plugin.register :foreman_salt do
66
69
 
67
70
  permission :edit_hosts,
68
71
  { :'foreman_salt/api/v2/salt_minions' => [:update],
69
- :'foreman_salt/minions' => [:salt_environment_selected] },
72
+ :'foreman_salt/minions' => [:salt_environment_selected],
73
+ :hosts => [:select_multiple_salt_master, :update_multiple_salt_master,
74
+ :select_multiple_salt_environment, :update_multiple_salt_environment] },
70
75
  :resource_type => 'Host'
71
76
 
72
77
  permission :view_hosts,
@@ -140,3 +145,4 @@ Foreman::Plugin.register :foreman_salt do
140
145
  :salt_environment_id, :salt_environment_name, :salt_modules => [],
141
146
  :salt_module_ids => []
142
147
  end
148
+ # rubocop:enable BlockLength
@@ -1,3 +1,3 @@
1
1
  module ForemanSalt
2
- VERSION = '10.2.0'
2
+ VERSION = '10.3.0'
3
3
  end
data/locale/Makefile ADDED
@@ -0,0 +1,60 @@
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 = foreman_salt
10
+ VERSION = $(shell ruby -e 'require "rubygems";spec = Gem::Specification::load(Dir.glob("../*.gemspec")[0]);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
+
18
+ %.mo: %.po
19
+ mkdir -p $(shell dirname $@)/LC_MESSAGES
20
+ msgfmt -o $(shell dirname $@)/LC_MESSAGES/$(MOFILE) $<
21
+
22
+ # Generate MO files from PO files
23
+ all-mo: $(MOFILES)
24
+
25
+ # Check for malformed strings
26
+ %.pox: %.po
27
+ msgfmt -c $<
28
+ pofilter --nofuzzy -t variables -t blank -t urls -t emails -t long -t newlines \
29
+ -t endwhitespace -t endpunc -t puncspacing -t options -t printf -t validchars --gnome $< > $@
30
+ cat $@
31
+ ! grep -q msgid $@
32
+
33
+ %.edit.po:
34
+ touch $@
35
+
36
+ check: $(POXFILES)
37
+
38
+ # Unify duplicate translations
39
+ uniq-po:
40
+ for f in $(shell find ./ -name "*.po") ; do \
41
+ msguniq $$f -o $$f ; \
42
+ done
43
+
44
+ tx-pull: $(EDITFILES)
45
+ tx pull -f
46
+ for f in $(EDITFILES) ; do \
47
+ sed -i 's/^\("Project-Id-Version: \).*$$/\1$(DOMAIN) $(VERSION)\\n"/' $$f; \
48
+ done
49
+
50
+ tx-update: tx-pull
51
+ @echo
52
+ @echo Run rake plugin:gettext[$(DOMAIN)] from the Foreman installation, then make -C locale mo-files to finish
53
+ @echo
54
+
55
+ mo-files: $(MOFILES)
56
+ git add $(POFILES) $(POTFILE) ../locale/*/LC_MESSAGES
57
+ git commit -m "i18n - pulling from tx"
58
+ @echo
59
+ @echo Changes commited!
60
+ @echo
@@ -0,0 +1,4 @@
1
+ # Autogenerated!
2
+ _("Action with sub plans")
3
+ _("Import facts")
4
+ _("Import Puppet classes")
@@ -0,0 +1,541 @@
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_salt package.
4
+ # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
+ #
6
+ # Translators:
7
+ # Lukáš Zapletal, 2019
8
+ # Ettore Atalan <atalanttore@googlemail.com>, 2019
9
+ # Dominic Cleal <dominic@cleal.org>, 2019
10
+ # Wiederoder <stefanwiederoder@googlemail.com>, 2019
11
+ # abf90805572190d649c59f7a021d76cb, 2019
12
+ # Michael Moll, 2019
13
+ # Hannes Schaller <admin@cyberkov.at>, 2019
14
+ # Bryan Kearney <bryan.kearney@gmail.com>, 2019
15
+ # Ulrich Habel <rhaen@pkgbox.de>, 2019
16
+ # Arnold Bechtoldt <mail@arnoldbechtoldt.com>, 2019
17
+ # simon11 <simon.stieger.98@live.de>, 2019
18
+ # Bernhard Suttner <bernhard.suttner@atix.de>, 2019
19
+ #
20
+ #, fuzzy
21
+ msgid ""
22
+ msgstr ""
23
+ "Project-Id-Version: foreman_salt 1.0.0\n"
24
+ "Report-Msgid-Bugs-To: \n"
25
+ "POT-Creation-Date: 2019-04-25 22:19+0000\n"
26
+ "PO-Revision-Date: 2019-04-29 07:31+0000\n"
27
+ "Last-Translator: Bernhard Suttner <bernhard.suttner@atix.de>, 2019\n"
28
+ "Language-Team: German (https://www.transifex.com/foreman/teams/114/de/)\n"
29
+ "MIME-Version: 1.0\n"
30
+ "Content-Type: text/plain; charset=UTF-8\n"
31
+ "Content-Transfer-Encoding: 8bit\n"
32
+ "Language: de\n"
33
+ "Plural-Forms: nplurals=2; plural=(n != 1);\n"
34
+
35
+ #: ../app/controllers/foreman_salt/api/v2/jobs_controller.rb:12
36
+ msgid "JID"
37
+ msgstr ""
38
+
39
+ #: ../app/controllers/foreman_salt/api/v2/jobs_controller.rb:13
40
+ msgid "Function"
41
+ msgstr ""
42
+
43
+ #: ../app/controllers/foreman_salt/api/v2/jobs_controller.rb:14
44
+ msgid "Result"
45
+ msgstr "Ergebnis"
46
+
47
+ #: ../app/controllers/foreman_salt/api/v2/jobs_controller.rb:18
48
+ msgid "Upload a Job"
49
+ msgstr "Hochladen eines Jobs"
50
+
51
+ #: ../app/controllers/foreman_salt/api/v2/salt_autosign_controller.rb:9
52
+ msgid "List all autosign records"
53
+ msgstr "Alle Autosign-Einträge auflisten"
54
+
55
+ #: ../app/controllers/foreman_salt/api/v2/salt_autosign_controller.rb:15
56
+ msgid "Create an autosign record"
57
+ msgstr "Autosign-Eintrag erstellen"
58
+
59
+ #: ../app/controllers/foreman_salt/api/v2/salt_autosign_controller.rb:17
60
+ #: ../app/controllers/foreman_salt/api/v2/salt_autosign_controller.rb:25
61
+ msgid "Autosign record"
62
+ msgstr "Autosign-Einträge"
63
+
64
+ #: ../app/controllers/foreman_salt/api/v2/salt_autosign_controller.rb:23
65
+ msgid "Delete an autosign record"
66
+ msgstr "Autosign-Eintrag löschen"
67
+
68
+ #: ../app/controllers/foreman_salt/api/v2/salt_autosign_controller.rb:28
69
+ msgid "Record deleted."
70
+ msgstr "Autosign-Eintrag gelöscht."
71
+
72
+ #: ../app/controllers/foreman_salt/api/v2/salt_environments_controller.rb:9
73
+ msgid "List all Salt environments"
74
+ msgstr "Alle Salt Umgebungen auflisten"
75
+
76
+ #: ../app/controllers/foreman_salt/api/v2/salt_environments_controller.rb:15
77
+ msgid "Show a Salt environment"
78
+ msgstr "Salt Umgebung anzeigen"
79
+
80
+ #: ../app/controllers/foreman_salt/api/v2/salt_environments_controller.rb:26
81
+ msgid "Create a Salt environment"
82
+ msgstr "Salt Umgebung erstellen"
83
+
84
+ #: ../app/controllers/foreman_salt/api/v2/salt_environments_controller.rb:33
85
+ msgid "Destroy a Salt environment"
86
+ msgstr "Salt Umgebung löschen"
87
+
88
+ #: ../app/controllers/foreman_salt/api/v2/salt_keys_controller.rb:8
89
+ msgid "List all Salt keys"
90
+ msgstr "Alle Salt Schlüssel auflisten"
91
+
92
+ #: ../app/controllers/foreman_salt/api/v2/salt_keys_controller.rb:16
93
+ msgid "FQDN of host that key belongs to"
94
+ msgstr "FQDN des Hosts zu welchem der Schlüssel gehört"
95
+
96
+ #: ../app/controllers/foreman_salt/api/v2/salt_keys_controller.rb:19
97
+ msgid "Update a Salt Key"
98
+ msgstr "Salt Schlüssel bearbeiten"
99
+
100
+ #: ../app/controllers/foreman_salt/api/v2/salt_keys_controller.rb:22
101
+ msgid "State can be \"accepted\" or \"rejected\""
102
+ msgstr "State kann \"accepted\" oder \"rejected\" sein"
103
+
104
+ #: ../app/controllers/foreman_salt/api/v2/salt_keys_controller.rb:34
105
+ msgid "Delete a Salt Key"
106
+ msgstr "Salt Schlüssel löschen"
107
+
108
+ #: ../app/controllers/foreman_salt/api/v2/salt_minions_controller.rb:7
109
+ msgid "List all Salt Minions"
110
+ msgstr "Alle Salt Minions auflisten"
111
+
112
+ #: ../app/controllers/foreman_salt/api/v2/salt_minions_controller.rb:13
113
+ msgid "Show a minion"
114
+ msgstr "Minion anzeigen"
115
+
116
+ #: ../app/controllers/foreman_salt/api/v2/salt_minions_controller.rb:21
117
+ msgid "Salt environment ID"
118
+ msgstr "Salt Umgebungskennung"
119
+
120
+ #: ../app/controllers/foreman_salt/api/v2/salt_minions_controller.rb:22
121
+ msgid "ID of Salt Proxy"
122
+ msgstr "ID des Salt Proxy"
123
+
124
+ #: ../app/controllers/foreman_salt/api/v2/salt_minions_controller.rb:23
125
+ msgid "Array of State ids"
126
+ msgstr "Array von State IDs"
127
+
128
+ #: ../app/controllers/foreman_salt/api/v2/salt_minions_controller.rb:27
129
+ msgid "Update a minion"
130
+ msgstr "Minion bearbeiten"
131
+
132
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:12
133
+ msgid "List all Salt states"
134
+ msgstr "Alle Salt States auflisten"
135
+
136
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:13
137
+ msgid "Limit to a specific environment"
138
+ msgstr "Limitieren auf eine bestimmte Umgebung"
139
+
140
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:25
141
+ msgid "Show a state"
142
+ msgstr "Salt State anzeigen"
143
+
144
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:32
145
+ msgid "Name of the Salt state"
146
+ msgstr "Name des Salt States"
147
+
148
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:36
149
+ msgid "Create a state"
150
+ msgstr "Salt State erstellen"
151
+
152
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:43
153
+ msgid "Destroy a state"
154
+ msgstr "Salt State löschen"
155
+
156
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:49
157
+ msgid "Import states from a salt master"
158
+ msgstr "Salt States vom Salt Master importieren"
159
+
160
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:50
161
+ msgid "Salt Smart Proxy ID"
162
+ msgstr "Salt Smart Proxy ID"
163
+
164
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:51
165
+ msgid "Limit to a specific environments"
166
+ msgstr "Limitieren auf bestimmte Umgebungen"
167
+
168
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:52
169
+ msgid "Limit to specific actions: i.e. add, remove"
170
+ msgstr "Limitieren auf bestimmte Aktionen, z.B. 'add', 'remove'"
171
+
172
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:53
173
+ msgid "Dryrun only"
174
+ msgstr "Nur Probelauf"
175
+
176
+ #: ../app/controllers/foreman_salt/api/v2/salt_states_controller.rb:94
177
+ msgid "Could not find salt environment with id %s"
178
+ msgstr "Salt Umgebung mit ID %s konnte nicht gefunden werden"
179
+
180
+ #: ../app/controllers/foreman_salt/minions_controller.rb:24
181
+ msgid "Unable to generate output, Check log files\\n"
182
+ msgstr "Kann keine Ausgabe erzeugen, Bitte Logdateien prüfen\\n"
183
+
184
+ #: ../app/controllers/foreman_salt/minions_controller.rb:29
185
+ msgid "Successfully executed, check log files for more details"
186
+ msgstr ""
187
+ "Erfolgreich ausgeführt, für weitere Informationen bitte die Protokolldateien"
188
+ " prüfen"
189
+
190
+ #: ../app/controllers/foreman_salt/salt_autosign_controller.rb:17
191
+ msgid "Autosign created for #{params[:id]}"
192
+ msgstr "Autosign-Eintrag erstellt für #{params[:id]}"
193
+
194
+ #: ../app/controllers/foreman_salt/salt_autosign_controller.rb:28
195
+ msgid "Autosign deleted for #{params[:id]}"
196
+ msgstr "Autosign-Eintrag entfernt für #{params[:id]}"
197
+
198
+ #: ../app/controllers/foreman_salt/salt_environments_controller.rb:30
199
+ #: ../app/controllers/foreman_salt/salt_modules_controller.rb:34
200
+ msgid "Successfully updated %s."
201
+ msgstr "%s wurde aktualisiert."
202
+
203
+ #: ../app/controllers/foreman_salt/salt_keys_controller.rb:20
204
+ msgid "Key accepted for #{key}"
205
+ msgstr "Schlüssel #{key} akzeptiert"
206
+
207
+ #: ../app/controllers/foreman_salt/salt_keys_controller.rb:31
208
+ msgid "Key rejected for #{key}"
209
+ msgstr "Schlüssel #{key} zurückgewiesen"
210
+
211
+ #: ../app/controllers/foreman_salt/salt_keys_controller.rb:42
212
+ msgid "Key deleted for #{key}"
213
+ msgstr "Schlüssel #{key} entfernt"
214
+
215
+ #: ../app/controllers/foreman_salt/salt_modules_controller.rb:66
216
+ #: ../app/controllers/foreman_salt/salt_modules_controller.rb:73
217
+ msgid "No changes found"
218
+ msgstr "Keine Änderungen festgestellt"
219
+
220
+ #: ../app/controllers/foreman_salt/salt_modules_controller.rb:83
221
+ msgid "Successfully imported"
222
+ msgstr "Erfolgreich importiert"
223
+
224
+ #: ../app/helpers/concerns/foreman_salt/hosts_helper_extensions.rb:8
225
+ msgid "Salt ENC"
226
+ msgstr "Salt ENC"
227
+
228
+ #: ../app/helpers/concerns/foreman_salt/hosts_helper_extensions.rb:9
229
+ msgid "Salt external nodes YAML dump"
230
+ msgstr "YAML-Ausgabe des externen Salt-Knotens"
231
+
232
+ #: ../app/helpers/concerns/foreman_salt/hosts_helper_extensions.rb:16
233
+ msgid "Run Salt"
234
+ msgstr "Salt starten"
235
+
236
+ #: ../app/helpers/concerns/foreman_salt/hosts_helper_extensions.rb:17
237
+ msgid "Trigger a state.highstate run on a node"
238
+ msgstr "Salt state.highstate Lauf auf einem Knoten auslösen"
239
+
240
+ #: ../app/helpers/concerns/foreman_salt/hosts_helper_extensions.rb:27
241
+ msgid "Salt Master"
242
+ msgstr "Salt Master"
243
+
244
+ #: ../app/helpers/concerns/foreman_salt/hosts_helper_extensions.rb:28
245
+ msgid "Salt Environment"
246
+ msgstr "Salt Umgebung"
247
+
248
+ #: ../app/helpers/concerns/foreman_salt/smart_proxies_helper_extensions.rb:10
249
+ msgid "Salt Keys"
250
+ msgstr "Salt Schlüssel"
251
+
252
+ #: ../app/helpers/concerns/foreman_salt/smart_proxies_helper_extensions.rb:11
253
+ msgid "Salt Autosign"
254
+ msgstr "Salt Autosign"
255
+
256
+ #: ../app/helpers/foreman_salt/salt_keys_helper.rb:4
257
+ msgid "Accepted"
258
+ msgstr "Akzeptiert"
259
+
260
+ #: ../app/helpers/foreman_salt/salt_keys_helper.rb:4
261
+ msgid "Rejected"
262
+ msgstr "Zurückgewiesen"
263
+
264
+ #: ../app/helpers/foreman_salt/salt_keys_helper.rb:4
265
+ msgid "Unaccepted"
266
+ msgstr "Abgelehnt"
267
+
268
+ #: ../app/helpers/foreman_salt/salt_modules_helper.rb:5
269
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:1
270
+ msgid "Import from %s"
271
+ msgstr "Importieren aus %s"
272
+
273
+ #: ../app/helpers/foreman_salt/salt_modules_helper.rb:8
274
+ msgid "Import"
275
+ msgstr "Import"
276
+
277
+ #: ../app/lib/actions/foreman_salt/report_import.rb:22
278
+ msgid "Process Highstate Report: #{input[:job_id]}"
279
+ msgstr "Verarbeite state.highstate Report: #{input[:job_id]}"
280
+
281
+ #: ../app/lib/proxy_api/salt.rb:11
282
+ msgid "Unable to fetch autosign list"
283
+ msgstr "Autosign Liste konnten nicht abgerufen werden"
284
+
285
+ #: ../app/lib/proxy_api/salt.rb:17
286
+ msgid "Unable to set Salt autosign for %s"
287
+ msgstr "Salt Autosign für %s konnte nicht festgelegt werden"
288
+
289
+ #: ../app/lib/proxy_api/salt.rb:25
290
+ msgid "Unable to delete Salt autosign for %s"
291
+ msgstr "Salt Autosign für %s konnte nicht gelöscht werden"
292
+
293
+ #: ../app/lib/proxy_api/salt.rb:31
294
+ msgid "Unable to fetch Salt environments list"
295
+ msgstr "Salt Umgebungsliste konnten nicht abgerufen werden"
296
+
297
+ #: ../app/lib/proxy_api/salt.rb:43
298
+ msgid "Unable to fetch Salt states list"
299
+ msgstr "Salt States Liste konnten nicht abgerufen werden"
300
+
301
+ #: ../app/lib/proxy_api/salt.rb:49
302
+ msgid "Unable to fetch Salt key list"
303
+ msgstr "Salt Schlüssel Liste konnten nicht abgerufen werden"
304
+
305
+ #: ../app/lib/proxy_api/salt.rb:55
306
+ msgid "Unable to accept Salt key for %s"
307
+ msgstr "Salt Schlüssel für %s konnte nicht akzeptiert werden"
308
+
309
+ #: ../app/lib/proxy_api/salt.rb:61
310
+ msgid "Unable to reject Salt key for %s"
311
+ msgstr "Salt Schlüssel für %s konnte nicht zurückgewiesen werden"
312
+
313
+ #: ../app/lib/proxy_api/salt.rb:69
314
+ msgid "Unable to delete Salt key for %s"
315
+ msgstr "Salt Schlüssel für %s konnte nicht gelöscht werden"
316
+
317
+ #: ../app/lib/proxy_api/salt.rb:75
318
+ msgid "Unable to run Salt state.highstate for %s"
319
+ msgstr "Start von Salt state.highstate für %s fehlgeschlagen"
320
+
321
+ #: ../app/models/foreman_salt/concerns/host_managed_extensions.rb:63
322
+ msgid "No Salt master defined - can't continue"
323
+ msgstr "Kein Salt Master definiert - kann nicht fortfahren"
324
+
325
+ #: ../app/models/foreman_salt/concerns/host_managed_extensions.rb:69
326
+ msgid "Failed to execute state.highstate: %s"
327
+ msgstr "Fehler bei der Ausführung von state.highstate: %s"
328
+
329
+ #: ../app/models/foreman_salt/concerns/host_managed_extensions.rb:77
330
+ msgid "Salt states must be in the environment of the host"
331
+ msgstr "Salt State muss in der Umgebung des Hosts sein"
332
+
333
+ #: ../app/models/foreman_salt/concerns/host_managed_extensions.rb:79
334
+ msgid "Host must have an environment in order to set salt states"
335
+ msgstr ""
336
+ "Host muss einer Salt Umgebung angehören bevor ein Salt State gesetzt werden "
337
+ "kann"
338
+
339
+ #: ../app/models/foreman_salt/salt_environment.rb:13
340
+ msgid "is alphanumeric and cannot contain spaces"
341
+ msgstr "ist alphanumerisch und kann keine Leerzeichen enthalten"
342
+
343
+ #: ../app/models/foreman_salt/salt_environment.rb:20
344
+ msgid "Salt environment"
345
+ msgstr "Salt Umgebung"
346
+
347
+ #: ../app/models/foreman_salt/salt_module.rb:16
348
+ msgid ""
349
+ "must be alphanumeric, can contain periods, dashes, underscores and must not "
350
+ "contain spaces"
351
+ msgstr ""
352
+ "muss alphanumerisch sein; kann Punkte, Striche, Unterstriche enthalten "
353
+ "jedoch keine Leerzeichen"
354
+
355
+ #: ../app/models/foreman_salt/salt_module.rb:40
356
+ msgid "Salt state"
357
+ msgstr "Salt State"
358
+
359
+ #: ../app/models/setting/salt.rb:7
360
+ msgid "Namespace Foreman pillars under 'foreman' key"
361
+ msgstr ""
362
+
363
+ #: ../app/services/foreman_salt/report_importer.rb:7
364
+ msgid "Invalid report"
365
+ msgstr "Ungültiger Bericht"
366
+
367
+ #: ../app/services/foreman_salt/smart_proxies/salt_keys.rb:11
368
+ msgid "Must specify a Smart Proxy to use"
369
+ msgstr "Zu verwendender Smart Proxy muss angegeben werden"
370
+
371
+ #: ../app/views/foreman_salt/salt_autosign/_form.html.erb:4
372
+ #: ../app/views/foreman_salt/salt_autosign/index.html.erb:7
373
+ msgid "Name"
374
+ msgstr "Name"
375
+
376
+ #: ../app/views/foreman_salt/salt_autosign/_form.html.erb:4
377
+ msgid "Save"
378
+ msgstr "Speichern"
379
+
380
+ #: ../app/views/foreman_salt/salt_autosign/index.html.erb:1
381
+ msgid "Autosign entries for %s"
382
+ msgstr "Einträge für %s automatisch signieren"
383
+
384
+ #: ../app/views/foreman_salt/salt_autosign/index.html.erb:3
385
+ msgid "Keys"
386
+ msgstr "Schlüssel"
387
+
388
+ #: ../app/views/foreman_salt/salt_autosign/index.html.erb:3
389
+ msgid "New"
390
+ msgstr "Neu"
391
+
392
+ #: ../app/views/foreman_salt/salt_autosign/new.html.erb:1
393
+ msgid "New Autosign Entry"
394
+ msgstr "Neuer Autosign-Eintrag"
395
+
396
+ #: ../app/views/foreman_salt/salt_environments/_form.html.erb:4
397
+ #: ../app/views/foreman_salt/salt_environments/index.html.erb:1
398
+ msgid "Salt Environments"
399
+ msgstr "Salt Umgebungen"
400
+
401
+ #: ../app/views/foreman_salt/salt_environments/edit.html.erb:1
402
+ msgid "Edit Salt Environment %s"
403
+ msgstr "Salt Umgebung %s bearbeiten"
404
+
405
+ #: ../app/views/foreman_salt/salt_environments/index.html.erb:3
406
+ #: ../app/views/foreman_salt/salt_environments/new.html.erb:1
407
+ msgid "New Salt Environment"
408
+ msgstr "Neue Salt Umgebung"
409
+
410
+ #: ../app/views/foreman_salt/salt_environments/index.html.erb:7
411
+ msgid "SaltEnvironment|Name"
412
+ msgstr ""
413
+
414
+ #: ../app/views/foreman_salt/salt_environments/index.html.erb:8
415
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:24
416
+ msgid "States"
417
+ msgstr "States"
418
+
419
+ #: ../app/views/foreman_salt/salt_environments/index.html.erb:9
420
+ #: ../app/views/foreman_salt/salt_modules/index.html.erb:11
421
+ msgid "Hosts"
422
+ msgstr "Hosts"
423
+
424
+ #: ../app/views/foreman_salt/salt_environments/index.html.erb:10
425
+ #: ../app/views/foreman_salt/salt_modules/index.html.erb:12
426
+ msgid "Host groups"
427
+ msgstr "Hostgruppen"
428
+
429
+ #: ../app/views/foreman_salt/salt_environments/index.html.erb:21
430
+ #: ../app/views/foreman_salt/salt_modules/index.html.erb:28
431
+ msgid "Delete %s?"
432
+ msgstr "%s löschen?"
433
+
434
+ #: ../app/views/foreman_salt/salt_keys/index.erb:1
435
+ msgid "Salt Keys on %s"
436
+ msgstr "Salt Schlüssel auf %s"
437
+
438
+ #: ../app/views/foreman_salt/salt_keys/index.erb:2
439
+ msgid "Filter %s"
440
+ msgstr "Filter %s"
441
+
442
+ #: ../app/views/foreman_salt/salt_keys/index.erb:4
443
+ msgid "Autosign"
444
+ msgstr "Automatisch Signieren"
445
+
446
+ #: ../app/views/foreman_salt/salt_keys/index.erb:8
447
+ msgid "Key Name"
448
+ msgstr "Schlüssel Name"
449
+
450
+ #: ../app/views/foreman_salt/salt_keys/index.erb:9
451
+ msgid "State"
452
+ msgstr "Status"
453
+
454
+ #: ../app/views/foreman_salt/salt_keys/index.erb:10
455
+ msgid "Fingerprint"
456
+ msgstr "Fingerabdruck"
457
+
458
+ #: ../app/views/foreman_salt/salt_keys/index.erb:21
459
+ msgid "Accept"
460
+ msgstr "Akzeptieren"
461
+
462
+ #: ../app/views/foreman_salt/salt_keys/index.erb:22
463
+ msgid "Reject"
464
+ msgstr "Zurückweisen"
465
+
466
+ #: ../app/views/foreman_salt/salt_modules/_form.html.erb:4
467
+ #: ../app/views/foreman_salt/salt_modules/_host_tab.html.erb:1
468
+ #: ../app/views/foreman_salt/salt_modules/index.html.erb:1
469
+ msgid "Salt States"
470
+ msgstr "Salt States"
471
+
472
+ #: ../app/views/foreman_salt/salt_modules/_form.html.erb:5
473
+ #: ../app/views/foreman_salt/salt_modules/_form.html.erb:14
474
+ #: ../app/views/foreman_salt/salt_modules/index.html.erb:10
475
+ msgid "Environments"
476
+ msgstr "Umgebungen"
477
+
478
+ #: ../app/views/foreman_salt/salt_modules/_host_tab_pane.html.erb:31
479
+ msgid "Please select a Salt environment first"
480
+ msgstr "Bitte zuerst eine Salt Umgebung wählen"
481
+
482
+ #: ../app/views/foreman_salt/salt_modules/edit.html.erb:1
483
+ msgid "Edit Salt State %s"
484
+ msgstr "Salt State %s bearbeiten"
485
+
486
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:5
487
+ msgid "Select the changes you want to realize in Foreman"
488
+ msgstr "Wählen Sie die Änderungen, die Sie in Foreman anwenden möchten"
489
+
490
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:8
491
+ msgid "Toggle"
492
+ msgstr "Umschalten"
493
+
494
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:9
495
+ msgid "Added"
496
+ msgstr "Hinzugefügt"
497
+
498
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:11
499
+ msgid "Check/Uncheck Added"
500
+ msgstr ""
501
+
502
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:12
503
+ msgid "Removed"
504
+ msgstr "Entfernt"
505
+
506
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:14
507
+ msgid "Check/Uncheck Removed"
508
+ msgstr ""
509
+
510
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:21
511
+ msgid "Check/Uncheck All"
512
+ msgstr ""
513
+
514
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:22
515
+ msgid "Environment"
516
+ msgstr "Umgebung"
517
+
518
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:23
519
+ msgid "Operation"
520
+ msgstr "Vorgang"
521
+
522
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:41
523
+ msgid "Cancel"
524
+ msgstr "Abbrechen"
525
+
526
+ #: ../app/views/foreman_salt/salt_modules/import.html.erb:42
527
+ msgid "Update"
528
+ msgstr "Aktualisieren"
529
+
530
+ #: ../app/views/foreman_salt/salt_modules/index.html.erb:4
531
+ #: ../app/views/foreman_salt/salt_modules/new.html.erb:1
532
+ msgid "New Salt State"
533
+ msgstr "Neuen Salt State"
534
+
535
+ #: ../app/views/foreman_salt/salt_modules/index.html.erb:9
536
+ msgid "SaltModule|Name"
537
+ msgstr ""
538
+
539
+ #: ../app/views/foreman_salt/salt_modules/index.html.erb:26
540
+ msgid "Edit"
541
+ msgstr "Bearbeiten"