mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
fix os exception
This commit is contained in:
parent
0ca497e333
commit
f1b1794ee5
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue