]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Updated wordpress single instance template to have quotes in proper place
authorSteven Dake <sdake@redhat.com>
Sun, 1 Apr 2012 23:59:51 +0000 (16:59 -0700)
committerSteven Dake <sdake@redhat.com>
Sun, 1 Apr 2012 23:59:51 +0000 (16:59 -0700)
Signed-off-by: Steven Dake <sdake@redhat.com>
templates/WordPress_Single_Instance.template

index fb5fbed9b285e41d4f6a232d3fb45666b7c46b4e..69d9b1133d6ff3c3eadf5839b9803a7485771c01 100644 (file)
           "mysqladmin -u root password '", { "Ref" : "DBRootPassword" }, "'\n",\r
           "cat >> /tmp/mysql-wordpress-config << EOF\n",\r
           "CREATE DATABASE ", { "Ref" : "DBName" }, ";\n",\r
-          "GRANT ALL PRIVILEGES ON ", { "Ref" : "DBName" }, ".* TO ", { "Ref" : "DBUsername" }, "@localhost\n",\r
-          "IDENTIFIED BY ", { "Ref" : "DBPassword" }, ";\n",\r
+          "GRANT ALL PRIVILEGES ON ", { "Ref" : "DBName" }, ".* TO \"", { "Ref" : "DBUsername" }, "\"@\"localhost\"\n",\r
+          "IDENTIFIED BY \"", { "Ref" : "DBPassword" }, "\";\n",\r
           "FLUSH PRIVILEGES;\n",\r
           "EXIT\n",\r
           "EOF\n",\r