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.
The Official Guide on wikitech is more up-to-date |
HowTo
edit- Login to wikitech
- Create a new instance
- Go to wikitech:Special:NovaInstance
- Click 'Add instance'
- Click 'Labs Projectadmins > Manage Instances' in the left sidebar
- Name your instance (my-new-instance used as example below)
- The default values are probably good for everything else
- Click submit
- Refresh wikitech:Special:NovaInstance until you see "ACTIVE"
- Make sure you can log in
- ssh my-new-instance.eqiad.wmflabs
- Install labs-vagrant via ops-puppet role
- Actions > configure on right side of your instance's row on
- Enable
role::labs::vagrant
checkbox - Submit
- ssh my-new-instance.eqiad.wmflabs
- sudo puppet agent --test --verbose
- Use labs-vagrant to setup your wiki
- sudo labs-vagrant list-roles
- sudo labs-vagrant enable-role some-role-name
- sudo labs-vagrant provision
- Get a cup of coffee or troll on irc while it runs for the first time :)
- Go to Special:NovaProxy, click 'Add proxy' and enter a DNS hostname, say <hostname>
- View your new wiki at http://<hostname>/wiki/
- Profit!