User:BDavis (WMF)/Notes/Labs-vagrant

Yuvi has been working on a setup that allows using the wikimedia-vagrant puppet config on labs instances. This is AWESOME so I'm trying it out to wring out some of the bugs.

HowTo

 * 1) Login to wikitech
 * 2) Create a new instance
 * 3) Go to wikitech:Special:NovaInstance
 * 4) Click 'Add instance'
 * 5) Click 'Labs Projectadmins > Manage Instances' in the left sidebar
 * 6) Name your instance (my-new-instance used as example below)
 * 7) The default values are probably good for everything else
 * 8) Click submit
 * 9) Refresh wikitech:Special:NovaInstance until you see "ACTIVE"
 * 10) Make sure you can log in
 * 11) ssh my-new-instance.pmtpa.wmflabs
 * 12) Enable nfs for homedirs via ops-puppet role
 * 13) Actions > configure on right side of your instance's row on wikitech:Special:NovaInstance
 * 14) Enable   checkbox
 * 15) Click Submit
 * 16) ssh my-new-instance.pmtpa.wmflabs
 * 17) sudo puppetd --test --verbose
 * 18) sudo reboot
 * 19) Make sure NFS mount worked
 * 20) ssh my-new-instance.pmtpa.wmflabs
 * 21) mount | grep 'type nfs'
 * 22) Install labs-vagrant via ops-puppet role
 * 23) Actions > configure on right side of your instance's row on
 * 24) Enable   checkbox
 * 25) Submit
 * 26) ssh my-new-instance.pmtpa.wmflabs
 * 27) sudo puppetd --test --verbose
 * 28) Use labs-vagrant to setup your wiki
 * 29) sudo labs-vagrant list-roles
 * 30) sudo labs-vagrant enable-role some-role-name
 * 31) sudo labs-vagrant provision
 * 32) * Get a cup of coffee or troll on irc while it runs for the first time :)
 * 33) Edit   to set   to the URL you plan on using to access the instance.
 * 34) View your new wiki at http://my-new-instance.instance-proxy.wmflabs.org/
 * 35) Profit!