Skip to content

Instantly share code, notes, and snippets.

@PaulusTM
Created January 27, 2015 11:45
Show Gist options
  • Save PaulusTM/f5ab7f74c9394d918f32 to your computer and use it in GitHub Desktop.
Save PaulusTM/f5ab7f74c9394d918f32 to your computer and use it in GitHub Desktop.
Chef server on Amazon Linux stacktrace
Recipe: private-chef::add_ons_remote
* yum_repository[chef-stable] action createRecipe: <Dynamically Defined Resource>
* template[/etc/yum.repos.d/chef-stable.repo] action create
- create new file /etc/yum.repos.d/chef-stable.repo
- update content in file /etc/yum.repos.d/chef-stable.repo from none to 8d23f9
--- /etc/yum.repos.d/chef-stable.repo 2015-01-27 10:31:55.732801314 +0000
+++ /tmp/chef-rendered-template20150127-3095-182oldv 2015-01-27 10:31:55.732801314 +0000
@@ -1 +1,12 @@
+# This file was generated by Chef
+# Do NOT modify this file by hand.
+
+[chef-stable]
+name=Chef Stable Repo
+baseurl=https://packagecloud.io/chef/stable/el/2014/$basearch
+enabled=1
+gpgcheck=1
+gpgkey=file:///opt/opscode/embedded/keys/packages-chef-io-public.key
+sslcacert=/etc/pki/tls/certs/ca-bundle.crt
+sslverify=true
- change mode from '' to '0644'
* execute[yum-makecache-chef-stable] action run
================================================================================
Error executing action `run` on resource 'execute[yum-makecache-chef-stable]'
================================================================================
Mixlib::ShellOut::ShellCommandFailed
------------------------------------
Expected process to exit with [0], but received '1'
---- Begin output of yum -q makecache --disablerepo=* --enablerepo=chef-stable ----
STDOUT:
STDERR: https://packagecloud.io/chef/stable/el/2014/x86_64/repodata/repomd.xml: [Errno 14] PYCURL ERROR 22 - "The requested URL returned error: 500 Internal Server Error"
Trying other mirror.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment