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: 4c920bd300687cf40bdcfaa045a8e185d838c5c6a28a397456f033cb0fc7b920
4
- data.tar.gz: 5bdd2f964f86683efd0c462f383fc1e39ea4e4c28d1e30cb998a88bd6447b0b9
3
+ metadata.gz: ef8f53affe0970e853071b2568869c00aa94e850975b602538351cc9649dbc9e
4
+ data.tar.gz: 3a60a60c9be41bb3aa34a7abee49c4b7c66f6f91629986e2a0f5e31cac98e125
5
5
  SHA512:
6
- metadata.gz: 845ce94787435fa1b731aba0e3ae5da8ccde750113e1cf967dd006a0f1d3483883a7625523fb0ad922bbfc28b1a67dcbf0f2d944dff6e952ff763eb1e32137e8
7
- data.tar.gz: 3551e01ecf107deb7608e2f5a250f0789c8681de3917b2bf04b7d1856385d939eb2cb61a9dd4f39ec5e42b7f2d6a5fffe6ae99ad2f8ec29e73098602483a2517
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
- '/etc/pulp/settings.py',
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, :pre_upgrade_check] }
47
+ condition = { :tags => [:upgrade_scenario, :pre_upgrade_checks] }
48
48
  matching_scenarios = find_scenarios(condition)
49
49
  !matching_scenarios.empty?
50
50
  end
@@ -1,3 +1,3 @@
1
1
  module ForemanMaintain
2
- VERSION = '1.7.0'.freeze
2
+ VERSION = '1.7.1'.freeze
3
3
  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.0
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-20 00:00:00.000000000 Z
11
+ date: 2024-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: clamp