Created
April 15, 2013 20:22
-
-
Save argent-smith/5391009 to your computer and use it in GitHub Desktop.
Mongodb chef cookbook problem
This file contains 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-04-15T20:17:15+00:00] INFO: Processing execute[apt-get update] action nothing (mongodb::10gen_repo line 28) | |
[2013-04-15T20:17:15+00:00] INFO: Processing apt_repository[10gen] action add (mongodb::10gen_repo line 32) | |
================================================================================ | |
Error executing action `add` on resource 'apt_repository[10gen]' | |
================================================================================ | |
RuntimeError | |
------------ | |
The repository file to create is nil, cannot continue. | |
Cookbook Trace: | |
--------------- | |
/tmp/vagrant-chef-1/chef-solo-1/cookbooks/apt/providers/repository.rb:127:in `class_from_file' | |
Resource Declaration: | |
--------------------- | |
# In /tmp/vagrant-chef-1/chef-solo-1/cookbooks/mongodb/recipes/10gen_repo.rb | |
31: | |
32: apt_repository "10gen" do | |
33: uri "http://downloads-distro.mongodb.org/repo/#{node[:mongodb][:apt_repo]}" | |
34: distribution "dist" | |
35: components ["10gen"] | |
36: keyserver "hkp://keyserver.ubuntu.com:80" | |
37: key "7F0CEB10" | |
38: action :add | |
39: notifies :run, "execute[apt-get update]", :immediately | |
40: end | |
41: | |
Compiled Resource: | |
------------------ | |
# Declared in /tmp/vagrant-chef-1/chef-solo-1/cookbooks/mongodb/recipes/10gen_repo.rb:32:in `from_file' | |
apt_repository("10gen") do | |
distribution "dist" | |
uri "http://downloads-distro.mongodb.org/repo/debian-sysvinit" | |
retry_delay 2 | |
retries 0 | |
keyserver "hkp://keyserver.ubuntu.com:80" | |
recipe_name "10gen_repo" | |
action [:add] | |
components ["10gen"] | |
cookbook_name :mongodb | |
key "7F0CEB10" | |
end | |
[2013-04-15T20:17:15+00:00] ERROR: Running exception handlers | |
[2013-04-15T20:17:15+00:00] ERROR: Exception handlers complete | |
[2013-04-15T20:17:15+00:00] FATAL: Stacktrace dumped to /tmp/vagrant-chef-1/chef-stacktrace.out | |
[2013-04-15T20:17:15+00:00] FATAL: RuntimeError: apt_repository[10gen] (mongodb::10gen_repo line 32) 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
Did you ever find a solution to this issue?