caktus / margarita

A collection of delicious Salt states for Django project deployments.
BSD 3-Clause "New" or "Revised" License
34 stars 8 forks source link

Margarita changes for vagrant install #148

Closed vkurup closed 7 years ago

vkurup commented 7 years ago

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.

vkurup commented 7 years ago

See the accompanying django project template PR. The username changes aren't needed anymore. Only the additional 'apt-transport-https' package is required.