The vagrant username on the ubuntu/xenial64 box has changed from vagrant to ubuntu. Instead of hardcoding it, let's set it in the pillar, in cases it changes in future boxes.
This also adds an 'include' to the sudo state, because in trying to debug the vagrant problems, I had to run each state one-by-one to figure out where the box broke. The sudo state depends on the base state, so it needs to include it.
See the accompanying django project template PR. The username changes aren't needed anymore. Only the additional 'apt-transport-https' package is required.
The vagrant username on the ubuntu/xenial64 box has changed from
vagrant
toubuntu
. Instead of hardcoding it, let's set it in the pillar, in cases it changes in future boxes.This also adds an 'include' to the
sudo
state, because in trying to debug the vagrant problems, I had to run each state one-by-one to figure out where the box broke. The sudo state depends on the base state, so it needs to include it.