mirror of
https://github.com/saltstack-formulas/mysql-formula.git
synced 2025-04-16 01:30:25 +00:00
fix(rubocop): add fixes using rubocop --safe-auto-correct
This commit is contained in:
parent
14d01d8507
commit
fca3b0431f
1 changed files with 4 additions and 2 deletions
|
@ -1,8 +1,10 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
# Override by OS
|
||||
package_name = 'mariadb-server'
|
||||
if os[:name] == 'suse' or os[:name] == 'opensuse'
|
||||
if (os[:name] == 'suse') || (os[:name] == 'opensuse')
|
||||
package_name = 'mariadb'
|
||||
elsif os[:name] == 'debian' and os[:release].start_with?('8')
|
||||
elsif (os[:name] == 'debian') && os[:release].start_with?('8')
|
||||
package_name = 'mysql-server'
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue