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
| if Gem.available?('tinder') | |
| require 'tinder' | |
| campfire = Tinder::Campfire.new '<SUBDOMAIN>', :token => '<TOKEN>' | |
| room = campfire.find_room_by_name '<ROOMNAME>' | |
| end | |
| # Put this wherever you want chef to speak: | |
| if Gem.available?('tinder') | |
| room.speak('<HELLOWORLD>') | |
| 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]{24} ~/workspace/git-sites.d/deployment $ vagrant status | |
| ===================================================================== | |
| This environment represents multiple VMs. The VMs will be listed | |
| below with a short status. For more detailed information about a | |
| VM, run `vagrant status NAME`. | |
| chef_server_builder powered_off | |
| chef_client_builder powered_off | |
| chef_server powered_off | |
| mr_base powered_off |
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" |
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]{125} ~/workspace/git-sites.d/deployment $ VBoxManage guestproperty enumerate lucid_base_3 | |
| Oracle VM VirtualBox Command Line Management Interface Version 3.2.4 | |
| (C) 2005-2010 Oracle Corporation | |
| All rights reserved. | |
| Name: /VirtualBox/HostGuest/SysprepExec, value: , timestamp: 1276633492757570000, flags: TRANSIENT, RDONLYGUEST | |
| Name: /VirtualBox/HostGuest/SysprepArgs, value: , timestamp: 1276633492757643000, flags: TRANSIENT, RDONLYGUEST | |
| Name: /VirtualBox/GuestInfo/OS/Product, value: Linux, timestamp: 1276633511386034000, flags: | |
| Name: /VirtualBox/GuestInfo/OS/Release, value: 2.6.32-22-server, timestamp: 1276633511386486000, flags: | |
| Name: /VirtualBox/GuestInfo/OS/Version, value: #36-Ubuntu SMP Thu Jun 3 20:38:33 UTC 2010, timestamp: 1276633511386773000, flags: |
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
| test |
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
| 00:00:01.312 VMSetError: /Users/vbox/tinderbox/mac-rel/src/VBox/Devices/Network/DrvNAT.cpp(1083) int drvNATConstruct(PDMDRVINS*, CFGMNODE*, uint32_t); rc=VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES | |
| 00:00:01.312 VMSetError: Unknown NAT configuration option, only supports PassDomain, TFTPPrefix, BootFile and Network | |
| 00:00:01.312 PDM: Failed to construct 'pcnet'/0! VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES (-2805) - A driver encountered an unknown configuration value. This means that the driver is potentially misconfigured and the driver construction failed because of this. | |
| 00:00:01.405 VMSetError: /Users/vbox/tinderbox/mac-rel/src/VBox/VMM/VM.cpp(316) int VMR3Create(uint32_t, void (*)(VM*, void*, int, const char*, unsigned int, const char*, const char*, char*), void*, int (*)(VM*, void*), void*, VM**); rc=VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES | |
| 00:00:01.405 VMSetError: Unknown error creating VM | |
| 00:00:01.405 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={6375231a-c17c-464b-92cb-ae9e128d71c3} aComponent={Console} aText={Unknown |
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]{24} ~/workspace/git-sync.d/xbmc $ rvm --create 187@vagranttest | |
| pmehta@nightscape [PF]{25} ~/workspace/git-sync.d/xbmc $ gem install vagrant | |
| Building native extensions. This could take a while... | |
| Building native extensions. This could take a while... | |
| Successfully installed ffi-0.6.3 | |
| Successfully installed virtualbox-0.7.2 | |
| Successfully installed net-ssh-2.0.23 | |
| Successfully installed net-scp-1.0.2 | |
| Successfully installed json-1.4.3 | |
| Successfully installed archive-tar-minitar-0.5.2 |
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]{32} ~/Templates $ vagrant up | |
| [default] Creating VM 'default' | |
| [default] Importing base VM (/home/pmehta/.vagrant/boxes/lucid_base/box.ovf)... | |
| [progress] default: 0%===================================================================== | |
| Vagrant experienced an error! | |
| The VM import failed! Try running `VBoxManage import` on the box file | |
| manually for more verbose error output. | |
| ===================================================================== | |
| pmehta@nightscape [PF]{33} ~/Templates $ vagrant up |
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
| require 'rubygems' | |
| require 'merb-core' | |
| Merb::Config.setup(:merb_root => File.expand_path(File.dirname(__FILE__)), | |
| :environment => ENV['RACK_ENV'], :init_file => File.dirname(__FILE__) / "config/init.rb") | |
| Merb.environment = "production" #Merb::Config[:environment] | |
| Merb.root = Merb::Config[:merb_root] | |
| Merb::BootLoader.run | |
| # Uncomment if your app is mounted at a suburi |
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
| ruby_ver=ruby-1.8.7-p249 | |
| gemset_name=vagrant | |
| ## The rest is auto... | |
| cur_dir=$(basename $(pwd)) | |
| rvm --create use ${ruby_ver}@${gemset_name:-cur_dir} > /dev/null | |
| [[ ! -z ${rvm_gemset_name} ]] && { |