foreman_maintain 1.2.7 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/definitions/procedures/foreman_maintain_features.rb +10 -0
- data/definitions/procedures/puppet/remove_puppet.rb +1 -2
- data/definitions/scenarios/self_upgrade.rb +1 -1
- data/lib/foreman_maintain/concerns/system_helpers.rb +1 -1
- data/lib/foreman_maintain/version.rb +1 -1
- data/lib/foreman_maintain.rb +1 -1
- metadata +4 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b4d4f7fe5a4a2f6a3a992a94e7fe674a00866dac9fa0f2f59fe30b5296c0a3a4
|
4
|
+
data.tar.gz: 56b9be2ae99686aefa13e2de26b9c72bcd4a3eb82697ef2ec7b099252a2ce352
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9dc4c82dcc0fef0ee09cc838af7afd1065c5171ea5b3400a33c58e6aece35e0964b359e8a57a9f058cb4ee82741edafc5d6da14e9d8e566a13455c44a524f9a6
|
7
|
+
data.tar.gz: 4dae3e89d6bdc190fa10dde17fce93147f6c6f31ba636bb87d919cf78dbfc253dd10096e45e78f606230709bac50963a7e6c4b006203dc6386331f8209c1b425
|
@@ -0,0 +1,10 @@
|
|
1
|
+
class Procedures::ForemanMaintainFeatures < ForemanMaintain::Procedure
|
2
|
+
metadata do
|
3
|
+
description 'List detected Foreman Maintain features'
|
4
|
+
end
|
5
|
+
|
6
|
+
def run
|
7
|
+
features = ForemanMaintain.available_features
|
8
|
+
output << features.map(&:inspect).join("\n")
|
9
|
+
end
|
10
|
+
end
|
@@ -4,7 +4,7 @@ module Procedures::Puppet
|
|
4
4
|
description 'Remove Puppet feature'
|
5
5
|
confine do
|
6
6
|
feature(:puppet_server) &&
|
7
|
-
(check_min_version('foreman', '3.
|
7
|
+
(check_min_version('foreman', '3.6') || check_min_version('foreman-proxy', '3.6'))
|
8
8
|
end
|
9
9
|
advanced_run false
|
10
10
|
end
|
@@ -42,7 +42,6 @@ module Procedures::Puppet
|
|
42
42
|
options << '--foreman-proxy-puppet false'
|
43
43
|
options << '--foreman-proxy-puppetca false'
|
44
44
|
end
|
45
|
-
options << '--foreman-proxy-content-puppet false' if answers.key?('foreman_proxy_content')
|
46
45
|
options
|
47
46
|
end
|
48
47
|
|
@@ -108,7 +108,7 @@ module ForemanMaintain::Scenarios
|
|
108
108
|
end
|
109
109
|
|
110
110
|
def compose
|
111
|
-
pkgs_to_update =
|
111
|
+
pkgs_to_update = [ForemanMaintain.main_package_name]
|
112
112
|
if feature(:instance).downstream
|
113
113
|
pkgs_to_update << 'satellite-maintain'
|
114
114
|
downstream_self_upgrade(pkgs_to_update)
|
data/lib/foreman_maintain.rb
CHANGED
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.
|
4
|
+
version: 1.3.0
|
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: 2023-03-
|
11
|
+
date: 2023-03-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|
@@ -269,6 +269,7 @@ files:
|
|
269
269
|
- definitions/procedures/foreman/remove_duplicate_obsolete_roles.rb
|
270
270
|
- definitions/procedures/foreman/remove_duplicate_permissions.rb
|
271
271
|
- definitions/procedures/foreman_docker/remove_foreman_docker.rb
|
272
|
+
- definitions/procedures/foreman_maintain_features.rb
|
272
273
|
- definitions/procedures/foreman_openscap/invalid_report_associations.rb
|
273
274
|
- definitions/procedures/foreman_proxy/features.rb
|
274
275
|
- definitions/procedures/foreman_tasks/delete.rb
|
@@ -499,7 +500,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
499
500
|
- !ruby/object:Gem::Version
|
500
501
|
version: '0'
|
501
502
|
requirements: []
|
502
|
-
rubygems_version: 3.
|
503
|
+
rubygems_version: 3.2.33
|
503
504
|
signing_key:
|
504
505
|
specification_version: 4
|
505
506
|
summary: Foreman maintenance tool belt
|