foreman_salt 7.0.0 → 7.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2ee51989d82f34d76d55912ccd8703f57174338b
|
4
|
+
data.tar.gz: 5b031339533e12d2cdb1ebfe55a51866e6b65463
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 118f8385c0bedde86944f5153bad4c0e71f0ce42087589bf58899544616a508f847b1899e6325702da26caa795b272415176dc03c68014172e765a9d2da1fa2c
|
7
|
+
data.tar.gz: 916ff3a5404117a014d6bbf859ff5b82c9664a5b3ba534ce9e2737b59e0be0c40e8439beb4fd9115cd4a0daf6c73526a5e3c20f56716be5ee4eee515bfe32fb9
|
@@ -11,8 +11,8 @@ module ForemanSalt
|
|
11
11
|
belongs_to :salt_environment, :class_name => 'ForemanSalt::SaltEnvironment'
|
12
12
|
|
13
13
|
alias_method_chain :params, :salt_proxy
|
14
|
-
alias_method_chain :set_hostgroup_defaults, :salt_proxy
|
15
14
|
alias_method_chain :smart_proxy_ids, :salt_proxy
|
15
|
+
alias_method_chain :inherited_attributes, :salt
|
16
16
|
alias_method_chain :configuration?, :salt
|
17
17
|
|
18
18
|
scoped_search :in => :salt_modules, :on => :name, :complete_value => true, :rename => :salt_state
|
@@ -58,10 +58,8 @@ module ForemanSalt
|
|
58
58
|
false
|
59
59
|
end
|
60
60
|
|
61
|
-
def
|
62
|
-
|
63
|
-
assign_hostgroup_attributes(%w(salt_proxy_id salt_environment_id))
|
64
|
-
set_hostgroup_defaults_without_salt_proxy
|
61
|
+
def inherited_attributes_with_salt
|
62
|
+
inherited_attributes_without_salt + %w(salt_proxy_id salt_environment_id)
|
65
63
|
end
|
66
64
|
|
67
65
|
def smart_proxy_ids_with_salt_proxy
|
@@ -0,0 +1,8 @@
|
|
1
|
+
class AddIndexToJoinTables < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
add_index :host_salt_modules, :host_id
|
4
|
+
add_index :host_salt_modules, :salt_module_id
|
5
|
+
add_index :hostgroup_salt_modules, :hostgroup_id
|
6
|
+
add_index :hostgroup_salt_modules, :salt_module_id
|
7
|
+
end
|
8
|
+
end
|
data/lib/foreman_salt/version.rb
CHANGED
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: 7.0.
|
4
|
+
version: 7.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
|
+
date: 2016-11-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
@@ -136,6 +136,7 @@ files:
|
|
136
136
|
- db/migrate/20150411003302_add_environments_to_modules.rb
|
137
137
|
- db/migrate/20150509094409_rename_join_tables.rb
|
138
138
|
- db/migrate/20150509101505_add_primary_keys.rb
|
139
|
+
- db/migrate/20161103104146_add_index_to_join_tables.rb
|
139
140
|
- db/seeds.d/75-salt_seeds.rb
|
140
141
|
- lib/foreman_salt.rb
|
141
142
|
- lib/foreman_salt/engine.rb
|
@@ -187,22 +188,22 @@ signing_key:
|
|
187
188
|
specification_version: 4
|
188
189
|
summary: Foreman Plug-in for Salt
|
189
190
|
test_files:
|
190
|
-
- test/
|
191
|
-
- test/
|
191
|
+
- test/factories/foreman_salt_factories.rb
|
192
|
+
- test/functional/api/v2/salt_autosign_controller_test.rb
|
193
|
+
- test/functional/api/v2/salt_environments_controller_test.rb
|
194
|
+
- test/functional/api/v2/salt_keys_controller_test.rb
|
195
|
+
- test/functional/api/v2/salt_states_controller_test.rb
|
196
|
+
- test/functional/minions_controller_test.rb
|
192
197
|
- test/integration/salt_autosign_test.rb
|
198
|
+
- test/integration/salt_environment_test.rb
|
193
199
|
- test/integration/salt_keys_test.rb
|
194
|
-
- test/
|
195
|
-
- test/unit/grains_importer_test.rb
|
200
|
+
- test/integration/salt_module_test.rb
|
196
201
|
- test/unit/grains_centos.json
|
197
|
-
- test/unit/host_extensions_test.rb
|
198
|
-
- test/unit/report_importer_test.rb
|
199
|
-
- test/unit/hostgroup_extensions_test.rb
|
200
|
-
- test/unit/salt_modules_test.rb
|
201
202
|
- test/unit/highstate.json
|
202
203
|
- test/unit/salt_keys_test.rb
|
203
|
-
- test/
|
204
|
-
- test/
|
205
|
-
- test/
|
206
|
-
- test/
|
207
|
-
- test/
|
208
|
-
- test/
|
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
|
+
- test/test_plugin_helper.rb
|