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
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
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
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
~/.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
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