foreman_salt 8.0.2 → 8.0.3

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: b2e704b1c9a00f0dbe9fd037dda98eee1125226a
4
- data.tar.gz: 2dbf54a0bb81a8047f2b127bbb181a1bca864df8
3
+ metadata.gz: b41856693558fa791aa8995c9532ff5fc2c2aee7
4
+ data.tar.gz: 4d74360561499d39ec1a340d542a3d8c54f5030c
5
5
  SHA512:
6
- metadata.gz: 043727e462c0e56b777a8f0dfe11d0411cebe0a68dc5fc7df2341b7186f7f146c22fa2d7f66ccbe5b5923fd724115d527387eebc7dbf7101110e4da403d3d423
7
- data.tar.gz: afb5cb54391a270c2246bd717097ae2f92f2fbf17fec76076c73a9293b01e4d5704d91477317496376187257f8ad05b0b5349b76d993901c48b8fc9b9f1e37eb
6
+ metadata.gz: a5f3c8092420d2671c6c05b27253cf45691a8ea9fbffad31c9d5bfa4d94c5decf31e4389c33c2b6b8fa99ef188b7fb52dbdc2e3fa5c73935a9e5cbf9e25cc21a
7
+ data.tar.gz: a3d3f67166b6c124bf47a8d86b05ea286f6ad44251665e0b2057a31b54f79e5d0841285c5effa99bfd33d8f8e968f48b9a4d958abbdf85707f3cc2731ce54b82
@@ -6,6 +6,8 @@ viewer = Role.find_by_name('Viewer')
6
6
 
7
7
  if viewer
8
8
  Permission.where(:name => [:view_smart_proxies_salt_keys, :view_smart_proxies_salt_autosign, :view_salt_modules]).each do |permission|
9
- viewer.add_permissions!([permission.name]) unless viewer.permissions.include? permission
9
+ viewer.ignore_locking do
10
+ viewer.add_permissions!([permission.name]) unless viewer.permissions.include? permission
11
+ end
10
12
  end
11
13
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanSalt
2
- VERSION = '8.0.2'
2
+ VERSION = '8.0.3'
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.2
4
+ version: 8.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Benjamin
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-03-29 00:00:00.000000000 Z
11
+ date: 2017-11-25 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.2
186
+ rubygems_version: 2.5.2.1
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
192
  - test/functional/api/v2/salt_environments_controller_test.rb
202
193
  - test/functional/api/v2/salt_autosign_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/report_importer_test.rb
206
+ - test/unit/grains_importer_test.rb
207
+ - test/unit/host_extensions_test.rb
208
+ - test/unit/hostgroup_extensions_test.rb
209
209
  - test/test_plugin_helper.rb