No it didn't work and see other replies with additional details thanks to
the others that have provided more details regarding the problem.

If I'm able to figure out a fix I'll certainly submit a pull request to
resolve the issue.

What I had done was on RHEL 6.4 deploy an /etc/my.cnf containing datadir =
/data/mysql but when puppet tries to start the mysql service it fails.

I'm writing a manifest to see if I can perform an exec of mysql_install_db
along with proper dependencies to get a fresh database configured that
doesn't point to /var/lib/mysql for it's datadir.

If I get that to work than I'll work on incorporating it into the
puppetlabs-mysql forge module.

My initial message was just to first check if somebody else had solved this
problem already... I'll submit an issue on github later so other users of
the module are aware of a potential solution.
On Tuesday, December 3, 2013 9:51:27 PM UTC-5, Ygor wrote:

One gets the impression that you have tried and have been unsuccessful.

Details would help with troubleshooting.

On Dec 3, 2013, at 8:39 PM, Thomas <thomas....@gmail.com <javascript:>>
Has anybody sucessfully used puppetlabs-mysql (or some other method) to
install MySQL-server on Linux with a my.cnf where datadir != /var/lib/mysql
You received this message because you are subscribed to the Google Groups "Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to puppet-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/puppet-users/082504a2-0169-4149-95fc-181e9250efcd%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

Discussion Posts


Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 5 of 11 | next ›
Discussion Overview
grouppuppet-users @
postedDec 4, '13 at 1:39a
activeDec 17, '13 at 5:22p



site design / logo © 2022 Grokbase