From: Jeff Peeler Date: Thu, 21 Feb 2013 01:20:35 +0000 (-0500) Subject: Remove "deny from all" line in wordpress config X-Git-Tag: 2014.1~875^2 X-Git-Url: https://review.fuel-infra.org/gitweb?a=commitdiff_plain;h=902b83ed52a281e2df53bf587658bfd2dda0c56a;p=openstack-build%2Fheat-build.git Remove "deny from all" line in wordpress config (Missed file in 067323878522df12484c02211e852609185cb4fb) Fixes bug: #1123053 Change-Id: I7c8d8312bfc61c3b31c845bc6d50a296125bdee7 Signed-off-by: Jeff Peeler --- diff --git a/templates/AutoScalingMultiAZSample.template b/templates/AutoScalingMultiAZSample.template index b7ec6c41..fd433b57 100644 --- a/templates/AutoScalingMultiAZSample.template +++ b/templates/AutoScalingMultiAZSample.template @@ -273,10 +273,12 @@ "mysql -u root --password='", { "Ref" : "DBRootPassword" }, "' < /tmp/setup.mysql\n", + "sed -i \"/Deny from All/d\" /etc/httpd/conf.d/wordpress.conf\n", "sed --in-place --e s/database_name_here/", { "Ref" : "DBName" }, "/ --e s/username_here/", { "Ref" : "DBUsername" }, "/ --e s/password_here/", { "Ref" : "DBPassword" }, "/ /usr/share/wordpress/wp-config.php\n", + "systemctl restart httpd.service\n", "# install crontab\n", "crontab /tmp/stats-crontab.txt\n"