foreman_salt 17.0.0 → 17.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -64,7 +64,7 @@ module ForemanSalt
64
64
 
65
65
  context 'autosign handling' do
66
66
  before do
67
- @host = FactoryBot.create(:host, :managed)
67
+ @host = FactoryBot.create(:host, salt_autosign_key: 'asdfasdfasfasdf')
68
68
  @host.salt_proxy = @proxy
69
69
  stub_request(:post, "#{@proxy.url}/salt/autosign_key/asdfasdfasfasdf")
70
70
  .to_return(status: 200, body: '', headers: {})
@@ -72,10 +72,9 @@ module ForemanSalt
72
72
  .to_return(status: 200, body: '', headers: {})
73
73
  end
74
74
 
75
- test 'host autosign is created when host is built' do
75
+ test 'host autosign is created before host is provisioned' do
76
76
  autosign_key = 'asdfasdfasfasdf'
77
- @host.expects(:generate_provisioning_key).returns(autosign_key)
78
- @host.build = true
77
+ @host.build = false
79
78
 
80
79
  assert @host.save!
81
80
  @host.clear_host_parameters_cache!
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: foreman_salt
3
3
  version: !ruby/object:Gem::Version
4
- version: 17.0.0
4
+ version: 17.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Stephen Benjamin
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-09-12 00:00:00.000000000 Z
10
+ date: 2025-03-27 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: deface
@@ -33,7 +32,7 @@ dependencies:
33
32
  version: '14.0'
34
33
  - - "<"
35
34
  - !ruby/object:Gem::Version
36
- version: '15'
35
+ version: '17'
37
36
  type: :runtime
38
37
  prerelease: false
39
38
  version_requirements: !ruby/object:Gem::Requirement
@@ -43,7 +42,7 @@ dependencies:
43
42
  version: '14.0'
44
43
  - - "<"
45
44
  - !ruby/object:Gem::Version
46
- version: '15'
45
+ version: '17'
47
46
  - !ruby/object:Gem::Dependency
48
47
  name: foreman-tasks
49
48
  requirement: !ruby/object:Gem::Requirement
@@ -53,7 +52,7 @@ dependencies:
53
52
  version: '10.0'
54
53
  - - "<"
55
54
  - !ruby/object:Gem::Version
56
- version: '11'
55
+ version: '12'
57
56
  type: :runtime
58
57
  prerelease: false
59
58
  version_requirements: !ruby/object:Gem::Requirement
@@ -63,7 +62,7 @@ dependencies:
63
62
  version: '10.0'
64
63
  - - "<"
65
64
  - !ruby/object:Gem::Version
66
- version: '11'
65
+ version: '12'
67
66
  - !ruby/object:Gem::Dependency
68
67
  name: theforeman-rubocop
69
68
  requirement: !ruby/object:Gem::Requirement
@@ -270,7 +269,6 @@ homepage: https://github.com/theforeman/foreman_salt
270
269
  licenses:
271
270
  - GPL-3.0
272
271
  metadata: {}
273
- post_install_message:
274
272
  rdoc_options: []
275
273
  require_paths:
276
274
  - lib
@@ -285,8 +283,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
285
283
  - !ruby/object:Gem::Version
286
284
  version: '0'
287
285
  requirements: []
288
- rubygems_version: 3.5.11
289
- signing_key:
286
+ rubygems_version: 3.6.2
290
287
  specification_version: 4
291
288
  summary: Foreman Plug-in for Salt
292
289
  test_files: