lib/resources/mysql_conf.rb in inspec-3.7.1 vs lib/resources/mysql_conf.rb in inspec-3.7.11

- old
+ new

@@ -29,11 +29,11 @@ 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 " + example <<~EXAMPLE describe mysql_conf('path') do its('setting') { should eq 'value' } end # Test a parameter set within the [mysqld] section @@ -43,10 +43,10 @@ # Test a parameter set within the [mariadb] section using array notation describe mysql_conf do its(['mariadb', 'max-connections']) { should_not be_nil } end - " + EXAMPLE include FindFiles include FileReader def initialize(conf_path = nil)