]> review.fuel-infra Code Review - openstack-build/heat-build.git/commitdiff
Add a cfn-init call to cfntools
authorSteven Dake <sdake@redhat.com>
Sat, 14 Apr 2012 14:23:20 +0000 (07:23 -0700)
committerSteven Dake <sdake@redhat.com>
Sat, 14 Apr 2012 14:23:20 +0000 (07:23 -0700)
Signed-off-by: Steven Dake <sdake@redhat.com>
templates/WordPress_Single_Instance_cfntools.template

index 895f0d7042736303b2c57b82ed6e93b64c099c7d..8ba02c8de35148db2b04db330dd088cdf6c06209 100644 (file)
         "KeyName"        : { "Ref" : "KeyName" },
         "UserData"       : { "Fn::Base64" : { "Fn::Join" : ["", [
           "#!/bin/bash -v\n",
+          "/opt/aws/bin/cfn-init -i /var/lib/cloud/cfn-init-data"
           "# Setup MySQL root password and create a user\n",
           "mysqladmin -u root password '", { "Ref" : "DBRootPassword" }, "'\n",
           "cat >> /tmp/mysql-wordpress-config << EOF\n",