Small typo in the postgres.rb resource with a call to (#1962)

version_from_dir.

Signed-off-by: Aaron Lippold <lippold@gmail.com>
This commit is contained in:
Aaron Lippold 2017-06-26 12:23:39 -04:00 committed by Adam Leff
parent 56549aed82
commit d6d9a58489

View file

@ -30,7 +30,7 @@ module Inspec::Resources
a version number and unversioned data directories were found.' a version number and unversioned data directories were found.'
nil nil
else else
@version = version_from_dir('/var/lib/pgsql/') @version = version_from_dir('/var/lib/pgsql')
end end
end end
@data_dir = locate_data_dir_location_by_version(@version) @data_dir = locate_data_dir_location_by_version(@version)