foreman_maintain 1.0.15 → 1.0.17
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/definitions/scenarios/self_upgrade.rb +6 -3
- data/lib/foreman_maintain/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 84beb23b16dd631324e77e864150007d3c9dd9cd610e8d5e98471b836f1225d0
|
4
|
+
data.tar.gz: 44b3168e40102a7721faf2429519df681feed5e296bbfd14c12764eb042e953b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2bb749f61ed5c56b9120a39284d1a871ab9d2ad6be79d291bdf44a368c74f8e78c8f3db2ee19b1c8c796c20d2cb9536c128509059806bb1adff4f030b9182590
|
7
|
+
data.tar.gz: 02b7559f820145c7255a0346490d93328c0304c2188a7f2293494a626a89d431a75e275ee5ebb86a098979fe8c966f53f9936748d13467eb092cef7fe7ceb399
|
@@ -2,8 +2,7 @@ module ForemanMaintain::Scenarios
|
|
2
2
|
class SelfUpgradeBase < ForemanMaintain::Scenario
|
3
3
|
include ForemanMaintain::Concerns::Downstream
|
4
4
|
def target_version
|
5
|
-
|
6
|
-
@target_version ||= current_full_version.bump
|
5
|
+
@target_version ||= current_version.bump
|
7
6
|
end
|
8
7
|
|
9
8
|
def current_version
|
@@ -43,7 +42,11 @@ module ForemanMaintain::Scenarios
|
|
43
42
|
end
|
44
43
|
|
45
44
|
def req_repos_to_update_pkgs
|
46
|
-
|
45
|
+
if use_rhsm?
|
46
|
+
main_rh_repos + [maintenance_repo_id(target_version)]
|
47
|
+
else
|
48
|
+
[maintenance_repo_id(target_version)]
|
49
|
+
end
|
47
50
|
end
|
48
51
|
end
|
49
52
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_maintain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nečas
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-09-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|
@@ -453,7 +453,7 @@ homepage: https://github.com/theforeman/foreman_maintain
|
|
453
453
|
licenses:
|
454
454
|
- GPL-3.0
|
455
455
|
metadata: {}
|
456
|
-
post_install_message:
|
456
|
+
post_install_message:
|
457
457
|
rdoc_options: []
|
458
458
|
require_paths:
|
459
459
|
- lib
|
@@ -468,8 +468,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
468
468
|
- !ruby/object:Gem::Version
|
469
469
|
version: '0'
|
470
470
|
requirements: []
|
471
|
-
rubygems_version: 3.
|
472
|
-
signing_key:
|
471
|
+
rubygems_version: 3.2.33
|
472
|
+
signing_key:
|
473
473
|
specification_version: 4
|
474
474
|
summary: Foreman maintenance tool belt
|
475
475
|
test_files: []
|