public
Last active

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
[2012-12-29T10:15:44+01:00] WARN: remote_file is deprecated for fetching files from cookbooks. Use cookbook_file instead
[2012-12-29T10:15:44+01:00] WARN: From remote_file[/var/lib/postgresql/9.2/main/server.crt] on /tmp/chef-solo/cookbooks/postgresql/recipes/server_debian.rb:84:in `block in from_file'
 
================================================================================
Error executing action `create` on resource 'remote_file[/var/lib/postgresql/9.2/main/server.crt]'
================================================================================
 
Chef::Exceptions::FileNotFound
------------------------------
Cookbook 'postgresql' (1.0.1) does not contain a file at any of these locations:
files/ubuntu-10.04//tmp/chef-solo/files/postgresql_keys/server.crt
files/ubuntu//tmp/chef-solo/files/postgresql_keys/server.crt
files/default//tmp/chef-solo/files/postgresql_keys/server.crt
 
Resource Declaration:
---------------------
# In /tmp/chef-solo/cookbooks/postgresql/recipes/server_debian.rb
 
84: remote_file target_file do
85: source file_path
86: owner "postgres"
87: group "postgres"
88: end
89: end
 
Compiled Resource:
------------------
# Declared in /tmp/chef-solo/cookbooks/postgresql/recipes/server_debian.rb:84:in `block in from_file'
 
remote_file("/var/lib/postgresql/9.2/main/server.crt") do
provider Chef::Provider::RemoteFile
action "create"
retries 0
retry_delay 2
path "/var/lib/postgresql/9.2/main/server.crt"
backup 5
source "/tmp/chef-solo/files/postgresql_keys/server.crt"
cookbook_name :postgresql
recipe_name "server_debian"
owner "postgres"
group "postgres"
end
 
[2012-12-29T10:15:44+01:00] ERROR: Running exception handlers
[2012-12-29T10:15:44+01:00] ERROR: Exception handlers complete
[2012-12-29T10:15:44+01:00] FATAL: Stacktrace dumped to /tmp/chef-solo/chef-stacktrace.out
[2012-12-29T10:15:44+01:00] FATAL: Chef::Exceptions::FileNotFound: remote_file[/var/lib/postgresql/9.2/main/server.crt] (postgresql::server_debian line 84) had an error: Chef::Exceptions::FileNotFound: Cookbook 'postgresql' (1.0.1) does not contain a file at any of these locations:
files/ubuntu-10.04//tmp/chef-solo/files/postgresql_keys/server.crt
files/ubuntu//tmp/chef-solo/files/postgresql_keys/server.crt
files/default//tmp/chef-solo/files/postgresql_keys/server.crt

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.