fix os exception

This commit is contained in:
Alex Pop 2016-09-02 15:24:50 +01:00
parent 0ca497e333
commit f1b1794ee5

View file

@ -33,7 +33,7 @@ module Inspec::Resources
@log_dir = '/var/log/' @log_dir = '/var/log/'
@log_path = '/var/log/mysql.log' @log_path = '/var/log/mysql.log'
@log_group = 'adm' @log_group = 'adm'
case os[:release] case inspec.os[:release]
when '14.04' when '14.04'
@log_dir_group = 'syslog' @log_dir_group = 'syslog'
else else