]> review.fuel-infra Code Review - openstack-build/horizon-build.git/commitdiff
Now using .conf as extension for the apache2 site files.
authorThomas Goirand <thomas@goirand.fr>
Sun, 14 Jul 2013 05:54:46 +0000 (13:54 +0800)
committerThomas Goirand <thomas@goirand.fr>
Sun, 14 Jul 2013 06:08:28 +0000 (14:08 +0800)
Change-Id: Ibd9c1ec07221d60d78f02fce23c7ad0b6be5e90b
(cherry picked from commit 8c677a0dc69423997f92949f9fe5f7200a8d279a)

Rewritten-From: bd60c8b0df2b34a18eceea96e60dd1c6de96ed82

trusty/debian/apache-sites-available/openstack-dashboard-ssl-redirect.conf [moved from trusty/debian/apache-sites-available/openstack-dashboard-ssl-redirect with 100% similarity]
trusty/debian/apache-sites-available/openstack-dashboard-ssl.conf [moved from trusty/debian/apache-sites-available/openstack-dashboard-ssl with 100% similarity]
trusty/debian/apache-sites-available/openstack-dashboard.conf [moved from trusty/debian/apache-sites-available/openstack-dashboard with 100% similarity]
trusty/debian/openstack-dashboard-apache.install
trusty/debian/openstack-dashboard-apache.postinst

index 9f2865ea56a2c078b54cbc1699d33d2e39ce9f19..504b1c96fc2795cec0a2ccd4ba2a978b859bc1f2 100644 (file)
@@ -1,3 +1,3 @@
-debian/apache-sites-available/openstack-dashboard      /etc/apache2/sites-available
-debian/apache-sites-available/openstack-dashboard-ssl  /etc/apache2/sites-available
-debian/apache-sites-available/openstack-dashboard-ssl-redirect /etc/apache2/sites-available
+debian/apache-sites-available/openstack-dashboard.conf /etc/apache2/sites-available
+debian/apache-sites-available/openstack-dashboard-ssl.conf     /etc/apache2/sites-available
+debian/apache-sites-available/openstack-dashboard-ssl-redirect.conf    /etc/apache2/sites-available
index da446d94311c2043186bf1b417c53739a6fba666..70d75cb35a06195de7677e5cf6553511c4273134 100644 (file)
@@ -29,14 +29,14 @@ HORIZON_USE_SSL=yes" >/etc/default/openstack-dashboard-apache
                        sed -i 's#[ \t]*HORIZON_USE_SSL=.*#HORIZON_USE_SSL=yes#' /etc/default/openstack-dashboard-apache
                        a2enmod ssl
                        a2enmod rewrite
-                       a2dissite openstack-dashboard
-                       a2ensite openstack-dashboard-ssl-redirect
-                       a2ensite openstack-dashboard-ssl
+                       a2dissite openstack-dashboard.conf
+                       a2ensite openstack-dashboard-ssl-redirect.conf
+                       a2ensite openstack-dashboard-ssl.conf
                else
                        sed -i 's#[ \t]*HORIZON_USE_SSL=.*#HORIZON_USE_SSL=no#' /etc/default/openstack-dashboard-apache
-                       a2dissite openstack-dashboard-ssl
-                       a2dissite openstack-dashboard-ssl-redirect
-                       a2ensite openstack-dashboard
+                       a2dissite openstack-dashboard-ssl.conf
+                       a2dissite openstack-dashboard-ssl-redirect.conf
+                       a2ensite openstack-dashboard.conf
                fi
                invoke-rc.d --quiet apache2 reload
        else