Forge Home

vagrant

Puppet module to manage vagrant and its plugins installation

113,342 downloads

100,178 latest version

4.6 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 0.2.1 (latest)
  • 0.2.0
  • 0.1.19
  • 0.1.18
  • 0.1.15
  • 0.1.14
  • 0.1.13
  • 0.1.12
  • 0.1.11
  • 0.1.10
  • 0.1.9
  • 0.1.8
  • 0.1.7
  • 0.1.6
  • 0.1.4
  • 0.1.2
  • 0.1.1
released Jan 25th 2016
This version is compatible with:
  • , , , , , , ,

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'unibet-vagrant', '0.2.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add unibet-vagrant
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install unibet-vagrant --version 0.2.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download

Documentation

unibet/vagrant — version 0.2.1 Jan 25th 2016

unibet-vagrant

Build Status Puppet Forge Puppet Forge

Overview

This module ment to take care of vagrant installation, its plugins and boxes. It focuses on the latest vagrant versions and therefore might not work properly with older releases requiring special setup, but it is still possible to request a specific version.

It was inspiried by code from mjanser and emyl modules, but forked due to their inactivity.

Description

This module uses $::osfamily and $::architecture to determine what package to install.

Currently supports:

  • CentOS and Redhat (i386 and x86)
  • Ubuntu and Debian (i386 and x86)
  • Windows (not tested)
  • Darwin (not tested)

Usage

vagrant

Install latest version

include vagrant

Install 1.6.3

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

vagrant::plugin

Install plugin

vagrant::plugin { 'vagrant-hostmanager':
  user => 'myuser'
}

Install plugin in specific version

vagrant::plugin { 'vagrant-hostmanager':
  user    => 'myuser',
  version => 0.8.0
}

There are some more options which are the same as supported by the vagrant plugin command.

  • prerelease
  • source
  • entry_point

vagrant::box

Add a vagrant box for the specified user.

vagrant::box { 'puppetlabs/centos-6.6-64-puppet':
  user => 'vagrant'
}

vagrant::user

Manage vagrant user, its authorized keys and sudo access. Please note that this class works only on *nix systems.

class{'vagrant::user':
  sudo_ensure => absent
}

Limitations

The user parameter is currently ignored on Windows systems (current user is assumed).

$::osfamily usage requires Facter 1.6.1 or later.