Merge pull request #10 from glarizza/feature/master/service_path_fix

Feature/master/service path fix
This commit is contained in:
Dan Bode 2011-06-16 17:34:10 -07:00
commit 190fd129fc

View file

@ -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'],
}
}
}