]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
use << intead of &lt;&lt; in Wordpress example
authorSteven Dake <sdake@redhat.com>
Sun, 1 Apr 2012 20:35:53 +0000 (13:35 -0700)
committerSteven Dake <sdake@redhat.com>
Sun, 1 Apr 2012 20:35:53 +0000 (13:35 -0700)
Signed-off-by: Steven Dake <sdake@redhat.com>
templates/WordPress_Single_Instance.template

index ecc96a102844d323d157d1c62aef5d341bd679db..fb5fbed9b285e41d4f6a232d3fb45666b7c46b4e 100644 (file)
           "systemctl start mysqld.service\n",\r
           "# Setup MySQL root password and create a user\n",\r
           "mysqladmin -u root password '", { "Ref" : "DBRootPassword" }, "'\n",\r
-          "cat >> /tmp/mysql-wordpress-config &lt;&lt; EOF\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