controller-puppet: Honor MysqlRootPassword
authorYanis Guenane <yanis.guenane@enovance.com>
Wed, 18 Mar 2015 14:54:45 +0000 (15:54 +0100)
committerYanis Guenane <yanis.guenane@enovance.com>
Wed, 18 Mar 2015 14:54:45 +0000 (15:54 +0100)
Currently the MysqlRootPassword parameter is retrieved from the
templates but not honored, preventing a user to specify it.
This commit fixes that.

Change-Id: Ib6842736a37aea3cc16f1a7c75fc877408682bf7

puppet/controller-puppet.yaml

index 76e5483..a13942e 100644 (file)
@@ -672,7 +672,7 @@ resources:
                 # MySQL
                 admin_password: {get_input: admin_password}
                 mysql_innodb_buffer_pool_size: {get_input: mysql_innodb_buffer_pool_size}
-                mysql_root_password: {get_input: mysql_root_password}
+                mysql::server::root_password: {get_input: mysql_root_password}
                 mysql_cluster_name: {get_input: mysql_cluster_name}
                 # Neutron
                 neutron::bind_host: {get_input: controller_host}