Skip to content

Commit

Permalink
align
Browse files Browse the repository at this point in the history
  • Loading branch information
jordiprats committed May 3, 2018
1 parent db3684a commit 56b6329
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions spec/acceptance/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,28 +5,28 @@

case _osfamily
when 'RedHat'
$packagename = 'audit'
$servicename = 'auditd'
$packagename = 'audit'
$servicename = 'auditd'
case
when _operatingsystemrelease >= 7
$audit_file = '/etc/audit/rules.d/eyp-audit.rules'
$audit_file = '/etc/audit/rules.d/eyp-audit.rules'
else
$audit_file = '/etc/audit/audit.rules'
$audit_file = '/etc/audit/audit.rules'
end

when 'Debian'
$packagename = 'auditd'
$servicename = 'auditd'
$packagename = 'auditd'
$servicename = 'auditd'
case
when _operatingsystemrelease >= 18
$audit_file = '/etc/audit/rules.d/audit.rules'
$audit_file = '/etc/audit/rules.d/audit.rules'
else
$audit_file = '/etc/audit/audit.rules'
$audit_file = '/etc/audit/audit.rules'
end

else
$packagename = '-_-'
$servicename = '-_-'
$audit_file = '-_-'
$packagename = '-_-'
$servicename = '-_-'
$audit_file = '-_-'

end

0 comments on commit 56b6329

Please sign in to comment.