foreman_salt 7.0.2 → 7.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5f1b578f746a23b4baddb585b865e87b6db90232
|
4
|
+
data.tar.gz: 2a177763f30f68bc12ba770e180a562f5abda4e1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c9c99556833b1a240f5594398862fcf59413eda02bdcf53b54c639309fa25b667839f7fbf112e2365ee92f5b956a96c2441edcfe997d7cc6f1e0d85abbfe7c28
|
7
|
+
data.tar.gz: 7604ba5ee0dd35f4505ff74e70bb24fadb6887facf87d7f30c2d9781d34030d8976a0c2ff037cceb3546bc20934b2975b65b4cac9a0b64e5309a193539287a1b
|
@@ -20,7 +20,7 @@ function update_salt_states(element) {
|
|
20
20
|
return;
|
21
21
|
}
|
22
22
|
|
23
|
-
|
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
|
-
|
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 =
|
76
|
+
@minion.attributes = host_params(:host)
|
77
77
|
else
|
78
|
-
@minion ||= Host::Managed.new(
|
78
|
+
@minion ||= Host::Managed.new(host_params(:host))
|
79
79
|
end
|
80
80
|
|
81
81
|
@obj = @minion
|
@@ -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
|
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.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: 2016-11
|
11
|
+
date: 2016-12-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
@@ -183,7 +183,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
183
183
|
version: '0'
|
184
184
|
requirements: []
|
185
185
|
rubyforge_project:
|
186
|
-
rubygems_version: 2.5.
|
186
|
+
rubygems_version: 2.5.2
|
187
187
|
signing_key:
|
188
188
|
specification_version: 4
|
189
189
|
summary: Foreman Plug-in for Salt
|