Skip to content

Instantly share code, notes, and snippets.

@mchesnut
Created July 16, 2013 22:19
Show Gist options
  • Save mchesnut/6015696 to your computer and use it in GitHub Desktop.
Save mchesnut/6015696 to your computer and use it in GitHub Desktop.
Using the stock bprobe_cookbook from https://github.com/boundary/bprobe_cookbook.git
[2013-07-16T22:15:41+00:00] INFO: Processing apt_repository[boundary] action add (bprobe::dependencies line 60)
================================================================================
Error executing action `add` on resource 'apt_repository[boundary]'
================================================================================
RuntimeError
------------
The repository file to create is nil, cannot continue.
Cookbook Trace:
---------------
/var/chef/cache/cookbooks/apt/providers/repository.rb:127:in `block in class_from_file'
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/bprobe/recipes/dependencies.rb
60: apt_repository "boundary" do
61: uri "https://apt.boundary.com/ubuntu/"
62: distribution node[:lsb][:codename]
63: components ["universe"]
64: key "https://apt.boundary.com/APT-GPG-KEY-Boundary"
65: action :add
66: end
67: end
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/bprobe/recipes/dependencies.rb:60:in `from_file'
apt_repository("boundary") do
action [:add]
retries 0
retry_delay 2
cookbook_name "bprobe"
recipe_name "dependencies"
uri "https://apt.boundary.com/ubuntu/"
distribution "precise"
components ["universe"]
key "https://apt.boundary.com/APT-GPG-KEY-Boundary"
end
[2013-07-16T22:15:41+00:00] ERROR: Running exception handlers
[2013-07-16T22:15:41+00:00] FATAL: Saving node information to /var/chef/cache/failed-run-data.json
[2013-07-16T22:15:41+00:00] ERROR: Exception handlers complete
[2013-07-16T22:15:41+00:00] FATAL: Stacktrace dumped to /var/chef/cache/chef-stacktrace.out
[2013-07-16T22:15:41+00:00] FATAL: RuntimeError: apt_repository[boundary] (bprobe::dependencies line 60) had an error: RuntimeError: The repository file to create is nil, cannot continue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment