foreman_maintain 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2b80a6708b24b9107d23a2e88357ecd8dbaba11d3015eda0c07f2ffc34f47cc4
|
4
|
+
data.tar.gz: f0e5890c595b48d44f22eba1b1ac5872137669100d97465090cc12fccd7aa480
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8859ccb05729eb6588465e71504918744163899025eba90c2819bd19d0e979e0e15fe199df62def03d23e1445685104f385ced535dc0ee892077affc1a54c2ba
|
7
|
+
data.tar.gz: 16db194cc592c4dc2c0a9212ea569e361cbac8782da5bd9500a5d0c351dc55715667a941ea8ca8f4297e5886ebda1fcf2a06a7d9d4e18b992f2431434fe47b21
|
@@ -52,6 +52,13 @@ class Features::Katello < ForemanMaintain::Feature
|
|
52
52
|
end
|
53
53
|
# rubocop:enable Metrics/MethodLength
|
54
54
|
|
55
|
+
def config_files_exclude_for_online
|
56
|
+
[
|
57
|
+
'/var/lib/qpidd',
|
58
|
+
'/var/lib/candlepin/activemq-artemis'
|
59
|
+
]
|
60
|
+
end
|
61
|
+
|
55
62
|
private
|
56
63
|
|
57
64
|
def installer_scenario_answers
|
@@ -17,6 +17,8 @@ module Procedures::Backup
|
|
17
17
|
:array => true, :default => ['all']
|
18
18
|
param :ignore_changed_files, 'Should packing tar ignore changed files',
|
19
19
|
:flag => true, :default => false
|
20
|
+
param :online_backup, 'The config files are being prepared for an online backup',
|
21
|
+
:flag => true, :default => false
|
20
22
|
end
|
21
23
|
|
22
24
|
# rubocop:disable Metrics/MethodLength
|
@@ -55,6 +57,7 @@ module Procedures::Backup
|
|
55
57
|
|
56
58
|
configs += feature.config_files
|
57
59
|
exclude_configs += feature.config_files_to_exclude
|
60
|
+
exclude_configs += feature.config_files_exclude_for_online if @online_backup
|
58
61
|
end
|
59
62
|
|
60
63
|
if feature(:foreman_proxy)
|
@@ -200,7 +200,8 @@ module ForemanMaintain::Scenarios
|
|
200
200
|
# rubocop:enable Metrics/MethodLength
|
201
201
|
|
202
202
|
def add_online_backup_steps
|
203
|
-
add_step_with_context(Procedures::Backup::ConfigFiles, :ignore_changed_files => true
|
203
|
+
add_step_with_context(Procedures::Backup::ConfigFiles, :ignore_changed_files => true,
|
204
|
+
:online_backup => true)
|
204
205
|
add_step_with_context(Procedures::Backup::Pulp, :ensure_unchanged => true)
|
205
206
|
add_steps_with_context(
|
206
207
|
Procedures::Backup::Online::Mongo,
|
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.6.
|
4
|
+
version: 0.6.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-03-
|
11
|
+
date: 2020-03-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|