simp / inspec-profile-disa_stig-el7

InSpec Profile for the EL7 DISA STIG
Apache License 2.0
22 stars 46 forks source link

73163 #132

Closed djhaynes closed 4 years ago

trevor-vaughan commented 4 years ago

@djhaynes Was there an error that caused you to need all of the to_s calls?

djhaynes commented 4 years ago

@trevor-vaughan Yeah, @aaronlippold reported #125. The to_s method returns "" which will cause the test to fail rather than getting the undefined method error. parse_config_file returns nil if the setting is commented or missing from the file.

trevor-vaughan commented 4 years ago

Ugh, that's unfortunate :-|

aaronlippold commented 4 years ago

Is that input required? If so we can add a required true field to the yml

djhaynes commented 4 years ago

@aaronlippold can you clarify your comment? I am not quite sure what you are talking about. Thanks.