vagrant

Install Vagrant
Martin Janser

Martin Janser

mjanser

47,802 downloads

47,559 latest version

2.9 quality score

Version information

  • 1.1.0 (latest)
  • 1.0.0
  • 0.1.0
released Jul 3rd 2019
This version is compatible with:
  • Puppet Enterprise 3.2.x
  • Puppet 3.x
  • RedHat, Debian, Ubuntu, Darwin, Windows

Start using this module

Tags: vagrant

Documentation

mjanser/vagrant — version 1.1.0 Jul 3rd 2019

Vagrant module for Puppet

This module installs the latest version of Vagrant from http://www.vagrantup.com/downloads.html.

Description

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)

Usage

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