foreman_maintain 0.5.1 → 0.5.2
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/foreman_tasks.rb +7 -2
- data/definitions/features/tar.rb +5 -0
- data/definitions/procedures/packages/installer_confirmation.rb +1 -1
- data/definitions/procedures/packages/update_all_confirmation.rb +24 -0
- data/definitions/procedures/restore/extract_files.rb +1 -0
- data/definitions/scenarios/packages.rb +7 -3
- data/lib/foreman_maintain/cli/packages_command.rb +1 -1
- data/lib/foreman_maintain/reporter/cli_reporter.rb +3 -3
- data/lib/foreman_maintain/utils/disk/io_device.rb +1 -1
- data/lib/foreman_maintain/version.rb +1 -1
- metadata +101 -100
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d4b891b3732e6f7fd6511ad8888e6d492091e8b
|
4
|
+
data.tar.gz: cbf845cdb842e1bdb236966ac26c47a06ec02ca3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 971db72fd6d82e1986d4d21cd44f25255912b1e0c6bef39147cf07f13e1afda30c8f4cce30020ac30e448e6c152acdcb8b7c3308a36ae9ecc07176284d428b2a
|
7
|
+
data.tar.gz: 01cf961492e6b09704bc94839821470313ccee47829af6ebc4c8aafab5342f597e91beea848d668ca6150fdbfbc39efeea4038ce7d7da8151bd8ddbb4927e432
|
@@ -162,8 +162,13 @@ class Features::ForemanTasks < ForemanMaintain::Feature
|
|
162
162
|
def export_csv(sql, file_name, state)
|
163
163
|
dir = prepare_for_backup(state)
|
164
164
|
filepath = "#{dir}/#{file_name}"
|
165
|
-
|
166
|
-
|
165
|
+
csv_output = feature(:foreman_database).query_csv(sql)
|
166
|
+
File.open(filepath, 'w') do |f|
|
167
|
+
f.write(csv_output)
|
168
|
+
f.close
|
169
|
+
end
|
170
|
+
execute("bzip2 #{filepath} -c -9 > #{filepath}.bz2")
|
171
|
+
FileUtils.rm_rf(filepath)
|
167
172
|
end
|
168
173
|
|
169
174
|
def old_tasks_condition(state = "'stopped', 'paused'")
|
data/definitions/features/tar.rb
CHANGED
@@ -24,6 +24,7 @@ class Features::Tar < ForemanMaintain::Feature
|
|
24
24
|
# rubocop:disable Metrics/CyclomaticComplexity, Metrics/PerceivedComplexity
|
25
25
|
def run(options = {})
|
26
26
|
volume_size = options.fetch(:volume_size, nil)
|
27
|
+
absolute_names = options.fetch(:absolute_names, nil)
|
27
28
|
validate_volume_size(volume_size) unless volume_size.nil?
|
28
29
|
|
29
30
|
tar_command = ['tar']
|
@@ -31,6 +32,10 @@ class Features::Tar < ForemanMaintain::Feature
|
|
31
32
|
tar_command << "--#{options.fetch(:command, 'create')}"
|
32
33
|
tar_command << "--file=#{options.fetch(:archive)}"
|
33
34
|
|
35
|
+
if absolute_names
|
36
|
+
tar_command << '--absolute-names'
|
37
|
+
end
|
38
|
+
|
34
39
|
if volume_size
|
35
40
|
split_tar_script = default_split_tar_script
|
36
41
|
tar_command << "--tape-length=#{volume_size}"
|
@@ -5,7 +5,7 @@ module Procedures::Packages
|
|
5
5
|
end
|
6
6
|
|
7
7
|
def run
|
8
|
-
question = "
|
8
|
+
question = "\nWARNING: This script runs #{feature(:installer).installer_command} " \
|
9
9
|
"after the yum execution \n" \
|
10
10
|
"to ensure the #{feature(:instance).product_name} " \
|
11
11
|
"is in a consistent state.\n" \
|
@@ -0,0 +1,24 @@
|
|
1
|
+
module Procedures::Packages
|
2
|
+
class UpdateAllConfirmation < ForemanMaintain::Procedure
|
3
|
+
metadata do
|
4
|
+
param :packages, 'List of packages to update', :array => true
|
5
|
+
|
6
|
+
description 'Confirm update all is intentional'
|
7
|
+
end
|
8
|
+
|
9
|
+
def run
|
10
|
+
if @packages.nil? || @packages.empty?
|
11
|
+
question = "\nWARNING: No specific packages to update were provided\n" \
|
12
|
+
"so we are going to update all available packages.\n" \
|
13
|
+
"It is recommended to update everything only as part of upgrade\n" \
|
14
|
+
"of the #{feature(:instance).product_name} to the next version. \n" \
|
15
|
+
"To Upgrade to next version use 'foreman-maintain upgrade'.\n\n" \
|
16
|
+
"NOTE: --assumeyes is not applicable for this check\n\n" \
|
17
|
+
"Do you want to proceed with update of everything regardless\n" \
|
18
|
+
'of the recommendations?'
|
19
|
+
answer = ask_decision(question, 'y(yes), q(quit)', ignore_assumeyes: true)
|
20
|
+
abort! unless answer == :yes
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -71,8 +71,11 @@ module ForemanMaintain::Scenarios
|
|
71
71
|
end
|
72
72
|
|
73
73
|
def compose
|
74
|
-
|
75
|
-
|
74
|
+
add_steps_with_context(
|
75
|
+
Procedures::Packages::UpdateAllConfirmation,
|
76
|
+
Procedures::Packages::InstallerConfirmation,
|
77
|
+
Procedures::Packages::UnlockVersions
|
78
|
+
)
|
76
79
|
add_step_with_context(Procedures::Packages::Update, :force => true, :warn_on_errors => true)
|
77
80
|
add_step_with_context(Procedures::Installer::Run,
|
78
81
|
:arguments => '--upgrade --disable-system-checks')
|
@@ -81,7 +84,8 @@ module ForemanMaintain::Scenarios
|
|
81
84
|
|
82
85
|
def set_context_mapping
|
83
86
|
context.map(:packages,
|
84
|
-
Procedures::Packages::Update => :packages
|
87
|
+
Procedures::Packages::Update => :packages,
|
88
|
+
Procedures::Packages::UpdateAllConfirmation => :packages)
|
85
89
|
context.map(:assumeyes,
|
86
90
|
Procedures::Packages::Update => :assumeyes)
|
87
91
|
end
|
@@ -38,7 +38,7 @@ module ForemanMaintain
|
|
38
38
|
|
39
39
|
subcommand 'update', 'Update packages in an unlocked session' do
|
40
40
|
interactive_option
|
41
|
-
parameter 'PACKAGES ...', 'packages to update', :attribute_name => :packages
|
41
|
+
parameter '[PACKAGES ...]', 'packages to update', :attribute_name => :packages
|
42
42
|
|
43
43
|
def execute
|
44
44
|
run_scenarios_and_exit(
|
@@ -184,9 +184,9 @@ module ForemanMaintain
|
|
184
184
|
ask_to_select('Select step to continue', steps, &:runtime_message)
|
185
185
|
end
|
186
186
|
|
187
|
-
def ask_decision(message, options = 'y(yes), n(no), q(quit)')
|
188
|
-
if assumeyes?
|
189
|
-
print("#{message} (assuming yes)")
|
187
|
+
def ask_decision(message, options = 'y(yes), n(no), q(quit)', ignore_assumeyes: false)
|
188
|
+
if !ignore_assumeyes && assumeyes?
|
189
|
+
print("#{message} (assuming yes)\n")
|
190
190
|
return :yes
|
191
191
|
end
|
192
192
|
until_valid_decision do
|
@@ -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
|
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.5.
|
4
|
+
version: 0.5.2
|
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-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|
@@ -111,152 +111,148 @@ files:
|
|
111
111
|
- bin/foreman-maintain-complete
|
112
112
|
- bin/foreman-maintain-rotate-tar
|
113
113
|
- bin/passenger-recycler
|
114
|
-
- lib/foreman_maintain
|
115
|
-
- lib/foreman_maintain/
|
116
|
-
- lib/foreman_maintain/cli
|
117
|
-
- lib/foreman_maintain/cli/transform_clamp_options.rb
|
118
|
-
- lib/foreman_maintain/cli/upgrade_command.rb
|
119
|
-
- lib/foreman_maintain/cli/advanced_command.rb
|
120
|
-
- lib/foreman_maintain/cli/base.rb
|
121
|
-
- lib/foreman_maintain/cli/service_command.rb
|
114
|
+
- lib/foreman_maintain.rb
|
115
|
+
- lib/foreman_maintain/check.rb
|
116
|
+
- lib/foreman_maintain/cli.rb
|
122
117
|
- lib/foreman_maintain/cli/advanced/prebuild_bash_completion.rb
|
123
118
|
- lib/foreman_maintain/cli/advanced/procedure/abstract_by_tag_command.rb
|
124
119
|
- lib/foreman_maintain/cli/advanced/procedure/abstract_procedure_command.rb
|
125
120
|
- lib/foreman_maintain/cli/advanced/procedure/by_tag_command.rb
|
126
121
|
- lib/foreman_maintain/cli/advanced/procedure/run_command.rb
|
127
122
|
- lib/foreman_maintain/cli/advanced/procedure_command.rb
|
123
|
+
- lib/foreman_maintain/cli/advanced_command.rb
|
128
124
|
- lib/foreman_maintain/cli/backup_command.rb
|
125
|
+
- lib/foreman_maintain/cli/base.rb
|
126
|
+
- lib/foreman_maintain/cli/health_command.rb
|
127
|
+
- lib/foreman_maintain/cli/maintenance_mode_command.rb
|
128
|
+
- lib/foreman_maintain/cli/restore_command.rb
|
129
|
+
- lib/foreman_maintain/cli/service_command.rb
|
130
|
+
- lib/foreman_maintain/cli/transform_clamp_options.rb
|
131
|
+
- lib/foreman_maintain/cli/upgrade_command.rb
|
129
132
|
- lib/foreman_maintain/cli/packages_command.rb
|
130
|
-
- lib/foreman_maintain/concerns/base_database.rb
|
131
133
|
- lib/foreman_maintain/concerns/directory_marker.rb
|
134
|
+
- lib/foreman_maintain/concerns/downstream.rb
|
132
135
|
- lib/foreman_maintain/concerns/finders.rb
|
133
136
|
- lib/foreman_maintain/concerns/hammer.rb
|
137
|
+
- lib/foreman_maintain/concerns/logger.rb
|
134
138
|
- lib/foreman_maintain/concerns/metadata.rb
|
135
139
|
- lib/foreman_maintain/concerns/reporter.rb
|
136
140
|
- lib/foreman_maintain/concerns/scenario_metadata.rb
|
137
|
-
- lib/foreman_maintain/concerns/logger.rb
|
138
141
|
- lib/foreman_maintain/concerns/system_service.rb
|
139
|
-
- lib/foreman_maintain/concerns/
|
142
|
+
- lib/foreman_maintain/concerns/base_database.rb
|
140
143
|
- lib/foreman_maintain/concerns/system_helpers.rb
|
144
|
+
- lib/foreman_maintain/config.rb
|
145
|
+
- lib/foreman_maintain/context.rb
|
146
|
+
- lib/foreman_maintain/core_ext.rb
|
147
|
+
- lib/foreman_maintain/csv_parser.rb
|
148
|
+
- lib/foreman_maintain/dependency_graph.rb
|
149
|
+
- lib/foreman_maintain/detector.rb
|
150
|
+
- lib/foreman_maintain/error.rb
|
151
|
+
- lib/foreman_maintain/executable.rb
|
152
|
+
- lib/foreman_maintain/feature.rb
|
153
|
+
- lib/foreman_maintain/package_manager.rb
|
154
|
+
- lib/foreman_maintain/package_manager/base.rb
|
155
|
+
- lib/foreman_maintain/package_manager/dnf.rb
|
156
|
+
- lib/foreman_maintain/package_manager/yum.rb
|
157
|
+
- lib/foreman_maintain/param.rb
|
158
|
+
- lib/foreman_maintain/procedure.rb
|
159
|
+
- lib/foreman_maintain/reporter.rb
|
141
160
|
- lib/foreman_maintain/reporter/cli_reporter.rb
|
161
|
+
- lib/foreman_maintain/runner.rb
|
142
162
|
- lib/foreman_maintain/runner/execution.rb
|
143
163
|
- lib/foreman_maintain/runner/stored_execution.rb
|
144
|
-
- lib/foreman_maintain/
|
164
|
+
- lib/foreman_maintain/scenario.rb
|
165
|
+
- lib/foreman_maintain/top_level_modules.rb
|
166
|
+
- lib/foreman_maintain/upgrade_runner.rb
|
167
|
+
- lib/foreman_maintain/utils.rb
|
168
|
+
- lib/foreman_maintain/utils/bash.rb
|
169
|
+
- lib/foreman_maintain/utils/command_runner.rb
|
170
|
+
- lib/foreman_maintain/utils/curl_response.rb
|
171
|
+
- lib/foreman_maintain/utils/disk.rb
|
145
172
|
- lib/foreman_maintain/utils/disk/device.rb
|
173
|
+
- lib/foreman_maintain/utils/disk/nil_device.rb
|
146
174
|
- lib/foreman_maintain/utils/disk/stats.rb
|
147
175
|
- lib/foreman_maintain/utils/disk/io_device.rb
|
148
|
-
- lib/foreman_maintain/utils/curl_response.rb
|
149
|
-
- lib/foreman_maintain/utils/disk.rb
|
150
176
|
- lib/foreman_maintain/utils/facter.rb
|
151
177
|
- lib/foreman_maintain/utils/hash_tools.rb
|
152
178
|
- lib/foreman_maintain/utils/mongo_core.rb
|
179
|
+
- lib/foreman_maintain/utils/response.rb
|
153
180
|
- lib/foreman_maintain/utils/service.rb
|
154
181
|
- lib/foreman_maintain/utils/service/remote_db.rb
|
155
182
|
- lib/foreman_maintain/utils/service/abstract.rb
|
156
183
|
- lib/foreman_maintain/utils/service/systemd.rb
|
157
184
|
- lib/foreman_maintain/utils/system_helpers.rb
|
158
185
|
- 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/dnf.rb
|
164
|
-
- lib/foreman_maintain/package_manager/base.rb
|
165
|
-
- lib/foreman_maintain/package_manager/yum.rb
|
166
|
-
- lib/foreman_maintain/cli.rb
|
167
|
-
- lib/foreman_maintain/version.rb
|
168
|
-
- lib/foreman_maintain/top_level_modules.rb
|
169
|
-
- lib/foreman_maintain/reporter.rb
|
170
186
|
- lib/foreman_maintain/yaml_storage.rb
|
171
|
-
- lib/foreman_maintain/
|
172
|
-
-
|
173
|
-
-
|
174
|
-
-
|
175
|
-
-
|
176
|
-
-
|
177
|
-
-
|
178
|
-
- lib/foreman_maintain/csv_parser.rb
|
179
|
-
- lib/foreman_maintain/dependency_graph.rb
|
180
|
-
- lib/foreman_maintain/error.rb
|
181
|
-
- lib/foreman_maintain/executable.rb
|
182
|
-
- lib/foreman_maintain/param.rb
|
183
|
-
- lib/foreman_maintain/detector.rb
|
184
|
-
- lib/foreman_maintain/feature.rb
|
185
|
-
- lib/foreman_maintain/upgrade_runner.rb
|
186
|
-
- lib/foreman_maintain/package_manager.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
|
187
|
+
- lib/foreman_maintain/version.rb
|
188
|
+
- definitions/checks/backup/certs_tar_exist.rb
|
189
|
+
- definitions/checks/backup/directory_ready.rb
|
190
|
+
- definitions/checks/candlepin/db_up.rb
|
191
|
+
- definitions/checks/candlepin/validate_db.rb
|
192
|
+
- definitions/checks/check_epel_repository.rb
|
193
|
+
- definitions/checks/check_hotfix_installed.rb
|
193
194
|
- definitions/checks/check_tmout.rb
|
194
195
|
- definitions/checks/disk/available_space.rb
|
195
196
|
- definitions/checks/disk/performance.rb
|
196
197
|
- definitions/checks/foreman/check_corrupted_roles.rb
|
197
|
-
- definitions/checks/foreman/db_up.rb
|
198
|
-
- definitions/checks/foreman/puppet_class_duplicates.rb
|
199
198
|
- definitions/checks/foreman/check_duplicate_roles.rb
|
199
|
+
- definitions/checks/foreman/db_up.rb
|
200
200
|
- definitions/checks/foreman/facts_names.rb
|
201
|
+
- definitions/checks/foreman/puppet_class_duplicates.rb
|
201
202
|
- definitions/checks/foreman_openscap/invalid_report_associations.rb
|
202
203
|
- definitions/checks/foreman_proxy/verify_dhcp_config_syntax.rb
|
204
|
+
- definitions/checks/foreman_tasks/invalid/check_old.rb
|
205
|
+
- definitions/checks/foreman_tasks/invalid/check_pending_state.rb
|
206
|
+
- definitions/checks/foreman_tasks/invalid/check_planning_state.rb
|
207
|
+
- definitions/checks/foreman_tasks/not_paused.rb
|
208
|
+
- definitions/checks/foreman_tasks/not_running.rb
|
203
209
|
- definitions/checks/maintenance_mode/check_consistency.rb
|
204
210
|
- definitions/checks/mongo/db_up.rb
|
205
211
|
- definitions/checks/mongo/tools_installed.rb
|
206
|
-
- definitions/checks/
|
212
|
+
- definitions/checks/original_assets.rb
|
207
213
|
- definitions/checks/puppet/provide_upgrade_guide.rb
|
214
|
+
- definitions/checks/puppet/verify_no_empty_cacert_requests.rb
|
208
215
|
- definitions/checks/remote_execution/verify_settings_file_already_exists.rb
|
209
216
|
- definitions/checks/repositories/check_upstream_repository.rb
|
210
217
|
- definitions/checks/repositories/validate.rb
|
211
218
|
- definitions/checks/restore/validate_backup.rb
|
212
219
|
- definitions/checks/restore/validate_hostname.rb
|
213
220
|
- 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
221
|
- definitions/checks/server_ping.rb
|
218
222
|
- definitions/checks/services_up.rb
|
219
223
|
- definitions/checks/system_registration.rb
|
220
|
-
- definitions/checks/original_assets.rb
|
221
224
|
- definitions/checks/version_locking_enabled.rb
|
222
|
-
- definitions/checks/
|
223
|
-
- definitions/checks/backup/certs_tar_exist.rb
|
224
|
-
- definitions/checks/candlepin/db_up.rb
|
225
|
-
- definitions/checks/candlepin/validate_db.rb
|
226
|
-
- definitions/features/foreman_1_11_x.rb
|
225
|
+
- definitions/checks/yum_exclude.rb
|
227
226
|
- definitions/features/candlepin.rb
|
228
227
|
- definitions/features/candlepin_database.rb
|
229
|
-
- definitions/features/foreman_database.rb
|
230
|
-
- definitions/features/foreman_openscap.rb
|
231
|
-
- definitions/features/installer.rb
|
232
228
|
- definitions/features/capsule.rb
|
233
|
-
- definitions/features/
|
229
|
+
- definitions/features/cron.rb
|
230
|
+
- definitions/features/foreman_1_11_x.rb
|
234
231
|
- definitions/features/foreman_1_7_x.rb
|
232
|
+
- definitions/features/foreman_openscap.rb
|
233
|
+
- definitions/features/foreman_server.rb
|
235
234
|
- definitions/features/gofer.rb
|
235
|
+
- definitions/features/hammer.rb
|
236
|
+
- definitions/features/installer.rb
|
236
237
|
- definitions/features/iptables.rb
|
238
|
+
- definitions/features/katello.rb
|
237
239
|
- definitions/features/puppet_server.rb
|
240
|
+
- definitions/features/satellite.rb
|
241
|
+
- definitions/features/service.rb
|
238
242
|
- definitions/features/sync_plans.rb
|
239
243
|
- definitions/features/system_repos.rb
|
240
244
|
- definitions/features/upstream.rb
|
241
|
-
- definitions/features/
|
242
|
-
- definitions/features/katello.rb
|
243
|
-
- definitions/features/tar.rb
|
244
|
-
- definitions/features/cron.rb
|
245
|
-
- definitions/features/foreman_server.rb
|
246
|
-
- definitions/features/hammer.rb
|
247
|
-
- definitions/features/service.rb
|
245
|
+
- definitions/features/foreman_database.rb
|
248
246
|
- definitions/features/foreman_proxy.rb
|
249
247
|
- definitions/features/instance.rb
|
250
248
|
- definitions/features/mongo.rb
|
251
249
|
- definitions/features/pulp.rb
|
252
|
-
- definitions/
|
253
|
-
- definitions/
|
254
|
-
- definitions/procedures/foreman_tasks/resume.rb
|
255
|
-
- definitions/procedures/foreman_tasks/ui_investigate.rb
|
256
|
-
- definitions/procedures/sync_plans/disable.rb
|
257
|
-
- definitions/procedures/sync_plans/enable.rb
|
250
|
+
- definitions/features/tar.rb
|
251
|
+
- definitions/features/foreman_tasks.rb
|
258
252
|
- definitions/procedures/backup/accessibility_confirmation.rb
|
259
253
|
- definitions/procedures/backup/clean.rb
|
254
|
+
- definitions/procedures/backup/compress_data.rb
|
255
|
+
- definitions/procedures/backup/metadata.rb
|
260
256
|
- definitions/procedures/backup/offline/candlepin_db.rb
|
261
257
|
- definitions/procedures/backup/offline/foreman_db.rb
|
262
258
|
- definitions/procedures/backup/offline/mongo.rb
|
@@ -274,31 +270,37 @@ files:
|
|
274
270
|
- definitions/procedures/backup/snapshot/prepare_mount.rb
|
275
271
|
- definitions/procedures/backup/snapshot/logical_volume_confirmation.rb
|
276
272
|
- definitions/procedures/backup/snapshot/mount_pulp.rb
|
277
|
-
- definitions/procedures/backup/metadata.rb
|
278
|
-
- definitions/procedures/backup/compress_data.rb
|
279
273
|
- definitions/procedures/backup/config_files.rb
|
280
274
|
- definitions/procedures/backup/pulp.rb
|
281
275
|
- definitions/procedures/candlepin/delete_orphaned_records_from_env_content.rb
|
282
276
|
- definitions/procedures/crond/start.rb
|
283
277
|
- definitions/procedures/crond/stop.rb
|
278
|
+
- definitions/procedures/files/remove.rb
|
284
279
|
- definitions/procedures/foreman/apipie_cache.rb
|
285
|
-
- definitions/procedures/foreman/remove_duplicate_obsolete_roles.rb
|
286
280
|
- definitions/procedures/foreman/fix_corrupted_roles.rb
|
281
|
+
- definitions/procedures/foreman/remove_duplicate_obsolete_roles.rb
|
287
282
|
- definitions/procedures/foreman_docker/remove_foreman_docker.rb
|
288
283
|
- definitions/procedures/foreman_openscap/invalid_report_associations.rb
|
284
|
+
- definitions/procedures/foreman_proxy/features.rb
|
285
|
+
- definitions/procedures/foreman_tasks/delete.rb
|
286
|
+
- definitions/procedures/foreman_tasks/fetch_tasks_status.rb
|
287
|
+
- definitions/procedures/foreman_tasks/resume.rb
|
288
|
+
- definitions/procedures/foreman_tasks/ui_investigate.rb
|
289
289
|
- definitions/procedures/hammer_setup.rb
|
290
|
-
- definitions/procedures/installer/upgrade.rb
|
291
290
|
- definitions/procedures/installer/run.rb
|
291
|
+
- definitions/procedures/installer/upgrade.rb
|
292
292
|
- definitions/procedures/iptables/add_maintenance_mode_chain.rb
|
293
293
|
- definitions/procedures/iptables/remove_maintenance_mode_chain.rb
|
294
|
+
- definitions/procedures/knowledge_base_article.rb
|
294
295
|
- definitions/procedures/maintenance_mode/is_enabled.rb
|
295
|
-
- definitions/procedures/packages/install.rb
|
296
|
-
- definitions/procedures/packages/installer_confirmation.rb
|
297
296
|
- definitions/procedures/packages/enable_version_locking.rb
|
297
|
+
- definitions/procedures/packages/install.rb
|
298
298
|
- definitions/procedures/packages/lock_versions.rb
|
299
299
|
- definitions/procedures/packages/locking_status.rb
|
300
300
|
- definitions/procedures/packages/unlock_versions.rb
|
301
301
|
- definitions/procedures/packages/update.rb
|
302
|
+
- definitions/procedures/packages/installer_confirmation.rb
|
303
|
+
- definitions/procedures/packages/update_all_confirmation.rb
|
302
304
|
- definitions/procedures/passenger_recycler.rb
|
303
305
|
- definitions/procedures/pulp/migrate.rb
|
304
306
|
- definitions/procedures/puppet/delete_empty_ca_cert_request_files.rb
|
@@ -307,45 +309,44 @@ files:
|
|
307
309
|
- definitions/procedures/repositories/setup.rb
|
308
310
|
- definitions/procedures/restore/candlepin_dump.rb
|
309
311
|
- definitions/procedures/restore/confirmation.rb
|
310
|
-
- definitions/procedures/restore/drop_databases.rb
|
311
312
|
- definitions/procedures/restore/ensure_mongo_engine_matches.rb
|
312
|
-
- definitions/procedures/restore/extract_files.rb
|
313
313
|
- definitions/procedures/restore/foreman_dump.rb
|
314
|
+
- definitions/procedures/restore/installer_reset.rb
|
314
315
|
- definitions/procedures/restore/pg_global_objects.rb
|
315
316
|
- definitions/procedures/restore/postgres_owner.rb
|
316
|
-
- definitions/procedures/restore/
|
317
|
+
- definitions/procedures/restore/extract_files.rb
|
317
318
|
- definitions/procedures/restore/configs.rb
|
319
|
+
- definitions/procedures/restore/drop_databases.rb
|
318
320
|
- definitions/procedures/restore/mongo_dump.rb
|
319
321
|
- definitions/procedures/selinux/set_file_security.rb
|
320
322
|
- definitions/procedures/service/daemon_reload.rb
|
321
323
|
- definitions/procedures/service/disable.rb
|
322
324
|
- definitions/procedures/service/enable.rb
|
323
325
|
- definitions/procedures/service/list.rb
|
326
|
+
- definitions/procedures/service/restart.rb
|
324
327
|
- definitions/procedures/service/start.rb
|
325
328
|
- definitions/procedures/service/status.rb
|
326
329
|
- definitions/procedures/service/stop.rb
|
327
|
-
- definitions/procedures/service/restart.rb
|
328
330
|
- definitions/procedures/service/base.rb
|
329
|
-
- definitions/procedures/
|
330
|
-
- definitions/procedures/
|
331
|
-
- definitions/procedures/knowledge_base_article.rb
|
331
|
+
- definitions/procedures/sync_plans/disable.rb
|
332
|
+
- definitions/procedures/sync_plans/enable.rb
|
332
333
|
- definitions/scenarios/maintenance_mode.rb
|
333
|
-
- definitions/scenarios/
|
334
|
-
- definitions/scenarios/restore.rb
|
334
|
+
- definitions/scenarios/services.rb
|
335
335
|
- definitions/scenarios/upgrade_to_satellite_6_2.rb
|
336
|
-
- definitions/scenarios/upgrade_to_satellite_6_4.rb
|
337
|
-
- definitions/scenarios/upgrade_to_satellite_6_6_z.rb
|
338
|
-
- definitions/scenarios/backup.rb
|
339
|
-
- definitions/scenarios/packages.rb
|
340
336
|
- definitions/scenarios/upgrade_to_satellite_6_2_z.rb
|
337
|
+
- definitions/scenarios/upgrade_to_satellite_6_3.rb
|
341
338
|
- definitions/scenarios/upgrade_to_satellite_6_3_z.rb
|
339
|
+
- definitions/scenarios/upgrade_to_satellite_6_4.rb
|
342
340
|
- definitions/scenarios/upgrade_to_satellite_6_4_z.rb
|
341
|
+
- definitions/scenarios/upgrade_to_satellite_6_5.rb
|
343
342
|
- definitions/scenarios/upgrade_to_satellite_6_5_z.rb
|
343
|
+
- definitions/scenarios/upgrade_to_satellite_6_6.rb
|
344
|
+
- definitions/scenarios/upgrade_to_satellite_6_6_z.rb
|
344
345
|
- definitions/scenarios/upgrade_to_satellite_6_7.rb
|
345
|
-
- definitions/scenarios/services.rb
|
346
|
-
- definitions/scenarios/upgrade_to_satellite_6_3.rb
|
347
|
-
- definitions/scenarios/upgrade_to_satellite_6_5.rb
|
348
346
|
- definitions/scenarios/upgrade_to_satellite_6_7_z.rb
|
347
|
+
- definitions/scenarios/packages.rb
|
348
|
+
- definitions/scenarios/backup.rb
|
349
|
+
- definitions/scenarios/restore.rb
|
349
350
|
- config/foreman-maintain.completion
|
350
351
|
- config/foreman_maintain.yml.example
|
351
352
|
- config/foreman_maintain.yml.packaging
|