This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [[ ! -z ${rvm_gemset_name} ]] && { | |
| [[ -s "${rvm_gemset_name}.gems" ]] && { | |
| echo "Importing gemset gems from file : [${rvm_gemset_name}.gems]" | |
| rvm gemset import ${rvm_gemset_name}.gems | |
| } | |
| } | |
| [ "$(which bundle)" == "" ] && { gem install bundle; } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| service "mysql" do | |
| # other stuff... | |
| provider Chef::Provider::Service::Upstart | |
| end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pmehta@nightscape [PF]{30} ~/workspace/git-sites.d/deployment $ be vagrant up chef_server_builder | |
| [chef_server_builder] Creating VM 'chef_server_builder' | |
| [chef_server_builder] Importing base VM (/home/pmehta/.vagrant/boxes/lucid_base/box.ovf)... | |
| [chef_server_builder] Persisting the VM UUID (559352c5-18ad-4680-89fe-e67788098b22)... | |
| [chef_server_builder] Matching MAC addresses... | |
| [chef_server_builder] Running any VM customizations... | |
| /home/pmehta/.rvm/gems/ruby-1.9.2-head@run/bundler/gems/virtualbox-12b7f37862175e78d833352593230bc374c3b9fc-master/lib/virtualbox/com/implementer/ffi.rb:95:in `call_and_check': Error in API call to save_settings: 2147500037 (VirtualBox::Exceptions::FFIException) | |
| from /home/pmehta/.rvm/gems/ruby-1.9.2-head@run/bundler/gems/virtualbox-12b7f37862175e78d833352593230bc374c3b9fc-master/lib/virtualbox/com/implementer/ffi.rb:69:in `call_vtbl_function' | |
| from /home/pmehta/.rvm/gems/ruby-1.9.2-head@run/bundler/gems/virtualbox-12b7f37862175e78d833352593230bc374c3b9fc-master/lib/virtualbox/com |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| . | |
| |-- compreg.dat | |
| |-- HardDisks | |
| | |-- lucid_base.vdi | |
| | `-- lucid_base.vmdk | |
| |-- Machines | |
| | |-- Chef_Builder | |
| | | `-- lucid_base_1.xml-prev | |
| | |-- lucid_base | |
| | | |-- Logs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Vagrant::Config.run do |config| | |
| # All Vagrant configuration is done here. For a detailed explanation | |
| # and listing of configuration options, please view the documentation | |
| # online. | |
| # Gui mode option for debugging use | |
| config.vm.boot_mode = "gui" | |
| ## VM Definitions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Vagrant::Config.run do |config| | |
| # All Vagrant configuration is done here. For a detailed explanation | |
| # and listing of configuration options, please view the documentation | |
| # online. | |
| # Gui mode option for debugging use | |
| config.vm.boot_mode = "gui" | |
| config.vm.box = "lucid32" | |
| config.vm.network("10.0.10.100") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Vagrant::Config.run do |config| | |
| # All Vagrant configuration is done here. For a detailed explanation | |
| # and listing of configuration options, please view the documentation | |
| # online. | |
| # Gui mode option for debugging use | |
| config.vm.boot_mode = "gui" | |
| config.vm.box = "lucid32" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pmehta@nightscape [PF]{19} ~/workspace/git-sites.d/deployment $ bundle exec vagrant up | |
| [default] Importing base box 'lucid32'... | |
| [default] Matching MAC address for NAT networking... | |
| [default] Clearing any previously set forwarded ports... | |
| [default] Forwarding ports... | |
| [default] -- ssh: 22 => 2222 (adapter 1) | |
| [default] Creating shared folders metadata... | |
| [default] Booting VM... | |
| [default] Waiting for VM to boot. This can take a few minutes. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [default] VM 'default' already created. Booting if its not already running... | |
| [default] Deleting any previously set forwarded ports... | |
| [default] Forwarding ports... | |
| [default] Forwarding "ssh": 22 on adapter #1 => 2222 | |
| [default] Forwarding "http": 80 on adapter #1 => 28080 | |
| [default] Clearing previously set shared folders... | |
| [default] Creating shared folders metadata... | |
| [default] Booting VM... | |
| /home/pmehta/.rvm/gems/ruby-1.9.2-p0@bushbaby3/gems/virtualbox-0.7.5/lib/virtualbox/com/implementer/ffi.rb:95:in `call_and_check': Error in API call to open_remote_session: 2147942487 (VirtualBox::Exceptions::FFIException) | |
| from /home/pmehta/.rvm/gems/ruby-1.9.2-p0@bushbaby3/gems/virtualbox-0.7.5/lib/virtualbox/com/implementer/ffi.rb:69:in `call_vtbl_function' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| [ -f /etc/apt/apt.conf.d/01apt-cacher-ng-proxy ] || echo "Acquire::http { Proxy 'http://10.0.2.2:3142'; };" > /etc/apt/apt.conf.d/01apt-cacher-ng-proxy |