foreman_maintain 0.8.13 → 0.8.14

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: 9f247f20d9177502cf10ecbb9664d0c6094114b55abd709894d5b960fe98d55c
4
- data.tar.gz: 4a282b9e7fc70bcf31c3feafef6b57fa42a8f6c1ccf18859dcbfb83e5405a17e
3
+ metadata.gz: dd10fbb7ea045524f1a2f24b1f7d9612de64014f20e0a6a60830b75738eb334c
4
+ data.tar.gz: 21e55c6b7929b2249208f26d0a98df52561c84b34c0d0e0f8aa8dcea921cca67
5
5
  SHA512:
6
- metadata.gz: ca0f159a201900afac9898668d613b07cc428df855d09ebb50ff3b3673ac18becafc0688b9feda8691db049d97134505e38a13581ee259ab53af4cc28badddbe
7
- data.tar.gz: 68d4560b3e2ac1aa98ee5fbd8fdb03b653b49c4d93ff7f57eb8c808881f88e8abf0f0aae21ee4eb86939cc82d2b86f129f1439d65f0334f317c3566048160f1d
6
+ metadata.gz: 276b4894c0fd83a8bcc0ca62e8dc9f84dc5a8bc0c408a5ae0f78aecae2f054d9efffad8511c5f82b2239e63cf7cea977db8f7a6023cef9c0a96ae6d4c42f919c
7
+ data.tar.gz: 7cbc0990803e6154f9b1e89c790648f9b6b6c7af193b29252241f62a1159075f4f35e566306bb8252333a0f1108258190dd0685d2fd1925789f18a2aca928367
@@ -63,15 +63,24 @@ module Scenarios::Satellite_6_10
63
63
  end
64
64
  end
65
65
 
66
- def compose
67
- check_var_lib_pulp
68
-
66
+ def pulp3_switchover_steps
69
67
  add_step(Procedures::Service::Start)
70
68
  add_step(Procedures::Service::Enable.
71
69
  new(:only => Features::Pulpcore.pulpcore_migration_services))
72
70
  add_step(Procedures::Service::Start.
73
71
  new(:only => Features::Pulpcore.pulpcore_migration_services))
74
72
  add_step(Procedures::Content::Switchover.new(:skip_deb => true))
73
+ add_step(Procedures::Service::Stop.
74
+ new(:only => Features::Pulpcore.pulpcore_migration_services))
75
+ add_step(Procedures::Service::Disable.
76
+ new(:only => Features::Pulpcore.pulpcore_migration_services))
77
+ end
78
+
79
+ def compose
80
+ check_var_lib_pulp
81
+ unless check_min_version(foreman_plugin_name('katello'), '4.0')
82
+ pulp3_switchover_steps
83
+ end
75
84
  add_step(Procedures::Repositories::Setup.new(:version => '6.10'))
76
85
  add_step(Procedures::Packages::UnlockVersions.new)
77
86
  add_step(Procedures::Packages::Update.new(:assumeyes => true))
@@ -1,3 +1,3 @@
1
1
  module ForemanMaintain
2
- VERSION = '0.8.13'.freeze
2
+ VERSION = '0.8.14'.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.13
4
+ version: 0.8.14
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-08-31 00:00:00.000000000 Z
11
+ date: 2021-09-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp