foreman_maintain 1.6.5 → 1.6.6
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: 49e4ffcc4a0a5899887cc3bc1dad11b10381deb25add42d732e8285787307959
|
4
|
+
data.tar.gz: e9ae9b2138d6a6ab9cb6c5cd36332467aab83c2f4cd8f8d6b46150067d072053
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b242b0cb68111062213960792f2b712ba5770a5887d088f824a957fa193dc8d3b49425b3e94e0ac9752cf504ee9a7b2ff7d52417a5edb077d6890aaee6c8859
|
7
|
+
data.tar.gz: 8a09714780cf70012aabeab9d919c80b3c62ca2859c5a208b5838bfbb83a658a38c753b9db0508d36d094053570be027428517760212acb30ca431310f172a5f
|
@@ -21,7 +21,7 @@ module Checks::Repositories
|
|
21
21
|
if feature(:instance).downstream.subscribed_using_activation_key?
|
22
22
|
skip 'Your system is subscribed using custom activation key'
|
23
23
|
else
|
24
|
-
@version ||= package_version(feature(:instance).downstream.package_name)
|
24
|
+
@version ||= package_version(feature(:instance).downstream.package_name).version
|
25
25
|
|
26
26
|
with_spinner("Validating availability of repositories for #{@version}") do |spinner|
|
27
27
|
find_absent_repos(spinner)
|
@@ -27,7 +27,7 @@ module ForemanMaintain::PackageManager
|
|
27
27
|
# rubocop:enable Lint/UnusedMethodArgument
|
28
28
|
|
29
29
|
def clean_cache(assumeyes: false)
|
30
|
-
apt_action('clean', :assumeyes => assumeyes)
|
30
|
+
apt_action('clean', [], :assumeyes => assumeyes)
|
31
31
|
end
|
32
32
|
|
33
33
|
def find_installed_package(name, queryfm = '')
|
@@ -138,7 +138,7 @@ module ForemanMaintain::PackageManager
|
|
138
138
|
packages = [packages].flatten(1)
|
139
139
|
|
140
140
|
dnf_options << '-y' if assumeyes
|
141
|
-
|
141
|
+
dnf_options << '--downloadonly' if download_only
|
142
142
|
dnf_options << '--disableplugin=foreman-protector'
|
143
143
|
|
144
144
|
command = ['dnf', dnf_options.join(' '), action]
|
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.6.
|
4
|
+
version: 1.6.6
|
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-
|
11
|
+
date: 2024-05-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: clamp
|