Coder Social home page Coder Social logo

itsarcanedave / vagrant-examples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from imadem/vagrant-examples

0.0 0.0 0.0 108 KB

A collection of sample Vagrant configurations using Puppet. Starting out simple and getting more complex.

Ruby 5.19% Pascal 0.02% Shell 15.96% Puppet 17.51% ApacheConf 30.39% CSS 13.55% HTML 1.41% PHP 15.11% Nginx 0.85%

vagrant-examples's Introduction

Vagrant Examples

What is Vagrant?

Vagrant is a tool that uses Oracle's VirtualBox to dynamically build configurable, lightweight, and portable virtual machines. Vagrant supports the use of either Puppet or Chef for managing the configuration. Much more information is available on the Vagrant web site.

What is this project?

This is a collection of sample Vagrant configurations using Puppet. They start out very simple with the bare minimum and gradually get more complex. The examples use Ubuntu 14.04 64 bit, though they should work with any Debian-based Linux distribution. Other distros such as Fedora and SUSE could be supported with some Facter logic in the manifests to ensure that platform-specific packages are installed correctly (e.g. httpd vs apache2).

How do I install Vagrant?

The host OS used in testing these examples was Ubuntu Trusty64, but any OS should work as long as VirtualBox can be installed. Download Vagrant from this source https://www.vagrantup.com/downloads.html

How do I run the examples?

From one of the example directories, type the following commands...

vagrant init ubuntu/trusty64
vagrant up

vagrant ssh 
   username: vagrant, password: vagrant

vagrant destroy

These commands will bring up the Vagrant box, SSH into it, and then remove it respectively.

Summary of examples

  1. Single box with some custom configuration.
  2. Single box with VirtualBox provider.
  3. Single box with VirtualBox provider and Puppet provisioning.
  4. Single box with Apache and sample static site installed via Puppet.
  5. Separate Web and database servers serving up static/dynamic sites via Puppet.
  6. Pulling out all the stops with cluster of seven Vagrant boxes.
  7. Single box with AWS provider and sample static/dynamic sites via Puppet.

vagrant-examples's People

Contributors

patrickdlee avatar imadem avatar

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.