The port is firewalled off by default so mysql is not reachable except
to localhost users. In any case it is good to set a password for the
mysql root user.
We are 'reusing' the user_db_password parameter, because it is actually
unused, instead of adding yet another parameter.
Tested this change against an existing undercloud and observed that
the mysql root user got a correct password and that the /root/.my.cnf
file got generated.
Closes-Bug: #1742191
Change-Id: I408ce3a0fe2ab8e86bcc280256cdb51688efde75
(cherry picked from commit 955c339af3)
puppet-stack-config
puppet-stack-config provides static puppet configuration for a single node baremetal cloud using the Ironic driver. A yaml template is used to render a hiera data file at /etc/puppet/hieradata/puppet-stack-config.yaml.
The template rendering takes its input from a set of defined environment variables.