Re: [Puppet Users] Puppetlabs/mysql forge module - user accounts

2015-11-25 Thread Garrett Honeycutt
On 11/25/15 9:03 AM, Matt Shields wrote: > I'm using the Puppetlabs/mysql forge module and I have it creating a db > and adding a few users. Is there a way to automatically remove any > accounts that are not defined in my puppet script? For example, if an > admin manually created a user? > > -ma

Re: [Puppet Users] puppetlabs-mysql

2014-07-24 Thread David Kindle
Thanks Hunter - this is the info I was looking for. Now of course I need puppet to create this file for me since the idea here is that I dont have to touch the node. Can you be more specific on he "just add your own info" Is the the client/socket/unset info? can you populate those with d

Re: [Puppet Users] puppetlabs-mysql

2014-07-23 Thread Hunter Haugen
The module is trying to read the cached password from /root/.my.cnf to connect, and since it's empty it tries with no password. (See https://github.com/puppetlabs/puppetlabs-mysql/blob/master/manifests/server/root_password.pp#L7-L19 for what puppet is doing with the root_password). You could creat

Re: [Puppet Users] puppetlabs-mysql - question about automated backup script mysqlbackup.sh

2014-05-26 Thread Felix Frank
Hi, this request looks valid to me. If it poses an issue for you, you may wish to file a ticket via https://tickets.puppetlabs.com/browse/MODULES Thanks, Felix On 05/09/2014 06:19 PM, Laurent CREPET wrote: > So, > - mysqldump will use the credentials given to ::mysql::server::backup > - mysql w

Re: [Puppet Users] puppetlabs-mysql: How does the command on this line get the mysql root password?

2011-10-11 Thread Bruno Leon
~/.my.cnf ? On 11-10-11 10:18 AM, adam wrote: Stupid question here: how does this line of code get the mysql root password?: https://github.com/puppetlabs/puppetlabs-mysql/blob/master/lib/puppet/provider/database/mysql.rb#L12 I am asking because when I run the set of commands to make a mysql s

Re: [Puppet Users] puppetlabs-mysql: How does the command on this line get the mysql root password?

2011-10-11 Thread Dan Bode
It expects the password to be set somewhere other than on the command line (my.cnf) On Tue, Oct 11, 2011 at 7:18 AM, adam wrote: > Stupid question here: how does this line of code get the mysql root > password?: > > > https://github.com/puppetlabs/puppetlabs-mysql/blob/master/lib/puppet/provider