Merge "Restart haproxy in AWS LB during boot"

This commit is contained in:
Jenkins 2015-02-23 10:19:25 +00:00 committed by Gerrit Code Review
commit 1dc46db686

View File

@ -196,6 +196,9 @@ lb_template_default = r'''
"# install cfn-hup crontab\n",
"crontab /tmp/cfn-hup-crontab.txt\n",
"# restart haproxy service to catch initial changes\n",
"systemctl reload-or-restart haproxy.service\n",
"# LB setup completed, signal success\n",
"/opt/aws/bin/cfn-signal -e 0 -r \"LB server setup complete\" '",
{ "Ref" : "WaitHandle" }, "'\n"