foreman_maintain 0.8.14 → 0.8.15
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9199e7c72278224cb1f437eca2bea0d38f880519585f004e480f05deb5d7d79d
|
4
|
+
data.tar.gz: 6dc26cc84397882e066bcadb99f2200119e9dd99e41f000448e93c6316ab9fd2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8d460dc62cd4529250e073a3d5ea9e14b1aa41bee78093cc0cf448c8d55f56de604064c785021785797ae59715990beaf9d37defe5da58098781de1aaa960cfd
|
7
|
+
data.tar.gz: a77ff0dcfe1d62df7c6242d0d46f27e64c72a54cc2796d04e18079cc2c7cb87b69cf76bd95c19848c6f0a92d3f4c4221e14b352ac16c9f235a7bc72daca83a34
|
@@ -11,7 +11,6 @@ module Procedures::Content
|
|
11
11
|
param :skip_deb, 'Do not run debian options in installer.'
|
12
12
|
end
|
13
13
|
|
14
|
-
# rubocop:disable Metrics/MethodLength
|
15
14
|
def run
|
16
15
|
puts 'Performing final content migration before switching content'
|
17
16
|
puts execute!('foreman-rake katello:pulp3_migration')
|
@@ -19,6 +18,10 @@ module Procedures::Content
|
|
19
18
|
puts execute!('foreman-rake katello:pulp3_post_migration_check')
|
20
19
|
puts 'Switching specified content over to pulp 3'
|
21
20
|
puts execute!('foreman-rake katello:pulp3_content_switchover')
|
21
|
+
run_installer if feature(:upstream)
|
22
|
+
end
|
23
|
+
|
24
|
+
def run_installer
|
22
25
|
puts 'Re-running the installer to switch specified content over to pulp3'
|
23
26
|
args = ['--foreman-proxy-content-proxy-pulp-isos-to-pulpcore=true',
|
24
27
|
'--foreman-proxy-content-proxy-pulp-yum-to-pulpcore=true',
|
@@ -64,16 +64,12 @@ module Scenarios::Satellite_6_10
|
|
64
64
|
end
|
65
65
|
|
66
66
|
def pulp3_switchover_steps
|
67
|
-
add_step(Procedures::Service::Start)
|
68
67
|
add_step(Procedures::Service::Enable.
|
69
68
|
new(:only => Features::Pulpcore.pulpcore_migration_services))
|
70
|
-
add_step(Procedures::Service::Start
|
71
|
-
|
72
|
-
add_step(Procedures::Content::Switchover.new(:skip_deb => true))
|
69
|
+
add_step(Procedures::Service::Start)
|
70
|
+
add_step(Procedures::Content::Switchover.new)
|
73
71
|
add_step(Procedures::Service::Stop.
|
74
72
|
new(:only => Features::Pulpcore.pulpcore_migration_services))
|
75
|
-
add_step(Procedures::Service::Disable.
|
76
|
-
new(:only => Features::Pulpcore.pulpcore_migration_services))
|
77
73
|
end
|
78
74
|
|
79
75
|
def compose
|
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: 0.8.
|
4
|
+
version: 0.8.15
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ivan Nečas
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-09-
|
11
|
+
date: 2021-09-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|