Forge Home


Install Vagrant


48,811 latest version

2.9 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.

Version information

  • 1.1.0 (latest)
  • 1.0.0
  • 0.1.0
released May 10th 2014
This version is compatible with:
  • Puppet Enterprise 3.2.x
  • Puppet 3.x
  • RedHat, Debian, Ubuntu, Darwin, Windows

Start using this module

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

Add this module to your Puppetfile:

mod 'mjanser-vagrant', '1.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

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

Manually install this module globally with Puppet module tool:

puppet module install mjanser-vagrant --version 1.1.0

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.

Tags: vagrant


mjanser/vagrant — version 1.1.0 May 10th 2014

Vagrant module for Puppet

This module installs the latest version of Vagrant from


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

NOTE: Versions older than 1.4.0 are not supported by this module because the download URL was complexer then.

Currently supports:

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


Install latest version

include vagrant

Install 1.5.0

class { 'vagrant':
   version => '1.5.0'

Install plugin

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

Install plugin in specific version

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

The home directory of the user is generated with the prefix /home/ and the username. This can be overridden with the home option.

vagrant::plugin { 'vagrant-hostmanager':
   user => 'myuser',
   home => '/home/otheruser'

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

  • prerelease
  • source
  • entry_point

Install bash completion

include vagrant::bash

Install sudo configuration

include vagrant::sudo