Skip to content

Puppet module to manage vagrant and its plugins installation

License

Notifications You must be signed in to change notification settings

hlaf/puppet-vagrant

This branch is up to date with kindredgroup/puppet-vagrant:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

0454fb5 · Jan 25, 2016

History

41 Commits
Jan 25, 2016
Jan 3, 2016
Nov 6, 2015
Jun 4, 2015
Nov 6, 2015
Mar 24, 2015
Mar 24, 2015
Sep 13, 2015
Nov 6, 2015
Mar 24, 2015
Dec 11, 2015
Dec 15, 2015
Mar 23, 2015
Mar 24, 2015
Apr 30, 2015
Dec 15, 2015
Jan 25, 2016

Repository files navigation

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 :: o s f a m i l y a n d ::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.

About

Puppet module to manage vagrant and its plugins installation

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Puppet 63.0%
  • Ruby 36.6%
  • HTML 0.4%