Skip to content

Commit

Permalink
Merge pull request #1027 from Chassis/1026-build-extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
BronsonQuick committed Jul 1, 2023
2 parents 55f6e15 + 67af34a commit 0dc368e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion reinstall.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@ DESTROY=$(ask "Drop all WordPress tables and reinstall?")

if [ ! -z $DESTROY ]; then
wp db clean --yes
cd extensions
EXTENSIONS="/vagrant/puppet/modules:"
for d in * ; do
EXTENSIONS="${EXTENSIONS}/vagrant/extensions/${d}/modules:"
done
# Reinstall WordPress with Puppet
sudo puppet apply --basemodulepath /vagrant/puppet/modules:/vagrant/extensions/example/modules --confdir /vagrant/puppet /vagrant/puppet/manifests
sudo puppet apply --basemodulepath $EXTENSIONS --confdir /vagrant/puppet /vagrant/puppet/manifests
fi

0 comments on commit 0dc368e

Please sign in to comment.