Skip to content

Commit cde3c6c

Browse files
authored
Merge pull request #78 from dev-sec/deprecate_rule_1
Delete first control
2 parents 26d11ce + 4b2b886 commit cde3c6c

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

controls/mysql_conf.rb

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -46,30 +46,17 @@
4646
mysql_log_group = 'adm'
4747
process_name = 'mysqld'
4848
process_name = 'mariadbd' if os[:release] >= '11' && os[:name] == 'debian'
49-
service_name = 'mysql'
5049
when 'redhat', 'fedora'
5150
mysql_config_path = '/etc/'
5251
mysql_config_file = "#{mysql_config_path}my.cnf"
5352
mysql_log_group = 'mysql'
5453
process_name = 'mysqld'
5554
process_name = 'mariadbd' if os[:release] >= '9'
56-
service_name = 'mysqld'
57-
service_name = 'mariadb' if os[:release] >= '7'
5855
when 'suse'
5956
mysql_config_path = '/etc/'
6057
mysql_config_file = "#{mysql_config_path}my.cnf"
6158
mysql_log_group = 'mysql'
6259
process_name = 'mysqld'
63-
service_name = 'mariadb'
64-
end
65-
66-
control 'mysql-conf-01' do
67-
impact 0.5
68-
title 'ensure the service is enabled and running'
69-
describe service(service_name) do
70-
it { should be_enabled }
71-
it { should be_running }
72-
end
7360
end
7461

7562
# 'Check for multiple instances' do

0 commit comments

Comments
 (0)