foreman_maintain 0.6.0 → 0.6.5
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 +5 -5
- data/README.md +4 -0
- data/definitions/checks/check_hotfix_installed.rb +2 -1
- data/definitions/checks/disk/performance.rb +24 -9
- data/definitions/checks/foreman/check_corrupted_roles.rb +14 -2
- data/definitions/checks/foreman/validate_external_db_version.rb +28 -0
- data/definitions/checks/original_assets.rb +1 -0
- data/definitions/checks/pulpcore/db_up.rb +29 -0
- data/definitions/checks/repositories/check_non_rh_repository.rb +23 -0
- data/definitions/checks/repositories/check_upstream_repository.rb +2 -1
- data/definitions/checks/repositories/validate.rb +2 -1
- data/definitions/features/apache.rb +19 -0
- data/definitions/features/dynflow_sidekiq.rb +1 -1
- data/definitions/features/foreman_database.rb +5 -3
- data/definitions/features/foreman_server.rb +9 -3
- data/definitions/features/foreman_tasks.rb +7 -2
- data/definitions/features/installer.rb +9 -2
- data/definitions/features/instance.rb +5 -2
- data/definitions/features/katello.rb +7 -0
- data/definitions/features/{pulp3.rb → pulpcore.rb} +9 -3
- data/definitions/features/pulpcore_database.rb +39 -0
- data/definitions/features/puppet_server.rb +6 -2
- data/definitions/features/service.rb +10 -3
- data/definitions/features/tar.rb +5 -0
- data/definitions/procedures/backup/config_files.rb +3 -0
- data/definitions/procedures/backup/metadata.rb +2 -0
- data/definitions/procedures/backup/offline/pulpcore_db.rb +57 -0
- data/definitions/procedures/backup/online/pulpcore_db.rb +20 -0
- data/definitions/procedures/backup/snapshot/logical_volume_confirmation.rb +1 -0
- data/definitions/procedures/backup/snapshot/mount_pulpcore_db.rb +48 -0
- data/definitions/procedures/content/prepare.rb +2 -2
- data/definitions/procedures/content/switchover.rb +22 -0
- data/definitions/procedures/hammer_setup.rb +1 -1
- data/definitions/procedures/installer/run.rb +3 -1
- data/definitions/procedures/installer/upgrade.rb +6 -1
- data/definitions/procedures/packages/installer_confirmation.rb +1 -1
- data/definitions/procedures/packages/update.rb +1 -1
- data/definitions/procedures/packages/update_all_confirmation.rb +24 -0
- data/definitions/procedures/pulpcore/migrate.rb +25 -0
- data/definitions/procedures/restore/configs.rb +6 -0
- data/definitions/procedures/restore/drop_databases.rb +11 -1
- data/definitions/procedures/restore/extract_files.rb +1 -0
- data/definitions/procedures/restore/pulpcore_dump.rb +30 -0
- data/definitions/procedures/restore/regenerate_queues.rb +69 -0
- data/definitions/procedures/service/stop.rb +1 -1
- data/definitions/scenarios/backup.rb +21 -4
- data/definitions/scenarios/content.rb +27 -0
- data/definitions/scenarios/packages.rb +38 -14
- data/definitions/scenarios/restore.rb +10 -2
- data/definitions/scenarios/upgrade_to_capsule_6_7.rb +88 -0
- data/definitions/scenarios/upgrade_to_capsule_6_7_z.rb +88 -0
- data/definitions/scenarios/upgrade_to_capsule_6_8.rb +88 -0
- data/definitions/scenarios/upgrade_to_capsule_6_8_z.rb +88 -0
- data/definitions/scenarios/upgrade_to_satellite_6_2.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_2_z.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_3.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_3_z.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_4.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_4_z.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_5.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_5_z.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_6.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_6_z.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_7.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_7_z.rb +13 -5
- data/definitions/scenarios/upgrade_to_satellite_6_8.rb +88 -0
- data/definitions/scenarios/upgrade_to_satellite_6_8_z.rb +88 -0
- data/extras/foreman_protector/foreman-protector.py +1 -1
- data/lib/foreman_maintain.rb +31 -0
- data/lib/foreman_maintain/cli.rb +2 -0
- data/lib/foreman_maintain/cli/content_command.rb +17 -0
- data/lib/foreman_maintain/cli/packages_command.rb +1 -1
- data/lib/foreman_maintain/cli/upgrade_command.rb +10 -0
- data/lib/foreman_maintain/concerns/base_database.rb +16 -1
- data/lib/foreman_maintain/concerns/downstream.rb +14 -10
- data/lib/foreman_maintain/feature.rb +4 -0
- data/lib/foreman_maintain/package_manager/dnf.rb +11 -5
- data/lib/foreman_maintain/package_manager/yum.rb +15 -5
- data/lib/foreman_maintain/reporter/cli_reporter.rb +6 -6
- data/lib/foreman_maintain/upgrade_runner.rb +20 -26
- data/lib/foreman_maintain/utils/backup.rb +62 -62
- data/lib/foreman_maintain/utils/disk/io_device.rb +1 -1
- data/lib/foreman_maintain/utils/facter.rb +1 -1
- data/lib/foreman_maintain/utils/service/abstract.rb +6 -0
- data/lib/foreman_maintain/version.rb +1 -1
- metadata +184 -165
- data/definitions/checks/check_epel_repository.rb +0 -21
@@ -27,7 +27,7 @@ module ForemanMaintain
|
|
27
27
|
# In fio command, --direct option bypass the cache page
|
28
28
|
def fio
|
29
29
|
cmd = "fio --name=job1 --rw=read --size=1g --output-format=json\
|
30
|
-
--directory=#{dir} --direct=1"
|
30
|
+
--directory=#{dir} --direct=1 --unlink=1"
|
31
31
|
stdout = execute(cmd)
|
32
32
|
output = JSON.parse(stdout)
|
33
33
|
@fio ||= output['jobs'].first['read']['bw'].to_i
|
@@ -5,7 +5,7 @@ module ForemanMaintain::Utils
|
|
5
5
|
FACTER_FILES = %w[/usr/bin/facter /opt/puppetlabs/bin/facter].freeze
|
6
6
|
|
7
7
|
def self.package
|
8
|
-
puppet_version = version(execute!('puppet --version'))
|
8
|
+
puppet_version = version(execute!('/opt/puppetlabs/bin/puppet --version'))
|
9
9
|
|
10
10
|
puppet_version.major >= 4 ? 'puppet-agent' : 'facter'
|
11
11
|
end
|
@@ -10,6 +10,12 @@ module ForemanMaintain::Utils
|
|
10
10
|
@options = options
|
11
11
|
end
|
12
12
|
|
13
|
+
def socket
|
14
|
+
if @options[:socket]
|
15
|
+
self.class.new("#{@options[:socket]}.socket", priority)
|
16
|
+
end
|
17
|
+
end
|
18
|
+
|
13
19
|
def <=>(other)
|
14
20
|
prio_cmp = @priority <=> other.priority
|
15
21
|
prio_cmp == 0 ? @name <=> other.name : prio_cmp
|
metadata
CHANGED
@@ -1,97 +1,97 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foreman_maintain
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.5
|
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: 2020-
|
11
|
+
date: 2020-06-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- -
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- -
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: highline
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
|
-
- -
|
31
|
+
- - ">="
|
32
32
|
- !ruby/object:Gem::Version
|
33
33
|
version: '0'
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
|
-
- -
|
38
|
+
- - ">="
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
|
-
- -
|
45
|
+
- - ">="
|
46
46
|
- !ruby/object:Gem::Version
|
47
47
|
version: '1.17'
|
48
48
|
type: :development
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
|
-
- -
|
52
|
+
- - ">="
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '1.17'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: minitest
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
|
-
- -
|
59
|
+
- - ">="
|
60
60
|
- !ruby/object:Gem::Version
|
61
61
|
version: '0'
|
62
62
|
type: :development
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
|
-
- -
|
66
|
+
- - ">="
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: mocha
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
|
-
- -
|
73
|
+
- - ">="
|
74
74
|
- !ruby/object:Gem::Version
|
75
75
|
version: '0'
|
76
76
|
type: :development
|
77
77
|
prerelease: false
|
78
78
|
version_requirements: !ruby/object:Gem::Requirement
|
79
79
|
requirements:
|
80
|
-
- -
|
80
|
+
- - ">="
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
|
-
- - <
|
87
|
+
- - "<"
|
88
88
|
- !ruby/object:Gem::Version
|
89
89
|
version: 11.0.0
|
90
90
|
type: :development
|
91
91
|
prerelease: false
|
92
92
|
version_requirements: !ruby/object:Gem::Requirement
|
93
93
|
requirements:
|
94
|
-
- - <
|
94
|
+
- - "<"
|
95
95
|
- !ruby/object:Gem::Version
|
96
96
|
version: 11.0.0
|
97
97
|
description: Provides various features that helps keeping the Foreman/Satellite up
|
@@ -107,261 +107,281 @@ extra_rdoc_files:
|
|
107
107
|
- LICENSE
|
108
108
|
- README.md
|
109
109
|
files:
|
110
|
+
- LICENSE
|
111
|
+
- README.md
|
110
112
|
- bin/foreman-maintain
|
111
113
|
- bin/foreman-maintain-complete
|
112
114
|
- bin/foreman-maintain-rotate-tar
|
113
115
|
- bin/passenger-recycler
|
114
|
-
-
|
115
|
-
-
|
116
|
-
-
|
117
|
-
-
|
118
|
-
-
|
119
|
-
-
|
120
|
-
-
|
121
|
-
-
|
122
|
-
-
|
123
|
-
-
|
124
|
-
- lib/foreman_maintain/cli/advanced/procedure/abstract_procedure_command.rb
|
125
|
-
- lib/foreman_maintain/cli/advanced/procedure/by_tag_command.rb
|
126
|
-
- lib/foreman_maintain/cli/advanced/procedure/run_command.rb
|
127
|
-
- lib/foreman_maintain/cli/advanced/procedure_command.rb
|
128
|
-
- lib/foreman_maintain/cli/backup_command.rb
|
129
|
-
- lib/foreman_maintain/cli/packages_command.rb
|
130
|
-
- lib/foreman_maintain/concerns/base_database.rb
|
131
|
-
- lib/foreman_maintain/concerns/directory_marker.rb
|
132
|
-
- lib/foreman_maintain/concerns/finders.rb
|
133
|
-
- lib/foreman_maintain/concerns/hammer.rb
|
134
|
-
- lib/foreman_maintain/concerns/metadata.rb
|
135
|
-
- lib/foreman_maintain/concerns/reporter.rb
|
136
|
-
- lib/foreman_maintain/concerns/scenario_metadata.rb
|
137
|
-
- lib/foreman_maintain/concerns/logger.rb
|
138
|
-
- lib/foreman_maintain/concerns/system_service.rb
|
139
|
-
- lib/foreman_maintain/concerns/downstream.rb
|
140
|
-
- lib/foreman_maintain/concerns/system_helpers.rb
|
141
|
-
- lib/foreman_maintain/reporter/cli_reporter.rb
|
142
|
-
- lib/foreman_maintain/runner/execution.rb
|
143
|
-
- lib/foreman_maintain/runner/stored_execution.rb
|
144
|
-
- lib/foreman_maintain/utils/disk/nil_device.rb
|
145
|
-
- lib/foreman_maintain/utils/disk/device.rb
|
146
|
-
- lib/foreman_maintain/utils/disk/stats.rb
|
147
|
-
- lib/foreman_maintain/utils/disk/io_device.rb
|
148
|
-
- lib/foreman_maintain/utils/curl_response.rb
|
149
|
-
- lib/foreman_maintain/utils/disk.rb
|
150
|
-
- lib/foreman_maintain/utils/facter.rb
|
151
|
-
- lib/foreman_maintain/utils/hash_tools.rb
|
152
|
-
- lib/foreman_maintain/utils/mongo_core.rb
|
153
|
-
- lib/foreman_maintain/utils/service.rb
|
154
|
-
- lib/foreman_maintain/utils/service/remote_db.rb
|
155
|
-
- lib/foreman_maintain/utils/service/abstract.rb
|
156
|
-
- lib/foreman_maintain/utils/service/systemd.rb
|
157
|
-
- lib/foreman_maintain/utils/system_helpers.rb
|
158
|
-
- lib/foreman_maintain/utils/backup.rb
|
159
|
-
- lib/foreman_maintain/utils/bash.rb
|
160
|
-
- lib/foreman_maintain/utils/command_runner.rb
|
161
|
-
- lib/foreman_maintain/utils/response.rb
|
162
|
-
- lib/foreman_maintain/procedure.rb
|
163
|
-
- lib/foreman_maintain/package_manager/base.rb
|
164
|
-
- lib/foreman_maintain/package_manager/yum.rb
|
165
|
-
- lib/foreman_maintain/package_manager/dnf.rb
|
166
|
-
- lib/foreman_maintain/cli.rb
|
167
|
-
- lib/foreman_maintain/version.rb
|
168
|
-
- lib/foreman_maintain/package_manager.rb
|
169
|
-
- lib/foreman_maintain/top_level_modules.rb
|
170
|
-
- lib/foreman_maintain/reporter.rb
|
171
|
-
- lib/foreman_maintain/yaml_storage.rb
|
172
|
-
- lib/foreman_maintain/scenario.rb
|
173
|
-
- lib/foreman_maintain/config.rb
|
174
|
-
- lib/foreman_maintain/runner.rb
|
175
|
-
- lib/foreman_maintain/utils.rb
|
176
|
-
- lib/foreman_maintain/check.rb
|
177
|
-
- lib/foreman_maintain/context.rb
|
178
|
-
- lib/foreman_maintain/core_ext.rb
|
179
|
-
- lib/foreman_maintain/csv_parser.rb
|
180
|
-
- lib/foreman_maintain/dependency_graph.rb
|
181
|
-
- lib/foreman_maintain/error.rb
|
182
|
-
- lib/foreman_maintain/executable.rb
|
183
|
-
- lib/foreman_maintain/param.rb
|
184
|
-
- lib/foreman_maintain/detector.rb
|
185
|
-
- lib/foreman_maintain/feature.rb
|
186
|
-
- lib/foreman_maintain/upgrade_runner.rb
|
187
|
-
- lib/foreman_maintain.rb
|
188
|
-
- definitions/checks/foreman_tasks/invalid/check_old.rb
|
189
|
-
- definitions/checks/foreman_tasks/invalid/check_pending_state.rb
|
190
|
-
- definitions/checks/foreman_tasks/invalid/check_planning_state.rb
|
191
|
-
- definitions/checks/foreman_tasks/not_running.rb
|
192
|
-
- definitions/checks/foreman_tasks/not_paused.rb
|
116
|
+
- config/foreman-maintain.completion
|
117
|
+
- config/foreman_maintain.yml.example
|
118
|
+
- config/foreman_maintain.yml.packaging
|
119
|
+
- config/hammer.yml.example
|
120
|
+
- config/passenger-recycler.yaml
|
121
|
+
- definitions/checks/backup/certs_tar_exist.rb
|
122
|
+
- definitions/checks/backup/directory_ready.rb
|
123
|
+
- definitions/checks/candlepin/db_up.rb
|
124
|
+
- definitions/checks/candlepin/validate_db.rb
|
125
|
+
- definitions/checks/check_hotfix_installed.rb
|
193
126
|
- definitions/checks/check_tmout.rb
|
194
127
|
- definitions/checks/disk/available_space.rb
|
195
128
|
- definitions/checks/disk/performance.rb
|
196
129
|
- definitions/checks/foreman/check_corrupted_roles.rb
|
197
|
-
- definitions/checks/foreman/db_up.rb
|
198
|
-
- definitions/checks/foreman/puppet_class_duplicates.rb
|
199
130
|
- definitions/checks/foreman/check_duplicate_roles.rb
|
131
|
+
- definitions/checks/foreman/db_up.rb
|
200
132
|
- definitions/checks/foreman/facts_names.rb
|
133
|
+
- definitions/checks/foreman/puppet_class_duplicates.rb
|
134
|
+
- definitions/checks/foreman/validate_external_db_version.rb
|
201
135
|
- definitions/checks/foreman_openscap/invalid_report_associations.rb
|
202
136
|
- definitions/checks/foreman_proxy/verify_dhcp_config_syntax.rb
|
137
|
+
- definitions/checks/foreman_tasks/invalid/check_old.rb
|
138
|
+
- definitions/checks/foreman_tasks/invalid/check_pending_state.rb
|
139
|
+
- definitions/checks/foreman_tasks/invalid/check_planning_state.rb
|
140
|
+
- definitions/checks/foreman_tasks/not_paused.rb
|
141
|
+
- definitions/checks/foreman_tasks/not_running.rb
|
203
142
|
- definitions/checks/maintenance_mode/check_consistency.rb
|
204
143
|
- definitions/checks/mongo/db_up.rb
|
205
144
|
- definitions/checks/mongo/tools_installed.rb
|
206
|
-
- definitions/checks/
|
145
|
+
- definitions/checks/original_assets.rb
|
146
|
+
- definitions/checks/pulpcore/db_up.rb
|
207
147
|
- definitions/checks/puppet/provide_upgrade_guide.rb
|
148
|
+
- definitions/checks/puppet/verify_no_empty_cacert_requests.rb
|
208
149
|
- definitions/checks/remote_execution/verify_settings_file_already_exists.rb
|
150
|
+
- definitions/checks/repositories/check_non_rh_repository.rb
|
209
151
|
- definitions/checks/repositories/check_upstream_repository.rb
|
210
152
|
- definitions/checks/repositories/validate.rb
|
211
153
|
- definitions/checks/restore/validate_backup.rb
|
212
154
|
- definitions/checks/restore/validate_hostname.rb
|
213
155
|
- definitions/checks/root_user.rb
|
214
|
-
- definitions/checks/yum_exclude.rb
|
215
|
-
- definitions/checks/check_epel_repository.rb
|
216
|
-
- definitions/checks/check_hotfix_installed.rb
|
217
156
|
- definitions/checks/server_ping.rb
|
218
157
|
- definitions/checks/services_up.rb
|
219
158
|
- definitions/checks/system_registration.rb
|
220
|
-
- definitions/checks/original_assets.rb
|
221
159
|
- definitions/checks/version_locking_enabled.rb
|
222
|
-
- definitions/checks/
|
223
|
-
- definitions/
|
224
|
-
- definitions/checks/candlepin/db_up.rb
|
225
|
-
- definitions/checks/candlepin/validate_db.rb
|
226
|
-
- definitions/features/foreman_1_11_x.rb
|
160
|
+
- definitions/checks/yum_exclude.rb
|
161
|
+
- definitions/features/apache.rb
|
227
162
|
- definitions/features/candlepin.rb
|
228
163
|
- definitions/features/candlepin_database.rb
|
229
|
-
- definitions/features/foreman_database.rb
|
230
|
-
- definitions/features/foreman_openscap.rb
|
231
|
-
- definitions/features/instance.rb
|
232
|
-
- definitions/features/pulp3.rb
|
233
|
-
- definitions/features/installer.rb
|
234
164
|
- definitions/features/capsule.rb
|
235
|
-
- definitions/features/
|
236
|
-
- definitions/features/
|
165
|
+
- definitions/features/cron.rb
|
166
|
+
- definitions/features/dynflow_sidekiq.rb
|
167
|
+
- definitions/features/foreman_1_11_x.rb
|
237
168
|
- definitions/features/foreman_1_7_x.rb
|
169
|
+
- definitions/features/foreman_database.rb
|
170
|
+
- definitions/features/foreman_openscap.rb
|
171
|
+
- definitions/features/foreman_proxy.rb
|
172
|
+
- definitions/features/foreman_server.rb
|
173
|
+
- definitions/features/foreman_tasks.rb
|
238
174
|
- definitions/features/gofer.rb
|
175
|
+
- definitions/features/hammer.rb
|
176
|
+
- definitions/features/installer.rb
|
177
|
+
- definitions/features/instance.rb
|
239
178
|
- definitions/features/iptables.rb
|
179
|
+
- definitions/features/katello.rb
|
180
|
+
- definitions/features/mongo.rb
|
181
|
+
- definitions/features/pulp2.rb
|
182
|
+
- definitions/features/pulpcore.rb
|
183
|
+
- definitions/features/pulpcore_database.rb
|
240
184
|
- definitions/features/puppet_server.rb
|
185
|
+
- definitions/features/redis.rb
|
186
|
+
- definitions/features/satellite.rb
|
187
|
+
- definitions/features/service.rb
|
241
188
|
- definitions/features/sync_plans.rb
|
242
189
|
- definitions/features/system_repos.rb
|
190
|
+
- definitions/features/tar.rb
|
243
191
|
- definitions/features/upstream.rb
|
244
|
-
- definitions/features/satellite.rb
|
245
|
-
- definitions/features/katello.rb
|
246
|
-
- definitions/features/pulp2.rb
|
247
|
-
- definitions/features/foreman_tasks.rb
|
248
|
-
- definitions/features/cron.rb
|
249
|
-
- definitions/features/foreman_server.rb
|
250
|
-
- definitions/features/hammer.rb
|
251
|
-
- definitions/features/service.rb
|
252
|
-
- definitions/features/foreman_proxy.rb
|
253
|
-
- definitions/features/mongo.rb
|
254
|
-
- definitions/features/dynflow_sidekiq.rb
|
255
|
-
- definitions/procedures/foreman_tasks/delete.rb
|
256
|
-
- definitions/procedures/foreman_tasks/fetch_tasks_status.rb
|
257
|
-
- definitions/procedures/foreman_tasks/resume.rb
|
258
|
-
- definitions/procedures/foreman_tasks/ui_investigate.rb
|
259
|
-
- definitions/procedures/sync_plans/disable.rb
|
260
|
-
- definitions/procedures/sync_plans/enable.rb
|
261
192
|
- definitions/procedures/backup/accessibility_confirmation.rb
|
262
193
|
- definitions/procedures/backup/clean.rb
|
194
|
+
- definitions/procedures/backup/compress_data.rb
|
195
|
+
- definitions/procedures/backup/config_files.rb
|
196
|
+
- definitions/procedures/backup/metadata.rb
|
263
197
|
- definitions/procedures/backup/offline/candlepin_db.rb
|
264
198
|
- definitions/procedures/backup/offline/foreman_db.rb
|
265
199
|
- definitions/procedures/backup/offline/mongo.rb
|
200
|
+
- definitions/procedures/backup/offline/pulpcore_db.rb
|
266
201
|
- definitions/procedures/backup/online/candlepin_db.rb
|
267
202
|
- definitions/procedures/backup/online/foreman_db.rb
|
268
203
|
- definitions/procedures/backup/online/mongo.rb
|
269
204
|
- definitions/procedures/backup/online/pg_global_objects.rb
|
205
|
+
- definitions/procedures/backup/online/pulpcore_db.rb
|
270
206
|
- definitions/procedures/backup/online/safety_confirmation.rb
|
271
207
|
- definitions/procedures/backup/prepare_directory.rb
|
208
|
+
- definitions/procedures/backup/pulp.rb
|
272
209
|
- definitions/procedures/backup/snapshot/clean_mount.rb
|
210
|
+
- definitions/procedures/backup/snapshot/logical_volume_confirmation.rb
|
273
211
|
- definitions/procedures/backup/snapshot/mount_base.rb
|
274
212
|
- definitions/procedures/backup/snapshot/mount_candlepin_db.rb
|
275
213
|
- definitions/procedures/backup/snapshot/mount_foreman_db.rb
|
276
214
|
- definitions/procedures/backup/snapshot/mount_mongo.rb
|
277
|
-
- definitions/procedures/backup/snapshot/prepare_mount.rb
|
278
|
-
- definitions/procedures/backup/snapshot/logical_volume_confirmation.rb
|
279
215
|
- definitions/procedures/backup/snapshot/mount_pulp.rb
|
280
|
-
- definitions/procedures/backup/
|
281
|
-
- definitions/procedures/backup/
|
282
|
-
- definitions/procedures/backup/config_files.rb
|
283
|
-
- definitions/procedures/backup/pulp.rb
|
216
|
+
- definitions/procedures/backup/snapshot/mount_pulpcore_db.rb
|
217
|
+
- definitions/procedures/backup/snapshot/prepare_mount.rb
|
284
218
|
- definitions/procedures/candlepin/delete_orphaned_records_from_env_content.rb
|
219
|
+
- definitions/procedures/content/prepare.rb
|
220
|
+
- definitions/procedures/content/switchover.rb
|
285
221
|
- definitions/procedures/crond/start.rb
|
286
222
|
- definitions/procedures/crond/stop.rb
|
223
|
+
- definitions/procedures/files/remove.rb
|
287
224
|
- definitions/procedures/foreman/apipie_cache.rb
|
288
|
-
- definitions/procedures/foreman/remove_duplicate_obsolete_roles.rb
|
289
225
|
- definitions/procedures/foreman/fix_corrupted_roles.rb
|
226
|
+
- definitions/procedures/foreman/remove_duplicate_obsolete_roles.rb
|
290
227
|
- definitions/procedures/foreman_docker/remove_foreman_docker.rb
|
291
228
|
- definitions/procedures/foreman_openscap/invalid_report_associations.rb
|
229
|
+
- definitions/procedures/foreman_proxy/features.rb
|
230
|
+
- definitions/procedures/foreman_tasks/delete.rb
|
231
|
+
- definitions/procedures/foreman_tasks/fetch_tasks_status.rb
|
232
|
+
- definitions/procedures/foreman_tasks/resume.rb
|
233
|
+
- definitions/procedures/foreman_tasks/ui_investigate.rb
|
292
234
|
- definitions/procedures/hammer_setup.rb
|
293
|
-
- definitions/procedures/installer/upgrade.rb
|
294
235
|
- definitions/procedures/installer/run.rb
|
236
|
+
- definitions/procedures/installer/upgrade.rb
|
295
237
|
- definitions/procedures/iptables/add_maintenance_mode_chain.rb
|
296
238
|
- definitions/procedures/iptables/remove_maintenance_mode_chain.rb
|
239
|
+
- definitions/procedures/knowledge_base_article.rb
|
297
240
|
- definitions/procedures/maintenance_mode/is_enabled.rb
|
241
|
+
- definitions/procedures/packages/enable_version_locking.rb
|
298
242
|
- definitions/procedures/packages/install.rb
|
299
243
|
- definitions/procedures/packages/installer_confirmation.rb
|
300
|
-
- definitions/procedures/packages/enable_version_locking.rb
|
301
244
|
- definitions/procedures/packages/lock_versions.rb
|
302
245
|
- definitions/procedures/packages/locking_status.rb
|
303
246
|
- definitions/procedures/packages/unlock_versions.rb
|
304
247
|
- definitions/procedures/packages/update.rb
|
248
|
+
- definitions/procedures/packages/update_all_confirmation.rb
|
305
249
|
- definitions/procedures/passenger_recycler.rb
|
306
250
|
- definitions/procedures/pulp/migrate.rb
|
251
|
+
- definitions/procedures/pulpcore/migrate.rb
|
307
252
|
- definitions/procedures/puppet/delete_empty_ca_cert_request_files.rb
|
308
253
|
- definitions/procedures/remote_execution/remove_existing_settingsd.rb
|
309
254
|
- definitions/procedures/repositories/disable.rb
|
310
255
|
- definitions/procedures/repositories/setup.rb
|
311
256
|
- definitions/procedures/restore/candlepin_dump.rb
|
257
|
+
- definitions/procedures/restore/configs.rb
|
312
258
|
- definitions/procedures/restore/confirmation.rb
|
313
259
|
- definitions/procedures/restore/drop_databases.rb
|
314
260
|
- definitions/procedures/restore/ensure_mongo_engine_matches.rb
|
315
261
|
- definitions/procedures/restore/extract_files.rb
|
316
262
|
- definitions/procedures/restore/foreman_dump.rb
|
317
|
-
- definitions/procedures/restore/pg_global_objects.rb
|
318
|
-
- definitions/procedures/restore/postgres_owner.rb
|
319
263
|
- definitions/procedures/restore/installer_reset.rb
|
320
|
-
- definitions/procedures/restore/configs.rb
|
321
264
|
- definitions/procedures/restore/mongo_dump.rb
|
265
|
+
- definitions/procedures/restore/pg_global_objects.rb
|
266
|
+
- definitions/procedures/restore/postgres_owner.rb
|
267
|
+
- definitions/procedures/restore/pulpcore_dump.rb
|
268
|
+
- definitions/procedures/restore/regenerate_queues.rb
|
322
269
|
- definitions/procedures/selinux/set_file_security.rb
|
270
|
+
- definitions/procedures/service/base.rb
|
323
271
|
- definitions/procedures/service/daemon_reload.rb
|
324
272
|
- definitions/procedures/service/disable.rb
|
325
273
|
- definitions/procedures/service/enable.rb
|
326
274
|
- definitions/procedures/service/list.rb
|
275
|
+
- definitions/procedures/service/restart.rb
|
327
276
|
- definitions/procedures/service/start.rb
|
328
277
|
- definitions/procedures/service/status.rb
|
329
278
|
- definitions/procedures/service/stop.rb
|
330
|
-
- definitions/procedures/
|
331
|
-
- definitions/procedures/
|
332
|
-
- definitions/
|
333
|
-
- definitions/
|
334
|
-
- definitions/procedures/knowledge_base_article.rb
|
335
|
-
- definitions/procedures/content/prepare.rb
|
279
|
+
- definitions/procedures/sync_plans/disable.rb
|
280
|
+
- definitions/procedures/sync_plans/enable.rb
|
281
|
+
- definitions/scenarios/backup.rb
|
282
|
+
- definitions/scenarios/content.rb
|
336
283
|
- definitions/scenarios/maintenance_mode.rb
|
337
|
-
- definitions/scenarios/upgrade_to_satellite_6_6.rb
|
338
284
|
- definitions/scenarios/packages.rb
|
339
285
|
- definitions/scenarios/restore.rb
|
286
|
+
- definitions/scenarios/services.rb
|
287
|
+
- definitions/scenarios/upgrade_to_capsule_6_7.rb
|
288
|
+
- definitions/scenarios/upgrade_to_capsule_6_7_z.rb
|
289
|
+
- definitions/scenarios/upgrade_to_capsule_6_8.rb
|
290
|
+
- definitions/scenarios/upgrade_to_capsule_6_8_z.rb
|
340
291
|
- definitions/scenarios/upgrade_to_satellite_6_2.rb
|
341
|
-
- definitions/scenarios/upgrade_to_satellite_6_4.rb
|
342
|
-
- definitions/scenarios/upgrade_to_satellite_6_6_z.rb
|
343
|
-
- definitions/scenarios/backup.rb
|
344
292
|
- definitions/scenarios/upgrade_to_satellite_6_2_z.rb
|
293
|
+
- definitions/scenarios/upgrade_to_satellite_6_3.rb
|
345
294
|
- definitions/scenarios/upgrade_to_satellite_6_3_z.rb
|
295
|
+
- definitions/scenarios/upgrade_to_satellite_6_4.rb
|
346
296
|
- definitions/scenarios/upgrade_to_satellite_6_4_z.rb
|
297
|
+
- definitions/scenarios/upgrade_to_satellite_6_5.rb
|
347
298
|
- definitions/scenarios/upgrade_to_satellite_6_5_z.rb
|
299
|
+
- definitions/scenarios/upgrade_to_satellite_6_6.rb
|
300
|
+
- definitions/scenarios/upgrade_to_satellite_6_6_z.rb
|
348
301
|
- definitions/scenarios/upgrade_to_satellite_6_7.rb
|
349
|
-
- definitions/scenarios/services.rb
|
350
|
-
- definitions/scenarios/upgrade_to_satellite_6_3.rb
|
351
|
-
- definitions/scenarios/upgrade_to_satellite_6_5.rb
|
352
302
|
- definitions/scenarios/upgrade_to_satellite_6_7_z.rb
|
353
|
-
-
|
354
|
-
-
|
355
|
-
- config/foreman_maintain.yml.packaging
|
356
|
-
- config/hammer.yml.example
|
357
|
-
- config/passenger-recycler.yaml
|
303
|
+
- definitions/scenarios/upgrade_to_satellite_6_8.rb
|
304
|
+
- definitions/scenarios/upgrade_to_satellite_6_8_z.rb
|
358
305
|
- extras/foreman-maintain.sh
|
359
306
|
- extras/foreman_protector/foreman-protector.conf
|
360
307
|
- extras/foreman_protector/foreman-protector.py
|
361
308
|
- extras/foreman_protector/foreman-protector.whitelist
|
362
309
|
- extras/passenger-recycler.cron
|
363
|
-
-
|
364
|
-
-
|
310
|
+
- lib/foreman_maintain.rb
|
311
|
+
- lib/foreman_maintain/check.rb
|
312
|
+
- lib/foreman_maintain/cli.rb
|
313
|
+
- lib/foreman_maintain/cli/advanced/prebuild_bash_completion.rb
|
314
|
+
- lib/foreman_maintain/cli/advanced/procedure/abstract_by_tag_command.rb
|
315
|
+
- lib/foreman_maintain/cli/advanced/procedure/abstract_procedure_command.rb
|
316
|
+
- lib/foreman_maintain/cli/advanced/procedure/by_tag_command.rb
|
317
|
+
- lib/foreman_maintain/cli/advanced/procedure/run_command.rb
|
318
|
+
- lib/foreman_maintain/cli/advanced/procedure_command.rb
|
319
|
+
- lib/foreman_maintain/cli/advanced_command.rb
|
320
|
+
- lib/foreman_maintain/cli/backup_command.rb
|
321
|
+
- lib/foreman_maintain/cli/base.rb
|
322
|
+
- lib/foreman_maintain/cli/content_command.rb
|
323
|
+
- lib/foreman_maintain/cli/health_command.rb
|
324
|
+
- lib/foreman_maintain/cli/maintenance_mode_command.rb
|
325
|
+
- lib/foreman_maintain/cli/packages_command.rb
|
326
|
+
- lib/foreman_maintain/cli/restore_command.rb
|
327
|
+
- lib/foreman_maintain/cli/service_command.rb
|
328
|
+
- lib/foreman_maintain/cli/transform_clamp_options.rb
|
329
|
+
- lib/foreman_maintain/cli/upgrade_command.rb
|
330
|
+
- lib/foreman_maintain/concerns/base_database.rb
|
331
|
+
- lib/foreman_maintain/concerns/directory_marker.rb
|
332
|
+
- lib/foreman_maintain/concerns/downstream.rb
|
333
|
+
- lib/foreman_maintain/concerns/finders.rb
|
334
|
+
- lib/foreman_maintain/concerns/hammer.rb
|
335
|
+
- lib/foreman_maintain/concerns/logger.rb
|
336
|
+
- lib/foreman_maintain/concerns/metadata.rb
|
337
|
+
- lib/foreman_maintain/concerns/reporter.rb
|
338
|
+
- lib/foreman_maintain/concerns/scenario_metadata.rb
|
339
|
+
- lib/foreman_maintain/concerns/system_helpers.rb
|
340
|
+
- lib/foreman_maintain/concerns/system_service.rb
|
341
|
+
- lib/foreman_maintain/config.rb
|
342
|
+
- lib/foreman_maintain/context.rb
|
343
|
+
- lib/foreman_maintain/core_ext.rb
|
344
|
+
- lib/foreman_maintain/csv_parser.rb
|
345
|
+
- lib/foreman_maintain/dependency_graph.rb
|
346
|
+
- lib/foreman_maintain/detector.rb
|
347
|
+
- lib/foreman_maintain/error.rb
|
348
|
+
- lib/foreman_maintain/executable.rb
|
349
|
+
- lib/foreman_maintain/feature.rb
|
350
|
+
- lib/foreman_maintain/package_manager.rb
|
351
|
+
- lib/foreman_maintain/package_manager/base.rb
|
352
|
+
- lib/foreman_maintain/package_manager/dnf.rb
|
353
|
+
- lib/foreman_maintain/package_manager/yum.rb
|
354
|
+
- lib/foreman_maintain/param.rb
|
355
|
+
- lib/foreman_maintain/procedure.rb
|
356
|
+
- lib/foreman_maintain/reporter.rb
|
357
|
+
- lib/foreman_maintain/reporter/cli_reporter.rb
|
358
|
+
- lib/foreman_maintain/runner.rb
|
359
|
+
- lib/foreman_maintain/runner/execution.rb
|
360
|
+
- lib/foreman_maintain/runner/stored_execution.rb
|
361
|
+
- lib/foreman_maintain/scenario.rb
|
362
|
+
- lib/foreman_maintain/top_level_modules.rb
|
363
|
+
- lib/foreman_maintain/upgrade_runner.rb
|
364
|
+
- lib/foreman_maintain/utils.rb
|
365
|
+
- lib/foreman_maintain/utils/backup.rb
|
366
|
+
- lib/foreman_maintain/utils/bash.rb
|
367
|
+
- lib/foreman_maintain/utils/command_runner.rb
|
368
|
+
- lib/foreman_maintain/utils/curl_response.rb
|
369
|
+
- lib/foreman_maintain/utils/disk.rb
|
370
|
+
- lib/foreman_maintain/utils/disk/device.rb
|
371
|
+
- lib/foreman_maintain/utils/disk/io_device.rb
|
372
|
+
- lib/foreman_maintain/utils/disk/nil_device.rb
|
373
|
+
- lib/foreman_maintain/utils/disk/stats.rb
|
374
|
+
- lib/foreman_maintain/utils/facter.rb
|
375
|
+
- lib/foreman_maintain/utils/hash_tools.rb
|
376
|
+
- lib/foreman_maintain/utils/mongo_core.rb
|
377
|
+
- lib/foreman_maintain/utils/response.rb
|
378
|
+
- lib/foreman_maintain/utils/service.rb
|
379
|
+
- lib/foreman_maintain/utils/service/abstract.rb
|
380
|
+
- lib/foreman_maintain/utils/service/remote_db.rb
|
381
|
+
- lib/foreman_maintain/utils/service/systemd.rb
|
382
|
+
- lib/foreman_maintain/utils/system_helpers.rb
|
383
|
+
- lib/foreman_maintain/version.rb
|
384
|
+
- lib/foreman_maintain/yaml_storage.rb
|
365
385
|
homepage: https://github.com/theforeman/foreman_maintain
|
366
386
|
licenses:
|
367
387
|
- GPL-3.0
|
@@ -372,17 +392,16 @@ require_paths:
|
|
372
392
|
- lib
|
373
393
|
required_ruby_version: !ruby/object:Gem::Requirement
|
374
394
|
requirements:
|
375
|
-
- -
|
395
|
+
- - ">="
|
376
396
|
- !ruby/object:Gem::Version
|
377
397
|
version: '0'
|
378
398
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
379
399
|
requirements:
|
380
|
-
- -
|
400
|
+
- - ">="
|
381
401
|
- !ruby/object:Gem::Version
|
382
402
|
version: '0'
|
383
403
|
requirements: []
|
384
|
-
|
385
|
-
rubygems_version: 2.0.14.1
|
404
|
+
rubygems_version: 3.0.8
|
386
405
|
signing_key:
|
387
406
|
specification_version: 4
|
388
407
|
summary: Foreman maintenance tool belt
|