fix Vagrantfile AGAIN

This commit is contained in:
Michael Becker 2024-04-09 08:07:49 -04:00
parent 36057e29ed
commit f02c0d39cc

View File

@ -127,6 +127,9 @@ Vagrant.configure("2") do |config|
box.vm.provision "file", source: "localhost.crt", destination: "$HOME/localhost.crt" box.vm.provision "file", source: "localhost.crt", destination: "$HOME/localhost.crt"
box.vm.provision "file", source: "mocha-libexec", destination: "$HOME/mocha-libexec" box.vm.provision "file", source: "mocha-libexec", destination: "$HOME/mocha-libexec"
box.vm.provision "file", source: "sql", destination: "$HOME/sql" box.vm.provision "file", source: "sql", destination: "$HOME/sql"
box.vm.provision "file", source: "libraries", destination: "$HOME/libraries"
box.vm.provision "file", source: "site", destination: "$HOME/html"
box.vm.provision "file", source: "site/.htaccess", destination: "$HOME/html/.htaccess"
# initial provision of site # initial provision of site
box.vm.provision "shell", inline: <<-SHELL box.vm.provision "shell", inline: <<-SHELL
@ -181,9 +184,6 @@ Vagrant.configure("2") do |config|
# reset the site to the default upon launching the VM # reset the site to the default upon launching the VM
# remove the run: "always" if you do not desire this behavior # remove the run: "always" if you do not desire this behavior
box.vm.provision "file", source: "libraries", destination: "$HOME/libraries"
box.vm.provision "file", source: "site", destination: "$HOME/html"
box.vm.provision "file", source: "site/.htaccess", destination: "$HOME/html/.htaccess"
box.vm.provision "shell", inline: <<-SHELL box.vm.provision "shell", inline: <<-SHELL
if [ "@@MOCHA_ALWAYS_PROVISION@@" != "true" ]; then if [ "@@MOCHA_ALWAYS_PROVISION@@" != "true" ]; then