Skip to content

Latest commit

 

History

History
56 lines (36 loc) · 1.51 KB

README.md

File metadata and controls

56 lines (36 loc) · 1.51 KB

Infrastructure

This is the main repository for the it infrastructure of a political fraction.

recuirements

setup

git clone git://github.com/Piratenfraktion-Berlin/Infrastructure.git
cd Infrastructure
gem install vagrant
vagrant up

wait some time for the box be loaded from our server... maybe you have to insert your credentials to let vagrant setup your nfsd config

vagrant ssh

enjoy! You have your devbox up and running.

development

All work is done in the config directory. Be sure to take a look at salt

Be sure to make your changes in the development branch. They will be merged into the master branch after some testing is done. Don't forget to create topic branches when you integrate new features!

Log into the devbox and start a config run to test your changes:

sudo salt '*' state.highstate

troubleshooting

failing nfs mounts

This seems to be a Virtual Box problem. Do this to fix it:

  • shutdown the devbox
  • start the Virtual Box Manager
  • Go to options -> network
  • delete all networks
  • start the devbox, vagrant will create a new host-only network

contribution

Please do! Just fork the repository here, make a topic branch, and send us a pull request.

credits

Many thanks to elasticdog for his salt sandbox, we used it's provision code for this.