foreman_maintain 1.1.4 → 1.1.6
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.
- checksums.yaml +4 -4
- data/definitions/features/candlepin_database.rb +1 -10
- data/definitions/procedures/content/fix_pulpcore_artifact_permissions.rb +2 -1
- data/definitions/scenarios/upgrade_to_capsule_6_11.rb +1 -0
- data/definitions/scenarios/upgrade_to_capsule_6_11_z.rb +1 -0
- data/definitions/scenarios/upgrade_to_satellite_6_11.rb +1 -0
- data/definitions/scenarios/upgrade_to_satellite_6_11_z.rb +1 -0
- data/extras/foreman_protector/foreman-protector.whitelist +20 -0
- 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: 92257cd7abfa6ce1234f0d5223197de9c804a8f1aea3f6f9ceb1afc4fcaacb52
|
|
4
|
+
data.tar.gz: 6dd2767bd384cc19871242c8bf68499b9c6d3b641584ab18685e6c0f3c6bcfed
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b60d2b4b6b9c19fbcc75a31aaef0fe79d155477215a88fa4a4b6ece8d92e4c69901ed50766db333934ce7ce84e120a45aa51eb1e5799b25e615881ad26ad190a
|
|
7
|
+
data.tar.gz: b0790929f26f2cdf667551ec1ded6aaf312c49c804a6defaacbe23524ac23c1f213d440d090e369168593141582231b05c4c2b5f426379ce5e6c842ec2a31c88
|
|
@@ -75,7 +75,7 @@ class Features::CandlepinDatabase < ForemanMaintain::Feature
|
|
|
75
75
|
# rubocop:enable Metrics/MethodLength
|
|
76
76
|
|
|
77
77
|
def extend_with_db_options
|
|
78
|
-
db_options = { '-d' =>
|
|
78
|
+
db_options = { '-d' => configuration['database'] }
|
|
79
79
|
if check_option_using_cpdb_help('dbhost')
|
|
80
80
|
db_options['--dbhost'] = configuration['host']
|
|
81
81
|
db_options['--dbport'] = configuration['port']
|
|
@@ -83,15 +83,6 @@ class Features::CandlepinDatabase < ForemanMaintain::Feature
|
|
|
83
83
|
db_options
|
|
84
84
|
end
|
|
85
85
|
|
|
86
|
-
def construct_database_string
|
|
87
|
-
db_str = configuration['database']
|
|
88
|
-
extra_opts = []
|
|
89
|
-
extra_opts << "ssl=#{configuration['ssl']}" if configuration['ssl']
|
|
90
|
-
extra_opts << "sslfactory=#{configuration['sslfactory']}" if configuration['sslfactory']
|
|
91
|
-
db_str += "?#{extra_opts.join('&')}" unless extra_opts.empty?
|
|
92
|
-
db_str
|
|
93
|
-
end
|
|
94
|
-
|
|
95
86
|
def fetch_extra_param(url, key_name)
|
|
96
87
|
query_string = url.split('?')[1]
|
|
97
88
|
return nil unless query_string
|
|
@@ -5,7 +5,8 @@ module Procedures::Content
|
|
|
5
5
|
param :assumeyes, 'Do not ask for confirmation', :default => false
|
|
6
6
|
|
|
7
7
|
confine do
|
|
8
|
-
check_min_version(foreman_plugin_name('katello'), '4.0')
|
|
8
|
+
check_min_version(foreman_plugin_name('katello'), '4.0') &&
|
|
9
|
+
Dir.exist?('/var/lib/pulp/media/artifact')
|
|
9
10
|
end
|
|
10
11
|
end
|
|
11
12
|
|
|
@@ -40,6 +40,7 @@ module Scenarios::Capsule_6_11
|
|
|
40
40
|
def compose
|
|
41
41
|
add_steps(find_procedures(:pre_migrations))
|
|
42
42
|
add_step(Procedures::Pulp::Remove.new(:assumeyes => true))
|
|
43
|
+
add_step(Procedures::Content::FixPulpcoreArtifactOwnership.new(:assumeyes => true))
|
|
43
44
|
add_step(Procedures::Service::Stop.new)
|
|
44
45
|
end
|
|
45
46
|
end
|
|
@@ -42,6 +42,7 @@ module Scenarios::Satellite_6_11
|
|
|
42
42
|
def compose
|
|
43
43
|
add_steps(find_procedures(:pre_migrations))
|
|
44
44
|
add_step(Procedures::Pulp::Remove.new(:assumeyes => true))
|
|
45
|
+
add_step(Procedures::Content::FixPulpcoreArtifactOwnership.new(:assumeyes => true))
|
|
45
46
|
add_step(Procedures::Service::Stop.new)
|
|
46
47
|
end
|
|
47
48
|
end
|
|
@@ -17,8 +17,28 @@ boost-random
|
|
|
17
17
|
boost-iostreams
|
|
18
18
|
boost-thread
|
|
19
19
|
yum-utils
|
|
20
|
+
# el7 psql client dependencies
|
|
21
|
+
rh-postgresql12-postgresql
|
|
22
|
+
rh-postgresql12-postgresql-libs
|
|
23
|
+
rh-postgresql12-runtime
|
|
20
24
|
# el8 yum-utils dependencies
|
|
21
25
|
dnf-plugins-core
|
|
22
26
|
python3-dnf-plugins-core
|
|
27
|
+
# el8 nftables dependencies
|
|
28
|
+
nftables
|
|
29
|
+
firewalld
|
|
30
|
+
firewalld-filesystem
|
|
31
|
+
ipset
|
|
32
|
+
ipset-libs
|
|
33
|
+
iptables
|
|
34
|
+
iptables-etables
|
|
35
|
+
iptables-libs
|
|
36
|
+
libnetfilter_conntrack
|
|
37
|
+
libnffnetlink
|
|
38
|
+
libnftnl
|
|
39
|
+
python3-firewall
|
|
40
|
+
python3-nftables
|
|
41
|
+
python3-slip
|
|
42
|
+
python3-slip-dbus
|
|
23
43
|
# foreman-maintain
|
|
24
44
|
rubygem-foreman_maintain
|
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.1.
|
|
4
|
+
version: 1.1.6
|
|
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-21 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: clamp
|
|
@@ -454,7 +454,7 @@ homepage: https://github.com/theforeman/foreman_maintain
|
|
|
454
454
|
licenses:
|
|
455
455
|
- GPL-3.0
|
|
456
456
|
metadata: {}
|
|
457
|
-
post_install_message:
|
|
457
|
+
post_install_message:
|
|
458
458
|
rdoc_options: []
|
|
459
459
|
require_paths:
|
|
460
460
|
- lib
|
|
@@ -469,8 +469,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
469
469
|
- !ruby/object:Gem::Version
|
|
470
470
|
version: '0'
|
|
471
471
|
requirements: []
|
|
472
|
-
rubygems_version: 3.
|
|
473
|
-
signing_key:
|
|
472
|
+
rubygems_version: 3.3.7
|
|
473
|
+
signing_key:
|
|
474
474
|
specification_version: 4
|
|
475
475
|
summary: Foreman maintenance tool belt
|
|
476
476
|
test_files: []
|