Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add Vagrant setup for mirrormanager2 #191

Merged
merged 1 commit into from Mar 15, 2017

Conversation

ryanlerch
Copy link
Contributor

No description provided.

Quickly start hacking on mirrormanager2 using the vagrant setup that is included
in the repo is super simple.

First, install Ansible, Vagrant and the vagrant-libvirt plugin from the official Fedora
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also add vagrant-sshfs?


Vagrant.configure(2) do |config|
config.vm.box_url = "https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-23-20151030.x86_64.vagrant-libvirt.box"
config.vm.box = "f23-cloud-libvirt"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Would it be an idea to use f24?

Vagrant.configure(2) do |config|
config.vm.box_url = "https://download.fedoraproject.org/pub/fedora/linux/releases/23/Cloud/x86_64/Images/Fedora-Cloud-Base-Vagrant-23-20151030.x86_64.vagrant-libvirt.box"
config.vm.box = "f23-cloud-libvirt"
config.vm.network "forwarded_port", guest: 5000, host: 5001
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should these be separate?

- hosts: all
become: true
become_method: sudo
vars:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Empty vars?

- dstat
- htop
- screen
- tmux
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Both screen and tmux?


First, make a copy of the Vagrantfile example::

$ cp Vagrantfile.example Vagrantfile
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we don't edit the vagrantfile, what is the advantage of not shipping it as vagrantfile?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the idea here is to open it up if people do want to change the vagrant file, they can -- depending on if they want different network settings etc.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok

@ryanlerch
Copy link
Contributor Author

I think we also need to figure out a way to create some sample data here, or import a datadump from Prod (if its not too large that is) or a subset of it.

@pypingou
Copy link
Member

The database in prod contains some confidential information and thus we can't use it for dev. Generating a subset of it would likely end up being as much work as generating some fake/sample data.

@ryanlerch ryanlerch merged commit bf89f31 into fedora-infra:master Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants