Code Monkey home page Code Monkey logo

vagrant-racktables's Introduction

About

This is a Vagrant environment which installs racktables for development purposes.

Right now this is work in progress and many things can change.

Known limitations

  • tested with vagrant 1.9.7 and 2.0.1 with LXC and Libvirt provider
  • vagrant box tested under Ubuntu 16.04 with Apache 2.4 and php-fpm 7.0
  • REALLY dumb credentials, what did you expect from development setup? ;)
  • ansible playbook uploads racktables app to virtual machine, does not use vagrant auto mounted directories

Requirements

Initial start

  1. check out this repo to vagrant-racktables recursively:
git clone --recursive http://... vagrant-racktables
  1. Start up virtual machine:
vagrant up
  1. Go to web interface, fill in entries for user/pass, and to process creation of the racktables secret.php and db install.
  2. When requested by installer (in step 4) run vagrant provisioner to set permissions on secret.php
vagrant provision --provision-with=app
  1. Continue install finalization, it should redirect you to the login form
  2. Log in to application.

Destroy and recreate vm

Delete vm with all data:

vagrant destroy -f

Tricks

Wipe without vm destruction

Wipe racktables secret.php without destroying vm:

ansible-playbook -i .vagrant/provisioners/ansible/inventory/vagrant_ansible_inventory -e racktables_reinstall=true play_racktables.yml

.. but notice that db scripts may fail.

Ansible vars

See group_vars/ directory.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.