Skip to content

Instantly share code, notes, and snippets.

@stack72
Last active August 29, 2015 14:01
Show Gist options
  • Save stack72/6e0573db80d2f29c5782 to your computer and use it in GitHub Desktop.
Save stack72/6e0573db80d2f29c5782 to your computer and use it in GitHub Desktop.
  • vagrant box add win2012r2x64 locationonfilesystem
  • copy other boxes to ~/.vagrant.d/boxes (on windows that is C:\Users\Name.vagrant.d)

Common issues

  • Invalid package provider chocolatey - check that you have latest - git pull
  • choco list -lo throws invalid something something - type dir c:\chocolatey\lib to verify
  • Folder missing puppet/box_modules - create the folder
  • Unknown configuration section windows something something - vagrant plugin install vagrant-windows
  • box not added errors - check ls ~/.vagrant.d/boxes Check that the naming is exact
    • win2012r2x64
    • centos-6.5-64-nocm
    • ubuntu-12.04-64-nocm

vagrant ssh
puppet apply c:\vagrant\puppet\manifests\provision.pp --modulepath c:\vagrant\puppet\modules

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment