Create an OwnCloud development environment in a Vagrant machine with SaltStack
Well, it is all in the title. This post, will help you create a virtual machine with an installed and configured OwnCloud instance.
Last tutorial (Using SaltStack to automate Vagrant provisioning) lasts from some months ago (since it is part of SaltStack For DevOps Book) and I used the Salty Vagrant plugin since Vagrant doesn’t support SaltStack without the latter plugin at that time. (The book was updated)
While reading this, if you have the latest version of SaltStack, you don’t need to install the plugin : SaltStack is directly provided with Vagrant.
For this tutorial I created a GitHub repository (OwnCloud_Vagrant_SaltStack), so that you can pull the code and start your vagrant machine.
The instructions are the following:
Clone the git repos:
git clone https://github.com/eon01/owncloud_vagrant_saltstack.git
Finally, “wake up” your machine 🙂
Your virtual machine should be running. Go to your browser and type
Now you can setup your OwnCloud installation.
Note that you should have already installed Vagrant. If you are doing this for the first time, I wrote a blog post about “Installing and Using Vagrant“, check it out !