foreman_salt 8.0.0 → 8.0.1

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
  SHA1:
3
- metadata.gz: f00bf9db98ac2f8f38bc60f5227b9c0253d57c20
4
- data.tar.gz: 94a37fef763296aa524147ccffc05528f36605e0
3
+ metadata.gz: 7affbd070e0fa9e5bbe3ad20fb5d6b37414a561d
4
+ data.tar.gz: 05526bb14642019dc1fb4be52425ce304533f1cb
5
5
  SHA512:
6
- metadata.gz: 867d384b635137194f9cb0b519c44edb1e319899bfaccd562f9b0cfd72e536b00bbdbe908c179ea973712721ae3e8a4cad4ddbafddf776c46fd30381dff7d2ad
7
- data.tar.gz: ecd103c07d9fcc418136a9dc7184dafdf022c08a97be4b781d10641b85e9bade97f2ccf197bb7595865824f61e37946bce23ae21d013ee36ba3e2837e05bc1cd
6
+ metadata.gz: 1a4faeebaca7c47a018ff6ea58ae35fe23ef91eea86813aa24e0efb561a62224c35a7402efff4d721b3c748981601bed5a3f07d1638c3183ba33e880befece4e
7
+ data.tar.gz: 546d539de6da702b378b4d9d6deaa63c75d52b1ea3856af6b83db1bfdcf087ee1ba82ef8538141a0258daed24565ed0c2b633b6bd6084d2f108d09f9c850dae7
@@ -20,7 +20,7 @@ function update_salt_states(element) {
20
20
  return;
21
21
  }
22
22
 
23
- foreman.tools.showSpinner();
23
+ tfm.tools.showSpinner();
24
24
  $.ajax({
25
25
  type: 'put',
26
26
  url: url,
@@ -31,7 +31,7 @@ function update_salt_states(element) {
31
31
  multiSelectOnLoad();
32
32
  },
33
33
  complete: function() {
34
- foreman.tools.hideSpinner();
34
+ tfm.tools.hideSpinner();
35
35
  }
36
36
  });
37
37
  }
@@ -73,9 +73,9 @@ module ForemanSalt
73
73
  @minion = @minion.becomes(Host::Managed)
74
74
  @minion.type = 'Host::Managed'
75
75
  end
76
- @minion.attributes = params[:host]
76
+ @minion.attributes = host_params(:host)
77
77
  else
78
- @minion ||= Host::Managed.new(params[:host])
78
+ @minion ||= Host::Managed.new(host_params(:host))
79
79
  end
80
80
 
81
81
  @obj = @minion
@@ -19,7 +19,7 @@ module ForemanSalt
19
19
  button_group(
20
20
  if host.try(:salt_proxy)
21
21
  link_to_if_authorized(_('Run Salt'), { :controller => :'foreman_salt/minions', :action => :run, :id => host },
22
- :title => _('Trigger a state.highstate run on a node'))
22
+ :title => _('Trigger a state.highstate run on a node'), :class => 'btn btn-primary')
23
23
  end
24
24
  )
25
25
  )
@@ -1,3 +1,3 @@
1
1
  module ForemanSalt
2
- VERSION = '8.0.0'
2
+ VERSION = '8.0.1'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_salt
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.0.0
4
+ version: 8.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Benjamin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-11-23 00:00:00.000000000 Z
11
+ date: 2017-03-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: deface
@@ -183,27 +183,27 @@ required_rubygems_version: !ruby/object:Gem::Requirement
183
183
  version: '0'
184
184
  requirements: []
185
185
  rubyforge_project:
186
- rubygems_version: 2.5.1
186
+ rubygems_version: 2.5.2
187
187
  signing_key:
188
188
  specification_version: 4
189
189
  summary: Foreman Plug-in for Salt
190
190
  test_files:
191
191
  - test/factories/foreman_salt_factories.rb
192
- - test/unit/host_extensions_test.rb
193
- - test/unit/salt_keys_test.rb
194
- - test/unit/grains_importer_test.rb
195
- - test/unit/hostgroup_extensions_test.rb
196
- - test/unit/report_importer_test.rb
197
- - test/unit/salt_modules_test.rb
198
- - test/unit/highstate.json
199
- - test/unit/grains_centos.json
200
- - test/functional/minions_controller_test.rb
201
- - test/functional/api/v2/salt_environments_controller_test.rb
202
192
  - test/functional/api/v2/salt_autosign_controller_test.rb
193
+ - test/functional/api/v2/salt_environments_controller_test.rb
203
194
  - test/functional/api/v2/salt_keys_controller_test.rb
204
195
  - test/functional/api/v2/salt_states_controller_test.rb
196
+ - test/functional/minions_controller_test.rb
205
197
  - test/integration/salt_autosign_test.rb
206
- - test/integration/salt_keys_test.rb
207
198
  - test/integration/salt_environment_test.rb
199
+ - test/integration/salt_keys_test.rb
208
200
  - test/integration/salt_module_test.rb
201
+ - test/unit/grains_centos.json
202
+ - test/unit/highstate.json
203
+ - test/unit/salt_keys_test.rb
204
+ - test/unit/salt_modules_test.rb
205
+ - test/unit/hostgroup_extensions_test.rb
206
+ - test/unit/report_importer_test.rb
207
+ - test/unit/grains_importer_test.rb
208
+ - test/unit/host_extensions_test.rb
209
209
  - test/test_plugin_helper.rb