Skip to content

Commit c0452dc

Browse files
author
Sebastian Gumprich
committed
add suse support
Signed-off-by: Sebastian Gumprich <sebastian.gumprich@t-systems.com>
1 parent 7c6dc12 commit c0452dc

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

controls/mysql_conf.rb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,19 @@
5555
process_name = 'mariadbd' if os[:release] >= '9'
5656
service_name = 'mysqld'
5757
service_name = 'mariadb' if os[:release] >= '7'
58+
when 'suse'
59+
mysql_config_path = '/etc/'
60+
mysql_config_file = "#{mysql_config_path}my.cnf"
61+
mysql_log_group = 'mysql'
62+
process_name = 'mysqld'
63+
service_name = 'mariadb'
5864
end
5965

6066
control 'mysql-conf-01' do
6167
impact 0.5
6268
title 'ensure the service is enabled and running'
6369
describe service(service_name) do
70+
p service_name
6471
it { should be_enabled }
6572
it { should be_running }
6673
end

0 commit comments

Comments
 (0)