Merge pull request #10 from glarizza/feature/master/service_path_fix
Feature/master/service path fix
This commit is contained in:
commit
190fd129fc
1 changed files with 3 additions and 2 deletions
|
@ -48,12 +48,13 @@ class mysql::server(
|
|||
# the reason is that I need the service to be started before mods to the config
|
||||
# file which can cause a refresh
|
||||
exec{ 'mysqld-restart':
|
||||
command => "/usr/sbin/service ${service_name} restart",
|
||||
command => "service ${service_name} restart",
|
||||
refreshonly => true,
|
||||
path => '/sbin/:/usr/sbin/',
|
||||
}
|
||||
File{
|
||||
owner => 'mysql',
|
||||
group => 'mysql',
|
||||
require => Package['mysql-server'],
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue