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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 1a8f35db6a3abfa83bcb5570efadb4e1bf8af20c4375dbf53b58eba26e9c0e08
4
- data.tar.gz: a7a449095345a738b168a8e5657804426855e66d53d46686a3b0fe391d661932
3
+ metadata.gz: 92257cd7abfa6ce1234f0d5223197de9c804a8f1aea3f6f9ceb1afc4fcaacb52
4
+ data.tar.gz: 6dd2767bd384cc19871242c8bf68499b9c6d3b641584ab18685e6c0f3c6bcfed
5
5
  SHA512:
6
- metadata.gz: 5d7556a2fd54939fe0aa1b80f6156f2df7427dfb962f746d0e0d58ab77038b1ed1b4e25105f46884c8b3f1a7d7aea53508f968c1c799d91a96bc3aa008298ff2
7
- data.tar.gz: f67c0fac6450e02f4485ad2c8428867e3ba49430fcadf808fd32d79564bcaec18ad10e923277a454e809f8acd2a9403169864b7328f1af42962a5a3776eadf8f
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' => construct_database_string }
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
@@ -39,6 +39,7 @@ module Scenarios::Capsule_6_11_z
39
39
 
40
40
  def compose
41
41
  add_steps(find_procedures(:pre_migrations))
42
+ add_step(Procedures::Content::FixPulpcoreArtifactOwnership.new(:assumeyes => true))
42
43
  add_step(Procedures::Service::Stop.new)
43
44
  end
44
45
  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
@@ -39,6 +39,7 @@ module Scenarios::Satellite_6_11_z
39
39
 
40
40
  def compose
41
41
  add_steps(find_procedures(:pre_migrations))
42
+ add_step(Procedures::Content::FixPulpcoreArtifactOwnership.new(:assumeyes => true))
42
43
  add_step(Procedures::Service::Stop.new)
43
44
  end
44
45
  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
@@ -1,3 +1,3 @@
1
1
  module ForemanMaintain
2
- VERSION = '1.1.4'.freeze
2
+ VERSION = '1.1.6'.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: 1.1.4
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-07-14 00:00:00.000000000 Z
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.0.9
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: []