Yes that is what I was thinking as well. Unfortunately I don't believe yum
will permit me to specify --noscripts so I can avoid mysql_install_db from
On Wednesday, December 4, 2013 7:30:31 AM UTC-5, Walter Heck wrote:

Tried and failed. The problem is that the mysql package automatically uses
/var/lib/mysql, so the right sequence is:

1) yum install mysql-server
2) service mysqld stop
3) adjust my.cnf
4) make moves on filesystem if needed
5) service mysqld start
(steps 2 and 3 can be reversed)

This is hard to puppetise as it is only needed the very first time when
mysql is not yet installed. I've only ever had to do this on smaller groups
of servers at a time, so always resorted to doing it manually.

let me know if you figure it out, would be great to see a solution in

On Wednesday, 4 December 2013 02:39:50 UTC+1, Thomas wrote:

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/2dfa86e6-85df-4223-a7eb-64a61357e654%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 | 6 of 11 | next ›
Discussion Overview
grouppuppet-users @
postedDec 4, '13 at 1:39a
activeDec 17, '13 at 5:22p



site design / logo © 2022 Grokbase