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: dd10fbb7ea045524f1a2f24b1f7d9612de64014f20e0a6a60830b75738eb334c
4
- data.tar.gz: 21e55c6b7929b2249208f26d0a98df52561c84b34c0d0e0f8aa8dcea921cca67
3
+ metadata.gz: 9199e7c72278224cb1f437eca2bea0d38f880519585f004e480f05deb5d7d79d
4
+ data.tar.gz: 6dc26cc84397882e066bcadb99f2200119e9dd99e41f000448e93c6316ab9fd2
5
5
  SHA512:
6
- metadata.gz: 276b4894c0fd83a8bcc0ca62e8dc9f84dc5a8bc0c408a5ae0f78aecae2f054d9efffad8511c5f82b2239e63cf7cea977db8f7a6023cef9c0a96ae6d4c42f919c
7
- data.tar.gz: 7cbc0990803e6154f9b1e89c790648f9b6b6c7af193b29252241f62a1159075f4f35e566306bb8252333a0f1108258190dd0685d2fd1925789f18a2aca928367
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
- new(:only => Features::Pulpcore.pulpcore_migration_services))
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
@@ -1,3 +1,3 @@
1
1
  module ForemanMaintain
2
- VERSION = '0.8.14'.freeze
2
+ VERSION = '0.8.15'.freeze
3
3
  end
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.14
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-08 00:00:00.000000000 Z
11
+ date: 2021-09-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp