Use Chaining Arrows to create puppet relationships
Check MySQL connection before change the root password.
Ruby setup using puppet as provisioner.