Skip to content

Commit

Permalink
rubocop: cleanup unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
bastelfreak committed May 4, 2021
1 parent d21132e commit 9df4153
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions spec/classes/database_postgresql_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,6 @@
facts
end

case facts[:os]['name']
when 'CentOS', 'RedHat', 'OracleLinux', 'VirtuozzoLinux'
# Path for version 2.4 on RedHat
path_for2 = '/usr/share/doc/zabbix-*-pgsql-2.4*/create'
else
# Path for version 2.4 on Debian
path_for2 = '/usr/share/zabbix-*-pgsql'
end

%w[4.0 5.0 5.2].each do |zabbix_version|
case facts[:os]['name']
when 'CentOS', 'RedHat', 'OracleLinux', 'VirtuozzoLinux'
Expand Down

0 comments on commit 9df4153

Please sign in to comment.