Fix service path
Restrict the path for the service binary to '/sbin/:/usr/sbin/'
This commit is contained in:
parent
c15ef0ad1b
commit
bba9589770
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ class mysql::server(
|
|||
exec{ 'mysqld-restart':
|
||||
command => "service ${service_name} restart",
|
||||
refreshonly => true,
|
||||
path => '/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:',
|
||||
path => '/sbin/:/usr/sbin/',
|
||||
}
|
||||
File{
|
||||
owner => 'mysql',
|
||||
|
|
Loading…
Reference in a new issue