Skip to content

Instantly share code, notes, and snippets.

@mikeyhill
mikeyhill / gist:eadb407027b3e2bd5833
Created June 25, 2015 22:22
Terraform Debug Log #2495
This file has been truncated, but you can view the full file.
2015/06/25 17:18:31 [INFO] Terraform version: 0.6.0 dev 73f9d2b5e54aabf394ff25864731a0fe852ffc72
2015/06/25 17:18:31 Detected home directory from env var: /Users/mikey
2015/06/25 17:18:31 [DEBUG] Discovered plugin: atlas = /Users/mikey/Projects/buyerquest/itops/go/bin/terraform-provider-atlas
2015/06/25 17:18:31 [DEBUG] Discovered plugin: aws = /Users/mikey/Projects/buyerquest/itops/go/bin/terraform-provider-aws
2015/06/25 17:18:31 [DEBUG] Discovered plugin: azure = /Users/mikey/Projects/buyerquest/itops/go/bin/terraform-provider-azure
2015/06/25 17:18:31 [DEBUG] Discovered plugin: cloudflare = /Users/mikey/Projects/buyerquest/itops/go/bin/terraform-provider-cloudflare
2015/06/25 17:18:31 [DEBUG] Discovered plugin: cloudstack = /Users/mikey/Projects/buyerquest/itops/go/bin/terraform-provider-cloudstack
2015/06/25 17:18:31 [DEBUG] Discovered plugin: consul = /Users/mikey/Projects/buyerquest/itops/go/bin/terraform-provider-consul
2015/06/25 17:18:31 [DEBUG] Discovered plugin: digitalocean = /Users/mikey/Project
debug2: key_type_from_name: unknown key type '-----BEGIN'
debug3: key_read: missing keytype
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
debug3: key_read: missing whitespace
@mikeyhill
mikeyhill / fabfile.py
Last active August 29, 2015 14:21 — forked from valyagolev/fabfile.py
# http://unfoldthat.com/2012/06/02/quick-deploy-chef-solo-fabric.html
from fabric.api import settings, run, sudo, reboot, put, cd, env
AWS_ACCESS_KEY = '...'
AWS_SECRET_KEY = '...'
AWS_KEYPAIR_NAME = '...'
AWS_SECURITY_GROUPS = ['default']
@mikeyhill
mikeyhill / gist:2d32dcd51097b89467e2
Created April 12, 2015 09:08
Net::HTTPServerException: 404 "Not Found"
Generated at 2015-04-12 04:00:08 -0500
Net::HTTPServerException: machine[dev-webnode] ((chef-apply cookbook)::(chef-apply recipe) line 31) had an error: Net::HTTPServerException: chef_node[dev-webnode] (basic_chef_client::block line 57) had an error: Net::HTTPServerException: 404 "Not Found"
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/net/http/response.rb:119:in `error!'
/Library/Ruby/Gems/2.0.0/gems/chef-12.2.1/lib/chef/http.rb:144:in `request'
/Library/Ruby/Gems/2.0.0/gems/chef-12.2.1/lib/chef/http.rb:125:in `post'
/Library/Ruby/Gems/2.0.0/gems/cheffish-1.1.2/lib/chef/provider/chef_node.rb:24:in `block (2 levels) in <class:ChefNode>'
/Library/Ruby/Gems/2.0.0/gems/chef-12.2.1/lib/chef/mixin/why_run.rb:52:in `call'
/Library/Ruby/Gems/2.0.0/gems/chef-12.2.1/lib/chef/mixin/why_run.rb:52:in `add_action'
/Library/Ruby/Gems/2.0.0/gems/chef-12.2.1/lib/chef/provider.rb:180:in `converge_by'
/Library/Ruby/Gems/2.0.0/gems/cheffish-1.1.2/lib/chef/provider/chef_node.rb:23:in `block in <class
1 x ASRock Z68 PROFESSIONAL GEN3 LGA 1155 Intel Z68 HDMI SATA 6Gb/s USB 3.0 ATX Intel Motherboard
1 x Crucial M4 CT128M4SSD2 2.5" 128GB SATA III MLC Internal Solid State Drive (SSD)
1 x Intel Core i7-2600K Sandy Bridge 3.4GHz (3.8GHz Turbo Boost) LGA 1155 95W Quad-Core Desktop Processor BX80623I72600K
1 x G.SKILL Ripjaws Series 16GB (4 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) Desktop Memory Model F3-12800CL9Q-16GBRL
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
@mikeyhill
mikeyhill / sql query
Created August 27, 2011 20:41
slow query
SELECT p.name as procedure_name, addr.zip as zip,
s.procedure_id as proc, s.id
FROM slots AS s, procedures AS p, organizations AS o, addresses_organizations as au, addresses as addr
WHERE s.provider_id = o.id
AND s.procedure_id = p.id
AND au.organization_id = o.id
AND addr.id = au.address_id
AND addr.zip LIKE '".$zipcode."%'
ORDER BY random()
LIMIT 5
@mikeyhill
mikeyhill / php.ini
Created August 27, 2011 04:02
php.ini
[PHP]
;;;;;;;;;;;;;;;;;;;
; About php.ini ;
;;;;;;;;;;;;;;;;;;;
; This file controls many aspects of PHP's behavior. In order for PHP to
; read it, it must be named 'php.ini'. PHP looks for it in the current
; working directory, in the path designated by the environment variable
; PHPRC, and in the path that was defined in compile time (in that order).
; Under Windows, the compile-time path is the Windows directory. The