foreman_salt 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -8
- data/Rakefile +1 -1
- data/app/controllers/foreman_salt/api/v2/jobs_controller.rb +4 -4
- data/app/controllers/foreman_salt/concerns/hosts_controller_extensions.rb +4 -4
- data/app/controllers/foreman_salt/concerns/smart_proxy_auth_extensions.rb +2 -2
- data/app/controllers/foreman_salt/concerns/unattended_controller_extensions.rb +1 -1
- data/app/controllers/foreman_salt/salt_environments_controller.rb +1 -1
- data/app/controllers/foreman_salt/salt_keys_controller.rb +4 -4
- data/app/controllers/foreman_salt/salt_modules_controller.rb +1 -1
- data/app/helpers/concerns/foreman_salt/hosts_helper_extensions.rb +4 -4
- data/app/helpers/concerns/foreman_salt/smart_proxies_helper_extensions.rb +2 -2
- data/app/helpers/foreman_salt/salt_keys_helper.rb +1 -1
- data/app/lib/proxy_api/salt.rb +21 -21
- data/app/models/foreman_salt/concerns/host_managed_extensions.rb +7 -7
- data/app/models/foreman_salt/concerns/hostgroup_extensions.rb +5 -5
- data/app/models/foreman_salt/concerns/orchestration/salt.rb +12 -12
- data/app/models/foreman_salt/salt_environment.rb +4 -4
- data/app/models/foreman_salt/salt_module.rb +4 -4
- data/app/overrides/foreman/salt_modules/_host_tab_pane.html.erb +2 -2
- data/app/overrides/salt_environment_selector.rb +4 -4
- data/app/overrides/salt_modules_selector.rb +9 -9
- data/app/overrides/salt_proxy_selector.rb +4 -4
- data/app/services/foreman_salt/fact_importer.rb +5 -5
- data/app/services/foreman_salt/report_importer.rb +14 -14
- data/app/services/foreman_salt/smart_proxies/salt_keys.rb +6 -6
- data/app/views/foreman_salt/salt_autosign/_form.html.erb +1 -1
- data/app/views/foreman_salt/salt_autosign/index.html.erb +3 -3
- data/app/views/foreman_salt/salt_autosign/new.html.erb +1 -1
- data/app/views/foreman_salt/salt_environments/edit.html.erb +1 -1
- data/app/views/foreman_salt/salt_environments/index.html.erb +4 -4
- data/app/views/foreman_salt/salt_environments/new.html.erb +1 -1
- data/app/views/foreman_salt/salt_keys/index.erb +9 -9
- data/app/views/foreman_salt/salt_modules/edit.html.erb +1 -1
- data/app/views/foreman_salt/salt_modules/index.html.erb +4 -4
- data/app/views/foreman_salt/salt_modules/new.html.erb +1 -1
- data/config/routes.rb +1 -1
- data/db/migrate/20140817210214_create_salt_modules.rb +1 -1
- data/db/migrate/20140920232200_create_salt_environments.rb +1 -1
- data/db/seeds.d/75-salt-seeds.rb +1 -1
- data/lib/foreman_salt/engine.rb +20 -20
- data/lib/foreman_salt/version.rb +1 -1
- data/lib/foreman_salt.rb +1 -1
- data/lib/tasks/foreman_salt_tasks.rake +16 -9
- data/test/factories/foreman_salt_factories.rb +2 -2
- data/test/functional/hosts_controller_test.rb +1 -1
- data/test/integration/salt_autosign_test.rb +8 -8
- data/test/integration/salt_environment_test.rb +7 -7
- data/test/integration/salt_keys_test.rb +17 -17
- data/test/integration/salt_module_test.rb +8 -8
- data/test/test_plugin_helper.rb +1 -1
- data/test/unit/grains_importer_test.rb +9 -9
- data/test/unit/host_extensions_test.rb +7 -7
- data/test/unit/hostgroup_extensions_test.rb +7 -7
- data/test/unit/report_importer_test.rb +1 -1
- data/test/unit/salt_keys_test.rb +13 -13
- data/test/unit/salt_modules_test.rb +5 -5
- metadata +58 -58
@@ -3,7 +3,7 @@ require 'test_plugin_helper'
|
|
3
3
|
module ForemanSalt
|
4
4
|
class GrainsImporterTest < ActiveSupport::TestCase
|
5
5
|
setup do
|
6
|
-
User.current = User.find_by_login
|
6
|
+
User.current = User.find_by_login 'admin'
|
7
7
|
Setting[:create_new_host_when_facts_are_uploaded] = true
|
8
8
|
|
9
9
|
# I don't even know, the plug-in successfully registers the importer
|
@@ -11,24 +11,24 @@ module ForemanSalt
|
|
11
11
|
# in the test itself...
|
12
12
|
::FactImporter.stubs(:importer_for).returns(ForemanSalt::FactImporter)
|
13
13
|
|
14
|
-
grains = JSON.parse(File.read(File.join(Engine.root,
|
15
|
-
@host = grains[
|
16
|
-
@facts = grains[
|
14
|
+
grains = JSON.parse(File.read(File.join(Engine.root, 'test', 'unit', 'grains_centos.json')))
|
15
|
+
@host = grains['name']
|
16
|
+
@facts = grains['facts']
|
17
17
|
end
|
18
18
|
|
19
|
-
test
|
19
|
+
test 'importing salt grains creates a host' do
|
20
20
|
refute Host.find_by_name(@host)
|
21
21
|
::Host::Managed.import_host_and_facts @host, @facts
|
22
22
|
assert Host.find_by_name(@host)
|
23
23
|
end
|
24
24
|
|
25
|
-
test
|
26
|
-
(host,
|
25
|
+
test 'grains are successfully imported for a host' do
|
26
|
+
(host, _) = ::Host::Managed.import_host_and_facts @host, @facts
|
27
27
|
assert_equal 'CentOS', host.facts_hash['operatingsystem']
|
28
28
|
end
|
29
29
|
|
30
|
-
test
|
31
|
-
(host,
|
30
|
+
test 'nested facts have valid parents' do
|
31
|
+
(host, _) = ::Host::Managed.import_host_and_facts @host, @facts
|
32
32
|
parent = ::FactName.find_by_name('cpu_flags')
|
33
33
|
children = host.fact_values.with_fact_parent_id(parent)
|
34
34
|
assert_not_empty children
|
@@ -3,26 +3,26 @@ require 'test_plugin_helper'
|
|
3
3
|
module ForemanSalt
|
4
4
|
class HostExtensionsTest < ActiveSupport::TestCase
|
5
5
|
setup do
|
6
|
-
User.current = User.find_by_login
|
6
|
+
User.current = User.find_by_login 'admin'
|
7
7
|
end
|
8
8
|
|
9
|
-
test
|
9
|
+
test 'host has a salt smart proxy' do
|
10
10
|
host = FactoryGirl.create :host, :with_salt_proxy
|
11
11
|
assert host.salt_proxy.features.map(&:name).include? 'Salt'
|
12
12
|
end
|
13
13
|
|
14
|
-
test
|
14
|
+
test 'smart_proxy_ids returns salt smart proxy' do
|
15
15
|
host = FactoryGirl.create :host, :with_salt_proxy
|
16
16
|
assert host.smart_proxy_ids.include? host.salt_proxy_id
|
17
17
|
end
|
18
18
|
|
19
|
-
test
|
19
|
+
test 'host params includes salt_master' do
|
20
20
|
host = FactoryGirl.create :host, :with_salt_proxy
|
21
|
-
assert host.params.key?
|
22
|
-
assert_equal host.params[
|
21
|
+
assert host.params.key? 'salt_master'
|
22
|
+
assert_equal host.params['salt_master'], host.salt_master
|
23
23
|
end
|
24
24
|
|
25
|
-
test
|
25
|
+
test 'host inherits salt proxy from host group' do
|
26
26
|
hostgroup = FactoryGirl.create :hostgroup, :with_salt_proxy
|
27
27
|
host = FactoryGirl.create :host, :hostgroup => hostgroup
|
28
28
|
host.set_hostgroup_defaults
|
@@ -3,36 +3,36 @@ require 'test_plugin_helper'
|
|
3
3
|
module ForemanSalt
|
4
4
|
class HostgroupExtensionsTest < ActiveSupport::TestCase
|
5
5
|
setup do
|
6
|
-
User.current = User.find_by_login
|
6
|
+
User.current = User.find_by_login 'admin'
|
7
7
|
end
|
8
8
|
|
9
|
-
test
|
9
|
+
test 'host group has a salt smart proxy' do
|
10
10
|
hostgroup = FactoryGirl.create :hostgroup, :with_salt_proxy
|
11
11
|
assert hostgroup.salt_proxy.features.map(&:name).include? 'Salt'
|
12
12
|
end
|
13
13
|
|
14
|
-
test
|
14
|
+
test 'nested host group inherits salt modules from parent' do
|
15
15
|
parent = FactoryGirl.create :hostgroup, :with_salt_modules
|
16
16
|
child = FactoryGirl.create :hostgroup, :parent => parent
|
17
17
|
assert_equal [], parent.salt_modules - child.salt_modules
|
18
18
|
end
|
19
19
|
|
20
|
-
test
|
20
|
+
test 'child host group inherits salt proxy from child parent' do
|
21
21
|
parent = FactoryGirl.create :hostgroup
|
22
22
|
child_one = FactoryGirl.create :hostgroup, :with_salt_proxy, :parent => parent
|
23
23
|
child_two = FactoryGirl.create :hostgroup, :parent => child_one
|
24
24
|
assert_equal child_two.salt_proxy, child_one.salt_proxy
|
25
25
|
end
|
26
26
|
|
27
|
-
test
|
27
|
+
test 'child and parent salt modules are combined' do
|
28
28
|
parent = FactoryGirl.create :hostgroup, :with_salt_modules
|
29
29
|
child = FactoryGirl.create :hostgroup, :with_salt_modules, :parent => parent
|
30
30
|
assert_equal 10, (child.salt_modules - parent.salt_modules).length
|
31
31
|
end
|
32
32
|
|
33
|
-
test
|
33
|
+
test 'second child inherits from parent' do
|
34
34
|
parent = FactoryGirl.create :hostgroup, :with_salt_modules
|
35
|
-
child_one = FactoryGirl.create :hostgroup, :parent => parent
|
35
|
+
child_one = FactoryGirl.create :hostgroup, :parent => parent
|
36
36
|
child_two = FactoryGirl.create :hostgroup, :parent => child_one
|
37
37
|
assert_equal [], parent.salt_modules - child_two.salt_modules
|
38
38
|
end
|
@@ -17,7 +17,7 @@ module ForemanSalt
|
|
17
17
|
assert Host.find_by_name(@host)
|
18
18
|
end
|
19
19
|
|
20
|
-
test
|
20
|
+
test 'importing report updates host status' do
|
21
21
|
ForemanSalt::ReportImporter.import(@report)
|
22
22
|
assert_equal Host.find_by_name(@host).host_status, 'Error'
|
23
23
|
end
|
data/test/unit/salt_keys_test.rb
CHANGED
@@ -2,7 +2,7 @@ require 'test_plugin_helper'
|
|
2
2
|
|
3
3
|
class SaltKeysTest < ActiveSupport::TestCase
|
4
4
|
setup do
|
5
|
-
User.current = User.find_by_login
|
5
|
+
User.current = User.find_by_login 'admin'
|
6
6
|
|
7
7
|
# Fix for 1.8.7 OpenStruct http://stackoverflow.com/questions/9079441/populate-select-tag-ruby-rails
|
8
8
|
OpenStruct.__send__(:define_method, :id) { @table[:id] }
|
@@ -11,39 +11,39 @@ class SaltKeysTest < ActiveSupport::TestCase
|
|
11
11
|
|
12
12
|
ProxyAPI::Salt.any_instance.stubs(:key_list).returns(
|
13
13
|
{
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
14
|
+
'saltstack.example.com' => {'state'=>'accepted', 'fingerprint'=>'98:c2:63:c1:57:59:bc:bd:f1:ef:5a:38:b2:e9:71:c0'},
|
15
|
+
'saltclient01.example.com' => {'state'=>'unaccepted', 'fingerprint'=>'98:c2:63:c1:57:59:bc:bd:f1:ef:5a:38:b2:e9:71:c1'},
|
16
|
+
'saltclient02.example.com' => {'state'=>'unaccepted', 'fingerprint'=>'98:c2:63:c1:57:59:bc:bd:f1:ef:5a:38:b2:e9:71:c2'},
|
17
|
+
'saltclient03.example.com' => {'state'=>'rejected', 'fingerprint'=>'98:c2:63:c1:57:59:bc:bd:f1:ef:5a:38:b2:e9:71:c3'}
|
18
18
|
}
|
19
19
|
)
|
20
20
|
end
|
21
21
|
|
22
|
-
test
|
22
|
+
test 'key has a name' do
|
23
23
|
assert_not_empty ForemanSalt::SmartProxies::SaltKeys.all(@proxy).first.name
|
24
24
|
end
|
25
25
|
|
26
|
-
test
|
26
|
+
test 'key has a state' do
|
27
27
|
assert_not_empty ForemanSalt::SmartProxies::SaltKeys.all(@proxy).first.state
|
28
28
|
end
|
29
29
|
|
30
|
-
test
|
30
|
+
test 'key has a fingerprint' do
|
31
31
|
assert_not_empty ForemanSalt::SmartProxies::SaltKeys.all(@proxy).first.fingerprint
|
32
32
|
end
|
33
33
|
|
34
|
-
test
|
34
|
+
test 'key has a smart proxy id' do
|
35
35
|
assert_equal 1, ForemanSalt::SmartProxies::SaltKeys.all(@proxy).first.smart_proxy_id
|
36
36
|
end
|
37
37
|
|
38
|
-
test
|
38
|
+
test 'returns all keys' do
|
39
39
|
assert_equal 4, ForemanSalt::SmartProxies::SaltKeys.all(@proxy).count
|
40
40
|
end
|
41
|
-
|
42
|
-
test
|
41
|
+
|
42
|
+
test 'finds a key by name' do
|
43
43
|
assert_equal ForemanSalt::SmartProxies::SaltKeys.find(@proxy, 'saltstack.example.com').name, 'saltstack.example.com'
|
44
44
|
end
|
45
45
|
|
46
|
-
test
|
46
|
+
test 'find keys by state' do
|
47
47
|
assert_equal 2, ForemanSalt::SmartProxies::SaltKeys.find_by_state(@proxy, 'unaccepted').count
|
48
48
|
end
|
49
49
|
end
|
@@ -1,17 +1,17 @@
|
|
1
1
|
require 'test_plugin_helper'
|
2
2
|
|
3
|
-
class
|
3
|
+
class SaltModulesTest < ActiveSupport::TestCase
|
4
4
|
setup do
|
5
|
-
User.current = User.find_by_login
|
5
|
+
User.current = User.find_by_login 'admin'
|
6
6
|
end
|
7
7
|
|
8
|
-
test
|
8
|
+
test 'salt module has a valid name' do
|
9
9
|
salt_module = ForemanSalt::SaltModule.new(:name => 'foo.bar.baz')
|
10
10
|
assert_valid salt_module
|
11
11
|
end
|
12
12
|
|
13
|
-
test
|
14
|
-
salt_module = ForemanSalt::SaltModule.new(:name =>
|
13
|
+
test 'salt module has invalid name' do
|
14
|
+
salt_module = ForemanSalt::SaltModule.new(:name => '&bad$name')
|
15
15
|
refute_valid salt_module, :name, /alphanumeric/
|
16
16
|
end
|
17
17
|
end
|
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: 1.1.
|
4
|
+
version: 1.1.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:
|
11
|
+
date: 2015-01-14 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: '1.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: '1.0'
|
27
27
|
description: Foreman Plug-in for Salt
|
@@ -31,75 +31,75 @@ executables: []
|
|
31
31
|
extensions: []
|
32
32
|
extra_rdoc_files: []
|
33
33
|
files:
|
34
|
-
-
|
35
|
-
-
|
36
|
-
-
|
37
|
-
- app/
|
38
|
-
- app/overrides/foreman/salt_modules/_host_tab.html.erb
|
39
|
-
- app/overrides/foreman/salt_modules/_host_tab_pane.html.erb
|
40
|
-
- app/overrides/salt_proxy_selector.rb
|
41
|
-
- app/overrides/salt_environment_selector.rb
|
42
|
-
- app/views/foreman_salt/salt_modules/index.html.erb
|
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/report_importer.rb
|
56
|
-
- app/services/foreman_salt/fact_importer.rb
|
57
|
-
- app/models/foreman_salt/salt_module.rb
|
58
|
-
- app/models/foreman_salt/concerns/hostgroup_extensions.rb
|
59
|
-
- app/models/foreman_salt/concerns/host_managed_extensions.rb
|
60
|
-
- app/models/foreman_salt/concerns/orchestration/salt.rb
|
61
|
-
- app/models/foreman_salt/salt_environment.rb
|
62
|
-
- app/models/foreman_salt/fact_name.rb
|
63
|
-
- app/controllers/foreman_salt/salt_modules_controller.rb
|
34
|
+
- LICENSE
|
35
|
+
- README.md
|
36
|
+
- Rakefile
|
37
|
+
- app/controllers/foreman_salt/api/v2/jobs_controller.rb
|
64
38
|
- app/controllers/foreman_salt/application_controller.rb
|
65
|
-
- app/controllers/foreman_salt/salt_autosign_controller.rb
|
66
|
-
- app/controllers/foreman_salt/salt_keys_controller.rb
|
67
39
|
- app/controllers/foreman_salt/concerns/hostgroups_controller_extensions.rb
|
68
|
-
- app/controllers/foreman_salt/concerns/smart_proxy_auth_extensions.rb
|
69
40
|
- app/controllers/foreman_salt/concerns/hosts_controller_extensions.rb
|
41
|
+
- app/controllers/foreman_salt/concerns/smart_proxy_auth_extensions.rb
|
70
42
|
- app/controllers/foreman_salt/concerns/unattended_controller_extensions.rb
|
71
|
-
- app/controllers/foreman_salt/
|
43
|
+
- app/controllers/foreman_salt/salt_autosign_controller.rb
|
72
44
|
- app/controllers/foreman_salt/salt_environments_controller.rb
|
73
|
-
- app/
|
45
|
+
- app/controllers/foreman_salt/salt_keys_controller.rb
|
46
|
+
- app/controllers/foreman_salt/salt_modules_controller.rb
|
47
|
+
- app/helpers/concerns/foreman_salt/hosts_helper_extensions.rb
|
48
|
+
- app/helpers/concerns/foreman_salt/smart_proxies_helper_extensions.rb
|
49
|
+
- app/helpers/foreman_salt/salt_keys_helper.rb
|
74
50
|
- app/lib/actions/foreman_salt/report_import.rb
|
51
|
+
- app/lib/proxy_api/salt.rb
|
52
|
+
- app/models/foreman_salt/concerns/host_managed_extensions.rb
|
53
|
+
- app/models/foreman_salt/concerns/hostgroup_extensions.rb
|
54
|
+
- app/models/foreman_salt/concerns/orchestration/salt.rb
|
55
|
+
- app/models/foreman_salt/fact_name.rb
|
56
|
+
- app/models/foreman_salt/salt_environment.rb
|
57
|
+
- app/models/foreman_salt/salt_module.rb
|
58
|
+
- app/overrides/foreman/salt_modules/_host_tab.html.erb
|
59
|
+
- app/overrides/foreman/salt_modules/_host_tab_pane.html.erb
|
60
|
+
- app/overrides/salt_environment_selector.rb
|
61
|
+
- app/overrides/salt_modules_selector.rb
|
62
|
+
- app/overrides/salt_proxy_selector.rb
|
63
|
+
- app/services/foreman_salt/fact_importer.rb
|
64
|
+
- app/services/foreman_salt/report_importer.rb
|
65
|
+
- app/services/foreman_salt/smart_proxies/salt_keys.rb
|
66
|
+
- app/views/foreman_salt/salt_autosign/_form.html.erb
|
67
|
+
- app/views/foreman_salt/salt_autosign/index.html.erb
|
68
|
+
- app/views/foreman_salt/salt_autosign/new.html.erb
|
69
|
+
- app/views/foreman_salt/salt_environments/_form.html.erb
|
70
|
+
- app/views/foreman_salt/salt_environments/edit.html.erb
|
71
|
+
- app/views/foreman_salt/salt_environments/index.html.erb
|
72
|
+
- app/views/foreman_salt/salt_environments/new.html.erb
|
73
|
+
- app/views/foreman_salt/salt_keys/index.erb
|
74
|
+
- app/views/foreman_salt/salt_modules/_form.html.erb
|
75
|
+
- app/views/foreman_salt/salt_modules/edit.html.erb
|
76
|
+
- app/views/foreman_salt/salt_modules/index.html.erb
|
77
|
+
- app/views/foreman_salt/salt_modules/new.html.erb
|
75
78
|
- config/routes.rb
|
76
|
-
- db/
|
77
|
-
- db/migrate/20140920232200_create_salt_environments.rb
|
79
|
+
- db/migrate/20140813081913_add_salt_proxy_to_host_and_host_group.rb
|
78
80
|
- db/migrate/20140817210214_create_salt_modules.rb
|
79
81
|
- db/migrate/20140829210214_add_salt_modules_to_hostgroups.rb
|
80
|
-
- db/migrate/
|
82
|
+
- db/migrate/20140920232200_create_salt_environments.rb
|
83
|
+
- db/seeds.d/75-salt-seeds.rb
|
84
|
+
- lib/foreman_salt.rb
|
81
85
|
- lib/foreman_salt/engine.rb
|
82
86
|
- lib/foreman_salt/version.rb
|
83
87
|
- lib/tasks/foreman_salt_tasks.rake
|
84
|
-
-
|
85
|
-
-
|
86
|
-
-
|
87
|
-
- README.md
|
88
|
-
- test/integration/salt_keys_test.rb
|
88
|
+
- test/factories/foreman_salt_factories.rb
|
89
|
+
- test/functional/hosts_controller_test.rb
|
90
|
+
- test/integration/salt_autosign_test.rb
|
89
91
|
- test/integration/salt_environment_test.rb
|
92
|
+
- test/integration/salt_keys_test.rb
|
90
93
|
- test/integration/salt_module_test.rb
|
91
|
-
- test/
|
92
|
-
- test/unit/salt_keys_test.rb
|
94
|
+
- test/test_plugin_helper.rb
|
93
95
|
- test/unit/grains_centos.json
|
94
|
-
- test/unit/host_extensions_test.rb
|
95
|
-
- test/unit/salt_modules_test.rb
|
96
|
-
- test/unit/highstate.json
|
97
96
|
- test/unit/grains_importer_test.rb
|
97
|
+
- test/unit/highstate.json
|
98
|
+
- test/unit/host_extensions_test.rb
|
98
99
|
- test/unit/hostgroup_extensions_test.rb
|
99
100
|
- test/unit/report_importer_test.rb
|
100
|
-
- test/
|
101
|
-
- test/
|
102
|
-
- test/functional/hosts_controller_test.rb
|
101
|
+
- test/unit/salt_keys_test.rb
|
102
|
+
- test/unit/salt_modules_test.rb
|
103
103
|
homepage: http://github.com/theforeman/foreman_salt
|
104
104
|
licenses:
|
105
105
|
- GPL-3
|
@@ -110,17 +110,17 @@ require_paths:
|
|
110
110
|
- lib
|
111
111
|
required_ruby_version: !ruby/object:Gem::Requirement
|
112
112
|
requirements:
|
113
|
-
- -
|
113
|
+
- - ">="
|
114
114
|
- !ruby/object:Gem::Version
|
115
115
|
version: '0'
|
116
116
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
117
117
|
requirements:
|
118
|
-
- -
|
118
|
+
- - ">="
|
119
119
|
- !ruby/object:Gem::Version
|
120
120
|
version: '0'
|
121
121
|
requirements: []
|
122
122
|
rubyforge_project:
|
123
|
-
rubygems_version: 2.
|
123
|
+
rubygems_version: 2.2.2
|
124
124
|
signing_key:
|
125
125
|
specification_version: 4
|
126
126
|
summary: Foreman Plug-in for Salt
|