foreman_maintain 1.14.4 → 1.14.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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f53d295c4f0818653dc030e5cac7efcdfc80b2ce31ce8e1c068edc2997b1e83d
|
|
4
|
+
data.tar.gz: 1518000a6ece5919e4e437bc8b702df19345b0740991c333acb8702f60e02d1c
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 468c3e686ac6d9fb1772697a16df958d9e65d99dd3d886edbbb2647b5f80abd0ba4e1ee362635d2fb12fb000f0e45eaebbadbf11acc6df7bfa5d13e408642015
|
|
7
|
+
data.tar.gz: 4a19eea89a7c5760ab4f9f7d2d388bce1b5de4e40fa36a1a8ff61722c8b742ac821c6ce2512203c9dfc074afeeb3a052d143322b2e7a75c066efb614da2f518b
|
|
@@ -3,14 +3,20 @@ module Procedures::Pulpcore
|
|
|
3
3
|
include ForemanMaintain::Concerns::PulpCommon
|
|
4
4
|
|
|
5
5
|
metadata do
|
|
6
|
-
description '
|
|
6
|
+
description 'Run Pulp RPM data repair commands'
|
|
7
7
|
for_feature :pulpcore
|
|
8
8
|
end
|
|
9
9
|
|
|
10
10
|
def run
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
# Fix package_signing_fingerprint empty strings (SAT-42632 / PULP-1263)
|
|
12
|
+
# Do not fail if unavailable
|
|
13
|
+
with_spinner('Running pulpcore-manager rpm-datarepair 4007') do |spinner|
|
|
14
|
+
exit_status, output = execute_with_status(pulpcore_manager('rpm-datarepair 4007'))
|
|
15
|
+
if exit_status != 0 && output.include?("Unknown issue: '4007'")
|
|
16
|
+
spinner.update('Skipped pulpcore-manager rpm-datarepair 4007, not available')
|
|
17
|
+
elsif exit_status != 0
|
|
18
|
+
fail!(output)
|
|
19
|
+
end
|
|
14
20
|
end
|
|
15
21
|
end
|
|
16
22
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: foreman_maintain
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.14.
|
|
4
|
+
version: 1.14.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Ivan Nečas
|
|
@@ -500,7 +500,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
500
500
|
- !ruby/object:Gem::Version
|
|
501
501
|
version: '0'
|
|
502
502
|
requirements: []
|
|
503
|
-
rubygems_version: 4.0.
|
|
503
|
+
rubygems_version: 4.0.10
|
|
504
504
|
specification_version: 4
|
|
505
505
|
summary: Foreman maintenance tool belt
|
|
506
506
|
test_files: []
|