lib/resources/mysql_conf.rb in inspec-1.51.25 vs lib/resources/mysql_conf.rb in inspec-2.0.16

- old
+ new

@@ -1,8 +1,7 @@ # encoding: utf-8 # copyright: 2015, Vulcano Security GmbH -# author: Dominik Richter require 'utils/simpleconfig' require 'utils/find_files' require 'utils/hash' require 'resources/mysql' @@ -26,9 +25,11 @@ end end class MysqlConf < Inspec.resource(1) name 'mysql_conf' + supports platform: 'unix' + supports platform: 'windows' desc 'Use the mysql_conf InSpec audit resource to test the contents of the configuration file for MySQL, typically located at /etc/mysql/my.cnf or /etc/my.cnf.' example " describe mysql_conf('path') do its('setting') { should eq 'value' } end