diff --git a/lib/resources/inetd_conf.rb b/lib/resources/inetd_conf.rb index e34d9b9b3..ba123a554 100644 --- a/lib/resources/inetd_conf.rb +++ b/lib/resources/inetd_conf.rb @@ -22,6 +22,12 @@ module Inspec::Resources @conf_path = path || '/etc/inetd.conf' end + # overwrite exec to ensure it works with its + # TODO: this needs to be fixed in RSpec + def exec + read_params['exec'] + end + def method_missing(name) read_params[name.to_s] end