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
Conversation
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 |
There was a problem hiding this comment.
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" |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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: |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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
?
There was a problem hiding this comment.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ok
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. |
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. |
No description provided.