Fix up the template - some scripts not right.

Signed-off-by: Angus Salkeld <asalkeld@redhat.com>
This commit is contained in:
Angus Salkeld 2012-04-26 23:16:25 +10:00
parent 51242e0802
commit 1eb0304080

View File

@ -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",