mirror of
https://github.com/saltstack-formulas/packages-formula.git
synced 2025-04-16 17:50:24 +00:00
fix(rubocop): fix remaining errors manually
This commit is contained in:
parent
1f72c405de
commit
591d85ab57
1 changed files with 3 additions and 2 deletions
|
@ -56,7 +56,7 @@ when 'amazon'
|
|||
held_packages = []
|
||||
end
|
||||
|
||||
# # FIXME - not testing Held packages
|
||||
# FIXME: - not testing Held packages
|
||||
held_packages = {}
|
||||
|
||||
unheld_packages = (common_packages + platform_packages).flatten.uniq
|
||||
|
@ -102,7 +102,8 @@ control 'Held packages' do
|
|||
when 'redhat', 'fedora'
|
||||
match_string = "#{p}-.*#{v}"
|
||||
when 'debian'
|
||||
match_string = "^Package: #{p}\nStatus: hold ok installed\nP.*\nS.*\nI.*\nM.*\nA.*\nVersion: #{v}"
|
||||
match_string = "^Package: #{p}\nStatus: hold ok "\
|
||||
"installed\nP.*\nS.*\nI.*\nM.*\nA.*\nVersion: #{v}"
|
||||
end
|
||||
|
||||
describe file(lock_file) do
|
||||
|
|
Loading…
Add table
Reference in a new issue