How to set a random root_password just for the first time installation with puppetlabs/mysql?

asked 2015-07-24 03:14:16 -0600

Opechancano gravatar image

I have a function that generates a random password for the MySQL root user, the problem is that every time I run puppet agent all settings are updated with a new root password.

How can I just set the random password with the first installation / deploy?

edit retag flag offensive close merge delete