From 6d4552cd3fca6d9c2f38f96bd2f7fde8d54c3bf2 Mon Sep 17 00:00:00 2001 From: Chris Koeritz Date: Mon, 18 Dec 2017 08:01:41 -0500 Subject: [PATCH] added shadow site and more vamps there is now a shadow site blah.cakelampvm.com for every site blah.X, implemented in both standup and teardown but untested. revamp adds apache env vars file now. --- scripts/site_avenger/revamp_cakelampvm.sh | 26 ++++++++++++++++++++--- scripts/site_avenger/standup.sh | 8 +++++++ scripts/site_avenger/teardown.sh | 7 ++++++ 3 files changed, 38 insertions(+), 3 deletions(-) diff --git a/scripts/site_avenger/revamp_cakelampvm.sh b/scripts/site_avenger/revamp_cakelampvm.sh index dd9ca882..8bd5eeee 100644 --- a/scripts/site_avenger/revamp_cakelampvm.sh +++ b/scripts/site_avenger/revamp_cakelampvm.sh @@ -132,8 +132,9 @@ if [ -L /etc/apache2/sites-enabled/000-default.conf ]; then rm -f /etc/apache2/sites-available/000-default.conf test_or_die "removing old apache site" - # copy in our new 000 version (which - cp $FEISTY_MEOW_APEX/production/sites/cakelampvm.com/rolling/default_page.001/* \ + # copy in our new version of the default page. +#hmmm: would be nice if this worked without mods for any new version, besides just 001. see apache env var file below for example implem. + cp -f $FEISTY_MEOW_APEX/production/sites/cakelampvm.com/rolling/default_page.001/* \ /etc/apache2/sites-available test_or_die "installing new apache default sites" @@ -217,10 +218,29 @@ mysql -u root -p "$mysql_passwd" <