Skip to content

Instantly share code, notes, and snippets.

View elijah's full-sized avatar
🦊

Elijah Wright elijah

🦊
View GitHub Profile
#!python
"""Bootstrap distribute installation
If you want to use setuptools in your package's setup.py, just include this
file in the same directory with it, and add this to the top of your setup.py::
from distribute_setup import use_setuptools
use_setuptools()
If you want to require a specific version of setuptools, set a download
@elijah
elijah / stacktrace
Created March 21, 2018 20:25
stacktrace encountered on running latest chef docker cookbook
Generated at 2018-03-21 15:15:44 -0500
NoMethodError: undefined method `v' for DockerCookbook::DockerContainer
/var/lib/gems/2.3.0/gems/chef-13.6.4/lib/chef/resource.rb:1297:in `method_missing'
/home/elw/chef-solo/local-mode-cache/cache/cookbooks/docker/libraries/docker_container.rb:46:in `block in <class:DockerContainer>'
/var/lib/gems/2.3.0/gems/chef-13.6.4/lib/chef/property.rb:648:in `instance_exec'
/var/lib/gems/2.3.0/gems/chef-13.6.4/lib/chef/property.rb:648:in `exec_in_resource'
/var/lib/gems/2.3.0/gems/chef-13.6.4/lib/chef/property.rb:447:in `coerce'
/var/lib/gems/2.3.0/gems/chef-13.6.4/lib/chef/property.rb:676:in `coerce_and_validate'
/var/lib/gems/2.3.0/gems/chef-13.6.4/lib/chef/property.rb:658:in `input_to_stored_value'
/var/lib/gems/2.3.0/gems/chef-13.6.4/lib/chef/property.rb:350:in `get'