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
I see some deprecation warnings re: chef 11 | |
[2012-11-11T16:21:49+00:00] INFO: Running start handlers | |
[2012-11-11T16:21:49+00:00] INFO: Start handlers complete. | |
[2012-11-11T16:21:50+00:00] INFO: Application light-weight resource already initialized -- overriding! | |
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/resource.rb:768: warning: already initialized constant Application | |
[2012-11-11T16:21:50+00:00] WARN: Setting attributes without specifying a precedence is deprecated and will be | |
removed in Chef 11.0. To set attributes at normal precedence, change code like: | |
`node["key"] = "value"` # Not this | |
to: |
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
[2012-11-11T16:27:26+00:00] INFO: deploy_revision[myapp] linked shared paths into current release: | |
[2012-11-11T16:27:26+00:00] INFO: deploy_revision[myapp] made pre-migration symlinks | |
[2012-11-11T16:27:26+00:00] INFO: deploy_revision[myapp] set user to vagrant | |
[2012-11-11T16:27:26+00:00] INFO: deploy_revision[myapp] set group to vagrant | |
[2012-11-11T16:27:26+00:00] INFO: deploy_revision[myapp] linked release /var/www/releases/0465c9e08a9f73ba248bf814e9c816599e75dd95 into production at /var/www/current | |
[2012-11-11T16:27:26+00:00] INFO: deploy_revision[myapp] set user to vagrant | |
[2012-11-11T16:27:26+00:00] INFO: deploy_revision[myapp] set group to vagrant | |
[2012-11-11T16:27:26+00:00] INFO: Processing execute[/etc/init.d/myapp hup] action run (/vagrant/cookbooks/application/providers/default.rb line 147) | |
================================================================================ |
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@precise64:~$ sudo chef-solo -c /vagrant/solo.rb -j /vagrant/node.json | |
[2012-11-11T16:39:15+00:00] INFO: *** Chef 10.16.2 *** | |
[2012-11-11T16:39:15+00:00] INFO: Setting the run_list to ["recipe[apt]", "recipe[build-essential]", "recipe[openssl]", "recipe[mysql::server]", "recipe[myapp]"] from JSON | |
[2012-11-11T16:39:15+00:00] INFO: Run List is [recipe[apt], recipe[build-essential], recipe[openssl], recipe[mysql::server], recipe[myapp]] | |
[2012-11-11T16:39:15+00:00] INFO: Run List expands to [apt, build-essential, openssl, mysql::server, myapp] | |
[2012-11-11T16:39:15+00:00] INFO: Starting Chef Run for precise64 | |
[2012-11-11T16:39:15+00:00] INFO: Running start handlers | |
[2012-11-11T16:39:15+00:00] INFO: Start handlers complete. | |
[2012-11-11T16:39:15+00:00] INFO: Application light-weight resource already initialized -- overriding! | |
/opt/vagrant_ruby/lib/ruby/gems/1.8/gems/chef-10.16.2/bin/../lib/chef/resource.rb:768: warning: already initialized constant Application |
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
➜ railsmachine git:(master) vagrant ssh | |
Welcome to Ubuntu 12.04 LTS (GNU/Linux 3.2.0-23-generic x86_64) | |
* Documentation: https://help.ubuntu.com/ | |
Welcome to your Vagrant-built virtual machine. | |
Last login: Sun Nov 11 19:03:43 2012 from 10.0.2.2 | |
vagrant@precise64:~$ sudo chef-solo -c /vagrant/solo.rb -j /vagrant/node.json | |
[2012-11-11T19:11:33+00:00] INFO: *** Chef 10.16.2 *** | |
[2012-11-11T19:11:33+00:00] INFO: Setting the run_list to ["recipe[apt]", "recipe[build-essential]", "recipe[openssl]", "recipe[mysql::server]", "recipe[myapp]"] from JSON | |
[2012-11-11T19:11:33+00:00] INFO: Run List is [recipe[apt], recipe[build-essential], recipe[openssl], recipe[mysql::server], recipe[myapp]] |
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
➜ coolapp git:(master) ✗ vagrant up | |
[default] Importing base box 'precise64'... | |
[default] The guest additions on this VM do not match the install version of | |
VirtualBox! This may cause things such as forwarded ports, shared | |
folders, and more to not work properly. If any of those things fail on | |
this machine, please update the guest additions and repackage the | |
box. | |
Guest Additions Version: 4.2.0 | |
VirtualBox Version: 4.2.4 |
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
➜ testcbs git:(master) ✗ ey-local up | |
[ey-local] Downloading with Vagrant::Downloaders::HTTP... | |
[ey-local] Downloading box: https://s3.amazonaws.com/ey-local-images/ey-local-gentoo12.box | |
[ey-local] Extracting box... | |
[ey-local] Verifying box... | |
[ey-local] Cleaning up downloaded box... | |
A `Vagrantfile` has been placed in this directory. You are now | |
ready to `ey-local up` your first virtual environment! Please read | |
the comments in the Vagrantfile as well as documentation on | |
`vagrantup.com` for more information on using Vagrant. |
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
# SQLite version 3.x | |
# gem install sqlite3 | |
# | |
# Ensure the SQLite 3 gem is defined in your Gemfile | |
# gem 'sqlite3' | |
development: | |
adapter: sqlite3 | |
database: db/development.sqlite3 | |
pool: 5 |
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
# | |
# Author:: Adam Jacob (<[email protected]>) | |
# Author:: Seth Chisamore (<[email protected]>) | |
# Copyright:: Copyright (c) 2010-2011 Opscode, Inc. | |
# License:: Apache License, Version 2.0 | |
# | |
# Licensed under the Apache License, Version 2.0 (the "License"); | |
# you may not use this file except in compliance with the License. | |
# You may obtain a copy of the License at | |
# |
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
import os, sys | |
import site | |
# Remember original sys.path. | |
prev_sys_path = list(sys.path) | |
# we add currently directory to path and change to it | |
pwd = os.path.dirname(os.path.abspath(__file__)) | |
os.chdir(pwd) | |
sys.path = [pwd] + sys.path |
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
import os, sys | |
import site | |
# Remember original sys.path. | |
prev_sys_path = list(sys.path) | |
# we add currently directory to path and change to it | |
pwd = os.path.dirname(os.path.abspath(__file__)) | |
os.chdir(pwd) | |
sys.path = [pwd] + sys.path |