Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 2.75 KB

README.md

File metadata and controls

44 lines (32 loc) · 2.75 KB

Vagrant Windows Boxes and Puppet

Prerequisites

  • Vagrant 1.3.5+ - I'm pretty sure you'll need the latest version
  • VirtualBox 4.2.16 or VMWare Fusion 5
    • If you want to use VMWare Fusion you will also need the vagrant-vmware-fusion plugin for vagrant (which is not free). You also want the latest version (at least 2.1.0). If you already have this installed, you can upgrade simply by calling vagrant plugin install vagrant-vmware-fusion.
  • Vagrant-Windows 1.3.2 - vagrant plugin install vagrant-windows --plugin-version 1.3.2.
  • At least 20GB free on the host box.
  • NOTE: If you file any issues on this repository, please note that I'll ask if you what you have installed and what versions. If it doesn't match the above, I will close your issue until you can reproduce it with the above installed.

Setup

  1. Install/upgrade Vagrant to 1.3.5+.
  2. Install/upgrade VirtualBox/VMWare to versions listed above.
  3. Install/upgrade required plugins for vagrant (if using VMWare you will need the non-free vagrant-vmware-fusion or equivalent).
  4. Install/upgrade vagrant-windows vagrant plugin. Open terminal/command line and type vagrant plugin install vagrant-windows
  5. Take a look at this gist that might be helpful in determining commands to call for setup: Install Vagrant Windows Environment

Boxes Folder

  1. Create the puppet/modules and puppet/box_modules directories in each boxes directory that you want to use vagrant in (if it doesn't already exist).
  2. In each folder if you are running VirtualBox, you can just vagrant up. If you are running VMWare, you will want to vagrant up --provider=vmware_fusion.

License Requirements for Windows

The boxes provided in the url explicitly state that they need a license for valid use. After downloading the base box you should provide a license.

Building Windows Boxes for Vagrant

Base Box Requirements

You must have git installed at a minimum.

What I would recommend to have installed are the following:

  • git (adding the bin directory to the PATH - it's an option during install)
    • this adds all kinds of fun tools to the path, like curl and ls.
  • BitVise SSH Server - configured with vagrant public key
    • This has the best SSHD and works well with PowerShell REPL
    • Import the vagrant insecure public key for the vagrant user.
    • This allows you to still use vagrant ssh
    • Ensure that Public Key authentication for this user is Allowed
  • WinRM and other items configured as noted at Vagrant-Windows