First off, I'm not sure if I should be asking questions about puppetlabs modules here, if not, I apologise...
I'm trying to at least setup my mysql replication user through the mysql module, but I seem to be unable to divine the correct way to do this. I've tried a number of different variations, but my user doesn't get the repl_slave_priv on my user table... This is the relevant part of my manifest: ----------------- database_user { "repl_slave@%": password_hash => mysql_password(' ... '), } database_grant { "repl_slave@%/*.*": privileges => ['repl_slave_priv'], } ---------------- The puppet run doesn't raise an error, it says: notice: /Stage[main]/Db::Repl_user/Database_grant[repl_slave@%/*.*]/privileges: privileges changed '' to 'repl_slave_priv' But it does so at each puppet run, so clearly it's actually NOT changing privileges to 'repl_slave_priv'. This seems like a pretty big bug to me. If it fails, it should tell me it fails, not pretend it worked. Also, when I check on the actual user table I indeed see no repl_slave_priv granted to this user... I've also tried 'replication slave' (which is what you do in a GRANT x incantation) and 'repl_slave'. A little more documentation for the module would be a great help here... Thanks for any pointers, Thijs -- You received this message because you are subscribed to the Google Groups "Puppet Users" group. To view this discussion on the web visit https://groups.google.com/d/msg/puppet-users/-/v7NNyzpAPJ0J. To post to this group, send email to puppet-users@googlegroups.com. To unsubscribe from this group, send email to puppet-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/puppet-users?hl=en.