Skip to content

Instantly share code, notes, and snippets.

@pbruna
Created December 2, 2016 15:04
Show Gist options
  • Save pbruna/5132194ccf806283fa84c3fcad50eb9a to your computer and use it in GitHub Desktop.
Save pbruna/5132194ccf806283fa84c3fcad50eb9a to your computer and use it in GitHub Desktop.
Vagrantfile for Zimbra
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure(2) do |config|
# Every Vagrant development environment requires a box. You can search for
# boxes at https://atlas.hashicorp.com/search.
config.vm.box = "bento/centos-7.2"
config.ssh.insert_key = false
# Compartir directorio de desarollo de Zimlets
config.vm.synced_folder "zimbra-license-alert-zimlet/src/", "/opt/zimbra/zimlets-deployed/_dev/com_zboxapp_license_alert/"
config.vm.provision "ansible" do |ansible|
ansible.playbook = 'vagrant/provision/playbook.yml'
ansible.sudo = true
end
config.vm.network 'private_network', ip: '192.168.50.11'
config.vm.hostname = 'zimbra.zboxapp.dev'
config.vm.network 'forwarded_port', guest: 7071, host: 7071
config.vm.network 'forwarded_port', guest: 7443, host: 7443
config.vm.network 'forwarded_port', guest: 7080, host: 7080
config.vm.provider 'virtualbox' do |v|
v.name = 'zimbra-license-alert-zimlet'
v.memory = 2048
v.cpus = 2
end
config.vm.provider 'parallels' do |v|
v.update_guest_tools = true
v.name = 'zimbra-license-alert-zimlet'
v.memory = 2048
v.cpus = 2
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment