Skip to content

Instantly share code, notes, and snippets.

@poliphox
Created April 26, 2014 00:50
Show Gist options
  • Save poliphox/11308509 to your computer and use it in GitHub Desktop.
Save poliphox/11308509 to your computer and use it in GitHub Desktop.
[2014-04-26T00:43:25+00:00] INFO: HTTP Request Returned 403 Forbidden:
================================================================================
Error executing action `create` on resource 'template[/etc/postgresql/9.3/main/environment]'
================================================================================
Net::HTTPServerException
------------------------
403 "Forbidden"
Resource Declaration:
---------------------
# In /var/chef/cache/cookbooks/postgresql/recipes/configuration.rb
16: template "/etc/postgresql/#{pg_version}/main/environment" do
17: source "environment.erb"
18: owner "postgres"
19: group "postgres"
20: mode "0644"
21: notifies :restart, "service[postgresql]"
22: end
23:
Compiled Resource:
------------------
# Declared in /var/chef/cache/cookbooks/postgresql/recipes/configuration.rb:16:in `from_file'
template("/etc/postgresql/9.3/main/environment") do
provider Chef::Provider::Template
action "create"
retries 0
retry_delay 2
guard_interpreter :default
path "/etc/postgresql/9.3/main/environment"
backup 5
atomic_update true
source "environment.erb"
cookbook_name "postgresql"
recipe_name "configuration"
mode "0644"
owner "postgres"
group "postgres"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment