Coder Social home page Coder Social logo

puppet-vagrant's Introduction

Vagrant

Table of Contents

  1. Overview
  2. Module Description
  3. Setup
  4. Usage
  5. Limitations

Overview

Install vagrant and, optionally, boxes and plugins.

Module Description

Vagrant is a tool for building and distributing development environments.

Setup

What vagrant affects

  • vagrant package
  • vagrant boxes
  • vagrant plugins

Setup requirements

Since the module relies on some custom facts, you will need to setup pluginsync = true on both the master and client node's /etc/puppet/puppet.conf.

Beginning with vagrant

To begin using the vagrant module with default parameters:

include vagrant

Usage

Using the vagrant module consists predominantly in declaring classes that provide desired functionality and features.

vagrant

Install the vagrant package. If the version parameter is not specified, the latest version will be installed.

class { 'vagrant':
  version => '1.5.4'
}

vagrant::box

Add a vagrant box under the home directory of the specified user.

vagrant::box { 'hashicorp/precise64':
  box_provider => 'virtualbox',
  box_url      => undef,
  user         => 'vagrant'
}

vagrant::plugin

Add a vagrant plugin under the home directory of the specified user.

vagrant::plugin { 'vagrant-lxc': user => 'vagrant' }

Limitations

The user parameter of vagrant::box and vagrant::plugin is currently ignored on Windows systems (current user is assumed).

puppet-vagrant's People

Contributors

emyl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

puppet-vagrant's Issues

Symlinks in modules are unsupported.

You should clean out the symlinks in spec/fixtures before creating the package.

$ puppet module install emyl-vagrant
Notice: Preparing to install into /etc/puppet/modules ...
Notice: Downloading from https://forgeapi.puppetlabs.com ...
Warning: Symlinks in modules are unsupported. Please investigate symlink emyl-vagrant-0.1.0/spec/fixtures/modules/vagrant/lib->..
Warning: Symlinks in modules are unsupported. Please investigate symlink emyl-vagrant-0.1.0/spec/fixtures/modules/vagrant/manifests->..
Notice: Installing -- do not interrupt ...
/etc/puppet/modules
└── emyl-vagrant (v0.1.0)

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.