foreman_maintain 1.7.0 → 1.7.1
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: ef8f53affe0970e853071b2568869c00aa94e850975b602538351cc9649dbc9e
|
4
|
+
data.tar.gz: 3a60a60c9be41bb3aa34a7abee49c4b7c66f6f91629986e2a0f5e31cac98e125
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 68aa31aed572c7cec55cda60995e909f77b48028c9ed6708823b695d6373f07d3f94043eb5d8e4643f46f28363858bea362905a42f6ac7c1d8993ba6f6a5fc0d
|
7
|
+
data.tar.gz: c989d6302e5c47dcf4bb5465c8671af3a40ec497d56459765d67c600049a88476e9447c6fc4b2457b281942b65c881884ba55b6ea896e77a013765eda70879e2
|
@@ -5,9 +5,14 @@ class Features::Pulpcore < ForemanMaintain::Feature
|
|
5
5
|
|
6
6
|
TIMEOUT_FOR_TASKS_STATUS = 300
|
7
7
|
RETRY_INTERVAL_FOR_TASKS_STATE = 10
|
8
|
+
PULP_SETTINGS = '/etc/pulp/settings.py'.freeze
|
8
9
|
|
9
10
|
metadata do
|
10
11
|
label :pulpcore
|
12
|
+
|
13
|
+
confine do
|
14
|
+
File.exist?(PULP_SETTINGS)
|
15
|
+
end
|
11
16
|
end
|
12
17
|
|
13
18
|
def cli(args)
|
@@ -49,7 +54,7 @@ class Features::Pulpcore < ForemanMaintain::Feature
|
|
49
54
|
|
50
55
|
def config_files
|
51
56
|
[
|
52
|
-
|
57
|
+
PULP_SETTINGS,
|
53
58
|
'/etc/pulp/certs/database_fields.symmetric.key',
|
54
59
|
]
|
55
60
|
end
|
@@ -44,7 +44,7 @@ module ForemanMaintain
|
|
44
44
|
end
|
45
45
|
|
46
46
|
def available?
|
47
|
-
condition = { :tags => [:upgrade_scenario, :
|
47
|
+
condition = { :tags => [:upgrade_scenario, :pre_upgrade_checks] }
|
48
48
|
matching_scenarios = find_scenarios(condition)
|
49
49
|
!matching_scenarios.empty?
|
50
50
|
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.7.
|
4
|
+
version: 1.7.1
|
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: 2024-08-
|
11
|
+
date: 2024-08-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|