We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 48a4b1f + d1a28a5 commit 5979c94Copy full SHA for 5979c94
controls/mysql_conf.rb
@@ -67,7 +67,7 @@
67
control 'mysql-conf-02' do
68
impact 0.5
69
title 'only one instance of mysql should run on a server'
70
- describe command("pgrep -x -c #{service_name}") do
+ describe command('pgrep -x -c mysqld') do
71
its(:stdout) { should match(/^1$/) }
72
end
73
0 commit comments