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
| [2013-09-03T09:11:59+00:00] INFO: *** Chef 11.4.0 *** | |
| [2013-09-03T09:11:59+00:00] INFO: Setting the run_list to ["role[base]", "recipe[postgresql::server]", "recipe[postgresql::ruby]"] from JSON | |
| [2013-09-03T09:11:59+00:00] INFO: Run List is [role[base], recipe[postgresql::server], recipe[postgresql::ruby]] | |
| [2013-09-03T09:11:59+00:00] INFO: Run List expands to [build-essential, python, git, vim, postgresql::server, postgresql::ruby] | |
| [2013-09-03T09:11:59+00:00] INFO: Starting Chef Run for cook-3490 | |
| [2013-09-03T09:11:59+00:00] INFO: Running start handlers | |
| [2013-09-03T09:11:59+00:00] INFO: Start handlers complete. | |
| [2013-09-03T09:12:01+00:00] INFO: Processing package[postgresql-devel] action install (postgresql::client line 32) | |
| [2013-09-03T09:12:51+00:00] INFO: package[postgresql-devel] installing postgresql-devel-8.4.13-1.el6_3 from base repository | |
| [2013-09-03T09:13:21+00:00] INFO: Processing chef_gem[pg] action install (postgresql::ruby line 57) |
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
| mohit@chef-dev:~/knife-vcloud$ bundle install | |
| Fetching gem metadata from https://www.rubygems.org/........ | |
| Fetching gem metadata from https://www.rubygems.org/.. | |
| Resolving dependencies... | |
| Using activesupport (3.0.0) | |
| Using active_support (3.0.0) | |
| Using builder (3.2.2) | |
| Using gyoku (1.1.0) | |
| Using nokogiri (1.5.10) | |
| Using akami (1.2.0) |
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 reload dev_ws | |
| [dev_ws] Attempting graceful shutdown of VM... | |
| [dev_ws] Clearing any previously set forwarded ports... | |
| [dev_ws] Creating shared folders metadata... | |
| [dev_ws] Clearing any previously set network interfaces... | |
| [dev_ws] Preparing network interfaces based on configuration... | |
| [dev_ws] Forwarding ports... | |
| [dev_ws] -- 22 => 2222 (adapter 1) | |
| [dev_ws] -- 22 => 2200 (adapter 1) |
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
| # -*- mode: ruby -*- | |
| # vi: set ft=ruby : | |
| Vagrant::Config.run do |config| | |
| config.vm.box = "precise64" | |
| config.vm.box_url = "http://files.vagrantup.com/precise64.box" | |
| config.vm.forward_port 80, 4567 | |
| config.vm.host_name = "wordpress.ms-local.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
| [mohit@ms-dev-box1 vagrant-hp-test]$ ms up --provider=hp | |
| Bringing machine 'default' up with 'hp' provider... | |
| [default] Warning! The HP provider doesn't support any of the Vagrant | |
| high-level network configurations (`config.vm.network`). They | |
| will be silently ignored. | |
| [default] Finding flavor for server... | |
| [default] Finding image for server... | |
| [default] Launching a server with the following settings... | |
| [default] -- Flavor: standard.xsmall | |
| [default] -- Image: Ubuntu Precise 12.04 LTS Server 64-bit 20121026 (b) |
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
| # Neutron | |
| # To use nova-network, comment out the following | |
| PRIVATE_NETWORK_NAME=net1 | |
| PUBLIC_NETWORK_NAME=ext_net | |
| Q_PLUGIN=ml2 | |
| disable_service n-net | |
| enable_service neutron q-svc q-agt | |
| enable_service q-dhcp | |
| enable_service q-l3 | |
| enable_service q-meta |
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
| # Credentials | |
| ADMIN_PASSWORD=devstack | |
| MYSQL_PASSWORD=devstack | |
| RABBIT_PASSWORD=devstack | |
| SERVICE_PASSWORD=devstack | |
| SERVICE_TOKEN=token | |
| # Services | |
| disable_service n-net | |
| enable_service q-svc |
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
| On Ubuntu 14.04 I performed the following to get up and running again | |
| Remove latest version 4 of libgecode-dev if you have it installed (it is not compatible with dep_selector 1.0.3) | |
| sudo apt-get remove libgecode-dev | |
| Download and install version 3 and it's dependencies from the 13.10 repos | |
| http://packages.ubuntu.com/saucy/amd64/libgecodeflatzinc32/download | |
| http://packages.ubuntu.com/saucy/amd64/libgecodegist32/download | |
| http://packages.ubuntu.com/saucy/amd64/libgecode32/download | |
| http://packages.ubuntu.com/saucy/amd64/libgecode-dev/download |
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
| export NOKOGIRI_USE_SYSTEM_LIBRARIES=true | |
| sudo apt-get install libxslt-dev libxml2-dev libxml2 |
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
| # Rake task to launch multiple Resque workers in development/production with simple management included | |
| require 'resque/tasks' # Require Resque tasks | |
| namespace :workers do | |
| # = $ rake workers:start | |
| # | |
| # Launch multiple Resque workers with the Rails environment loaded, | |
| # so they have access to your models, etc. |