Sha256: 811489d4692ec43fc50cc9173b06957d3e7e4af2a98f8c40e87b3a956765605b
Contents?: true
Size: 1003 Bytes
Versions: 3
Compression:
Stored size: 1003 Bytes
Contents
# -*- mode: ruby -*- # vi: set ft=ruby : Vagrant.configure("2") do |config| # # fake a managed server by bringing up a virtualbox vm # config.vm.define :fake_managed_server do |fms_config| fms_config.vm.box = "chef/ubuntu-12.04-i386" fms_config.vm.network :private_network, ip: "192.168.40.35" end # # configure managed provider to connect to `fake_managed_server` # config.vm.define :my_server do |ms_config| ms_config.vm.box = "tknerr/managed-server-dummy" ms_config.omnibus.chef_version = "11.14.6" ms_config.berkshelf.enabled = true ms_config.vm.provider :managed do |managed_config, override| managed_config.server = "192.168.40.35" override.ssh.username = "vagrant" override.ssh.private_key_path = "#{ENV['HOME']}/.vagrant.d/insecure_private_key" end ms_config.vm.provision :chef_solo do |chef| chef.cookbooks_path = [ './cookbooks' ] chef.add_recipe "apt" chef.add_recipe "apache2" end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
vagrant-managed-servers-0.4.1 | Vagrantfile |
vagrant-managed-servers-0.4.0 | Vagrantfile |
vagrant-managed-servers-0.3.0 | Vagrantfile |