File tree 1 file changed +0
-13
lines changed 1 file changed +0
-13
lines changed Original file line number Diff line number Diff line change 46
46
mysql_log_group = 'adm'
47
47
process_name = 'mysqld'
48
48
process_name = 'mariadbd' if os [ :release ] >= '11' && os [ :name ] == 'debian'
49
- service_name = 'mysql'
50
49
when 'redhat' , 'fedora'
51
50
mysql_config_path = '/etc/'
52
51
mysql_config_file = "#{ mysql_config_path } my.cnf"
53
52
mysql_log_group = 'mysql'
54
53
process_name = 'mysqld'
55
54
process_name = 'mariadbd' if os [ :release ] >= '9'
56
- service_name = 'mysqld'
57
- service_name = 'mariadb' if os [ :release ] >= '7'
58
55
when 'suse'
59
56
mysql_config_path = '/etc/'
60
57
mysql_config_file = "#{ mysql_config_path } my.cnf"
61
58
mysql_log_group = 'mysql'
62
59
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
73
60
end
74
61
75
62
# 'Check for multiple instances' do
You can’t perform that action at this time.
0 commit comments