From: Angus Salkeld Date: Thu, 26 Apr 2012 13:16:25 +0000 (+1000) Subject: Fix up the template - some scripts not right. X-Git-Tag: 2014.1~1923^2~2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=1eb030408051afe71e306f501bcd94bd9dd8509f;p=openstack-build%2Fheat-build.git Fix up the template - some scripts not right. Signed-off-by: Angus Salkeld --- diff --git a/templates/WordPress_Single_Instance_With_HA.template b/templates/WordPress_Single_Instance_With_HA.template index 8606d9df..3a4149fe 100644 --- a/templates/WordPress_Single_Instance_With_HA.template +++ b/templates/WordPress_Single_Instance_With_HA.template @@ -127,15 +127,19 @@ }, "/etc/cfn/notify-on-httpd-restarted" : { - "content" : "logger -t cfn-event 'http got restarted'\n", - "mode" : "000500", + "content" : { "Fn::Join" : ["", [ + "#!/bin/sh\n", + "logger -t cfn-event 'http got restarted'\n" + ]]}, + "mode" : "000700", "owner" : "root", "group" : "root" }, "/tmp/cfn-hup-crontab.txt" : { "content" : { "Fn::Join" : ["", [ - "MAIL=\n", + "MAIL=\"\"\n", + "\n", "* * * * * /opt/aws/bin/cfn-hup -f\n" ]]}, "mode" : "000600",