This repository was archived by the owner on Jun 11, 2019. It is now read-only.

Description
Hello,
This modules broken and does not seem like it should ever work.
info: Applying configuration version '1343849884'
notice: /Stage[main]/Mysql/Package[mysql]/ensure: ensure changed 'purged' to 'present'
notice: /Stage[main]/Mysql::Password/File[/root/.my.cnf.backup]/ensure: created
notice: /Stage[main]/Mysql::Password/Exec[mysql_backup_root_my_cnf]/returns: executed successfully
notice: /Stage[main]/Mysql::Password/File[/root/.my.cnf]/ensure: created
info: /Stage[main]/Mysql::Password/File[/root/.my.cnf]: Scheduling refresh of Exec[mysql_root_password]
err: /Stage[main]/Mysql::Password/Exec[mysql_root_password]: Failed to call refresh: mysqladmin --defaults-file=/root/.my.cnf.backup -uroot password 'cowsarefunny' returned 1 instead of one of [0] at /etc/puppet/modules/mysql/manifests/password.pp:49
notice: Finished catalog run in 32.50 seconds
root@puppet01:# cat /root/./root/.my.cnc^C
root@puppet01:# cat //root/.my.cnf
File Managed by Puppet
[client]
password=cowsarefunny
So essentially it is installing MySQL, writing out the my.cnf with the root password, then trying to set the root password which is blank, as it was just been install but using the my.cnf new password :(