[Puppet Users] Re: MySQL Restart

2009-10-26 Thread Simon J Mudd
doug.garst...@gmail.com (Douglas Garstang) writes: > I've got a mostly working puppet manifest for mysql, except for one problem. > > I'm using the RPM from the MySQL web site, and the packagers of this > RPM in their infinite wisdom decided that the mysql service should be > automatically start

[Puppet Users] Re: MySQL Restart

2009-10-25 Thread Douglas Garstang
I don't believe 'pattern' is used to stop/start the service, only to help recognise if it's running when hasstatus is not used. On Sun, Oct 25, 2009 at 6:14 PM, R P Herrold wrote: > > On Sun, 25 Oct 2009, Douglas Garstang wrote: > >> Actually, putting this in the service description seems to hav

[Puppet Users] Re: MySQL Restart

2009-10-25 Thread R P Herrold
On Sun, 25 Oct 2009, Douglas Garstang wrote: > Actually, putting this in the service description seems to have fixed it. > > pattern=> "/usr/bin/mysqld_safe" It may have worked, but I guess I don't seen how going around the LSB conformant services control model and forcing a start outside

[Puppet Users] Re: MySQL Restart

2009-10-25 Thread Douglas Garstang
Actually, putting this in the service description seems to have fixed it. pattern=> "/usr/bin/mysqld_safe" although, the darn thing really should not be started when the RPM is installed, because it isn't even started with the service script. That's pretty friggin stupid. I suppose that's wh