GithubHelp home page GithubHelp logo

isabella232 / vagrant-soa Goto Github PK

View Code? Open in Web Editor NEW

This project forked from eventbrite/vagrant-soa

0.0 0.0 0.0 374 KB

Vagrant plugin to manage vagrant SOA infrastructure.

License: MIT License

Ruby 98.14% Puppet 1.86%

vagrant-soa's Introduction

vagrant-soa

A Vagrant plugin to handle our SOA infrastructre within vagrant.

Installation

vagrant plugin install vagrant-soa

Usage

This plugin allows you to specify one or more services to run within the VM. By "services", we mean github repos that define puppet modules which can then be included in the main manifest.

This structure allows developers of services to easily distribute services to the rest of the team. Any changes to the service will be synced when users provision.

Services are defined within the Vagrantfile::

config.soa.services = {
  'example_service' => {
    'puppet_path' => 'services/example_service/puppet',
    'github_url' => '[email protected]:eventbrite/vagrant-soa.git',
    'home_dir' => 'services/example_service',
    'branch' => 'test_branch',
  },
}

The attributes of the service are optional, with the following defaults:

  • puppet_path: The location of the puppet module from the root of the service repository. If this isn't specified, we'll default to "puppet"
  • github_url: The github url for the service. If this isn't provided, we'll fallback to: #{config.soa.github_base}/#{service}.git
  • branch: The specific branch we want to checkout. Defaults to "master".
  • home_dir: The home directory of the service. This is useful if the service isn't contained within its own repo.

Development

$ bundle
$ bundle exec vagrant up

Contributing

  1. Create your feature branch (git checkout -b my-new-feature)
  2. Commit your changes (git commit -am 'Add some feature')
  3. Push to the branch (git push origin my-new-feature)
  4. Create new Pull Request

vagrant-soa's People

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.