Re: [Puppet Users] Re: Puppetlabs-mysql with Percona

2015-03-26 Thread Matt Shields
Not sure why but it looks like when trying to start Percona, it couldn't create a pid file because there was no /var/run/mysql directory and no permissions set. I had to manually create the folder and set permissions, now it seems to be working. 15 package { 'percona-release': 16 ensure

Re: [Puppet Users] Re: Puppetlabs-mysql with Percona

2015-03-26 Thread Matt Shields
I've tried setting the service_name to mysql in the class definition since Percona calls the service mysql instead of mysqld, but I'm still getting errors. Looks like it's now trying to start Percona/mysql but getting errors. Here's the puppet output plus the mysql log. 31 class { '::mysql::

[Puppet Users] Re: Puppetlabs-mysql with Percona

2015-03-25 Thread Elisiano Petrini
Hi Matt, you might need to override also ::mysql::server::service_name. I don't know what's the service name of percona but it looks like that is not 'mysqld': > Error: Could not start Service[mysqld]: Execution of '/sbin/service mysqld start' returned 1: mysqld: unrecognized service Best