foreman_salt 0.0.3 → 0.0.4
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: ae1deeaa0c9971036275b4c0b59404c258ab26be
|
4
|
+
data.tar.gz: acb1e0a6e10ae02fef2e3cde3fee083c550a7508
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a781befa2ac30a6e82d1bc097627abea7c0de68fd75c27415a4e70b884f4325c3ecb585562098a44726f4cfdd6109b8aca3b7e49f8cbca452627f47cba06f8eb
|
7
|
+
data.tar.gz: 08cce306491c15a39112ecdc4515bfddb5e26f38e7aab4bfef4667062d1c63ebc7d71213f9a123ecd66a0693335919129dadc7418d7935bb8485d8ee52988d6d
|
@@ -24,7 +24,7 @@ module ForemanSalt
|
|
24
24
|
begin
|
25
25
|
@host = resource_base.find_by_name(params[:name])
|
26
26
|
enc = {}
|
27
|
-
env = @host.salt_environment.blank? ? 'base' : @host.salt_environment
|
27
|
+
env = @host.salt_environment.blank? ? 'base' : @host.salt_environment.name
|
28
28
|
enc["classes"] = @host.salt_modules.any? ? @host.salt_modules.map(&:name) : []
|
29
29
|
enc["parameters"] = @host.info["parameters"]
|
30
30
|
enc["environment"] = env
|
data/lib/foreman_salt/version.rb
CHANGED
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_salt
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen Benjamin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-10-
|
11
|
+
date: 2014-10-08 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: deface
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - '>='
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - '>='
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
description: Foreman Plug-in for Salt
|
@@ -31,69 +31,69 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
-
- LICENSE
|
35
|
-
- README.md
|
36
|
-
- Rakefile
|
37
|
-
- app/controllers/foreman_salt/concerns/hostgroups_controller_extensions.rb
|
38
|
-
- app/controllers/foreman_salt/concerns/hosts_controller_extensions.rb
|
39
|
-
- app/controllers/foreman_salt/concerns/smart_proxy_auth_extensions.rb
|
40
|
-
- app/controllers/foreman_salt/concerns/unattended_controller_extensions.rb
|
41
|
-
- app/controllers/foreman_salt/salt_autosign_controller.rb
|
42
|
-
- app/controllers/foreman_salt/salt_environments_controller.rb
|
43
|
-
- app/controllers/foreman_salt/salt_keys_controller.rb
|
44
|
-
- app/controllers/foreman_salt/salt_modules_controller.rb
|
45
|
-
- app/helpers/concerns/foreman_salt/hosts_helper_extensions.rb
|
46
|
-
- app/helpers/concerns/foreman_salt/smart_proxies_helper_extensions.rb
|
47
34
|
- app/helpers/foreman_salt/salt_keys_helper.rb
|
48
|
-
- app/
|
49
|
-
- app/
|
50
|
-
- app/
|
51
|
-
- app/models/concerns/foreman_salt/orchestration/salt.rb
|
52
|
-
- app/models/foreman_salt/fact_name.rb
|
53
|
-
- app/models/foreman_salt/salt_environment.rb
|
54
|
-
- app/models/foreman_salt/salt_module.rb
|
35
|
+
- app/helpers/concerns/foreman_salt/smart_proxies_helper_extensions.rb
|
36
|
+
- app/helpers/concerns/foreman_salt/hosts_helper_extensions.rb
|
37
|
+
- app/overrides/salt_modules_selector.rb
|
55
38
|
- app/overrides/foreman/salt_modules/_host_tab.html.erb
|
56
39
|
- app/overrides/foreman/salt_modules/_host_tab_pane.html.erb
|
57
|
-
- app/overrides/salt_environment_selector.rb
|
58
|
-
- app/overrides/salt_modules_selector.rb
|
59
40
|
- app/overrides/salt_proxy_selector.rb
|
60
|
-
- app/
|
61
|
-
- app/services/foreman_salt/smart_proxies/salt_keys.rb
|
62
|
-
- app/views/foreman_salt/salt_autosign/_form.html.erb
|
63
|
-
- app/views/foreman_salt/salt_autosign/index.html.erb
|
64
|
-
- app/views/foreman_salt/salt_autosign/new.html.erb
|
65
|
-
- app/views/foreman_salt/salt_environments/_form.html.erb
|
66
|
-
- app/views/foreman_salt/salt_environments/edit.html.erb
|
67
|
-
- app/views/foreman_salt/salt_environments/index.html.erb
|
68
|
-
- app/views/foreman_salt/salt_environments/new.html.erb
|
69
|
-
- app/views/foreman_salt/salt_keys/index.erb
|
70
|
-
- app/views/foreman_salt/salt_modules/_form.html.erb
|
71
|
-
- app/views/foreman_salt/salt_modules/edit.html.erb
|
41
|
+
- app/overrides/salt_environment_selector.rb
|
72
42
|
- app/views/foreman_salt/salt_modules/index.html.erb
|
73
43
|
- app/views/foreman_salt/salt_modules/new.html.erb
|
44
|
+
- app/views/foreman_salt/salt_modules/_form.html.erb
|
45
|
+
- app/views/foreman_salt/salt_modules/edit.html.erb
|
46
|
+
- app/views/foreman_salt/salt_keys/index.erb
|
47
|
+
- app/views/foreman_salt/salt_environments/index.html.erb
|
48
|
+
- app/views/foreman_salt/salt_environments/new.html.erb
|
49
|
+
- app/views/foreman_salt/salt_environments/_form.html.erb
|
50
|
+
- app/views/foreman_salt/salt_environments/edit.html.erb
|
51
|
+
- app/views/foreman_salt/salt_autosign/index.html.erb
|
52
|
+
- app/views/foreman_salt/salt_autosign/new.html.erb
|
53
|
+
- app/views/foreman_salt/salt_autosign/_form.html.erb
|
54
|
+
- app/services/foreman_salt/smart_proxies/salt_keys.rb
|
55
|
+
- app/services/foreman_salt/fact_importer.rb
|
56
|
+
- app/models/foreman_salt/salt_module.rb
|
57
|
+
- app/models/foreman_salt/salt_environment.rb
|
58
|
+
- app/models/foreman_salt/fact_name.rb
|
59
|
+
- app/models/concerns/foreman_salt/hostgroup_extensions.rb
|
60
|
+
- app/models/concerns/foreman_salt/host_managed_extensions.rb
|
61
|
+
- app/models/concerns/foreman_salt/orchestration/salt.rb
|
62
|
+
- app/controllers/foreman_salt/salt_modules_controller.rb
|
63
|
+
- app/controllers/foreman_salt/salt_autosign_controller.rb
|
64
|
+
- app/controllers/foreman_salt/salt_keys_controller.rb
|
65
|
+
- app/controllers/foreman_salt/concerns/hostgroups_controller_extensions.rb
|
66
|
+
- app/controllers/foreman_salt/concerns/smart_proxy_auth_extensions.rb
|
67
|
+
- app/controllers/foreman_salt/concerns/hosts_controller_extensions.rb
|
68
|
+
- app/controllers/foreman_salt/concerns/unattended_controller_extensions.rb
|
69
|
+
- app/controllers/foreman_salt/salt_environments_controller.rb
|
70
|
+
- app/lib/proxy_api/salt.rb
|
74
71
|
- config/routes.rb
|
75
|
-
- db/
|
72
|
+
- db/seeds.d/75-salt-seeds.rb
|
73
|
+
- db/migrate/20140920232200_create_salt_environments.rb
|
76
74
|
- db/migrate/20140817210214_create_salt_modules.rb
|
77
75
|
- db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
|
78
|
-
- db/migrate/
|
79
|
-
- db/seeds.d/75-salt-seeds.rb
|
80
|
-
- lib/foreman_salt.rb
|
76
|
+
- db/migrate/20140813081913_add_salt_proxy_to_host_and_host_group.rb
|
81
77
|
- lib/foreman_salt/engine.rb
|
82
78
|
- lib/foreman_salt/version.rb
|
83
79
|
- lib/tasks/foreman_salt_tasks.rake
|
84
|
-
-
|
85
|
-
-
|
86
|
-
-
|
87
|
-
-
|
80
|
+
- lib/foreman_salt.rb
|
81
|
+
- LICENSE
|
82
|
+
- Rakefile
|
83
|
+
- README.md
|
88
84
|
- test/integration/salt_keys_test.rb
|
85
|
+
- test/integration/salt_environment_test.rb
|
89
86
|
- test/integration/salt_module_test.rb
|
90
|
-
- test/
|
87
|
+
- test/integration/salt_autosign_test.rb
|
88
|
+
- test/unit/salt_keys_test.rb
|
91
89
|
- test/unit/grains_centos.json
|
92
|
-
- test/unit/grains_importer_test.rb
|
93
90
|
- test/unit/host_extensions_test.rb
|
94
|
-
- test/unit/hostgroup_extensions_test.rb
|
95
|
-
- test/unit/salt_keys_test.rb
|
96
91
|
- test/unit/salt_modules_test.rb
|
92
|
+
- test/unit/grains_importer_test.rb
|
93
|
+
- test/unit/hostgroup_extensions_test.rb
|
94
|
+
- test/test_plugin_helper.rb
|
95
|
+
- test/factories/foreman_salt_factories.rb
|
96
|
+
- test/functional/hosts_controller_test.rb
|
97
97
|
homepage: http://github.com/theforeman/foreman_salt
|
98
98
|
licenses:
|
99
99
|
- GPL-3
|
@@ -104,31 +104,31 @@ require_paths:
|
|
104
104
|
- lib
|
105
105
|
required_ruby_version: !ruby/object:Gem::Requirement
|
106
106
|
requirements:
|
107
|
-
- -
|
107
|
+
- - '>='
|
108
108
|
- !ruby/object:Gem::Version
|
109
109
|
version: '0'
|
110
110
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
111
111
|
requirements:
|
112
|
-
- -
|
112
|
+
- - '>='
|
113
113
|
- !ruby/object:Gem::Version
|
114
114
|
version: '0'
|
115
115
|
requirements: []
|
116
116
|
rubyforge_project:
|
117
|
-
rubygems_version: 2.
|
117
|
+
rubygems_version: 2.1.11
|
118
118
|
signing_key:
|
119
119
|
specification_version: 4
|
120
120
|
summary: Foreman Plug-in for Salt
|
121
121
|
test_files:
|
122
|
-
- test/factories/foreman_salt_factories.rb
|
123
|
-
- test/unit/host_extensions_test.rb
|
124
|
-
- test/unit/salt_keys_test.rb
|
125
|
-
- test/unit/grains_importer_test.rb
|
126
|
-
- test/unit/hostgroup_extensions_test.rb
|
127
|
-
- test/unit/salt_modules_test.rb
|
128
|
-
- test/unit/grains_centos.json
|
129
|
-
- test/functional/hosts_controller_test.rb
|
130
|
-
- test/integration/salt_autosign_test.rb
|
131
122
|
- test/integration/salt_keys_test.rb
|
132
123
|
- test/integration/salt_environment_test.rb
|
133
124
|
- test/integration/salt_module_test.rb
|
125
|
+
- test/integration/salt_autosign_test.rb
|
126
|
+
- test/unit/salt_keys_test.rb
|
127
|
+
- test/unit/grains_centos.json
|
128
|
+
- test/unit/host_extensions_test.rb
|
129
|
+
- test/unit/salt_modules_test.rb
|
130
|
+
- test/unit/grains_importer_test.rb
|
131
|
+
- test/unit/hostgroup_extensions_test.rb
|
134
132
|
- test/test_plugin_helper.rb
|
133
|
+
- test/factories/foreman_salt_factories.rb
|
134
|
+
- test/functional/hosts_controller_test.rb
|