Skip to content

Instantly share code, notes, and snippets.

@PaulusTM
PaulusTM / gist:f5ab7f74c9394d918f32
Created January 27, 2015 11:45
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.
@PaulusTM
PaulusTM / -
Last active August 29, 2015 14:13
knife spork -VV debug info
INFO: Unable to access cache at /var/chef. Switching cache to /Users/dpaulus/.chef
INFO: Unable to access cache at /var/chef. Switching cache to /Users/dpaulus/.chef
INFO: Unable to access cache at /var/chef. Switching cache to /Users/dpaulus/.chef
INFO: Unable to access cache at /var/chef. Switching cache to /Users/dpaulus/.chef
INFO: Unable to access cache at /var/chef. Switching cache to /Users/dpaulus/.chef
INFO: Unable to access cache at /var/chef. Switching cache to /Users/dpaulus/.chef
INFO: Unable to access cache at /var/chef. Switching cache to /Users/dpaulus/.chef
INFO: Unable to access cache at /var/chef. Switching cache to /Users/dpaulus/.chef
INFO: Unable to access cache at /var/chef. Switching cache to /Users/dpaulus/.chef
INFO: Unable to access cache at /var/chef. Switching cache to /Users/dpaulus/.chef
Config Hash:
{}
Plugins:
KnifeSpork::Plugins::Campfire: disabled
KnifeSpork::Plugins::Eventinator: disabled
KnifeSpork::Plugins::Foodcritic: disabled
KnifeSpork::Plugins::Git: disabled
KnifeSpork::Plugins::Graphite: disabled
KnifeSpork::Plugins::Grove: disabled
@PaulusTM
PaulusTM / debug.log
Created January 9, 2015 16:28
Vagrant debug ssh error
INFO global: Vagrant version: 1.7.2
INFO global: Ruby version: 2.0.0
INFO global: RubyGems version: 2.0.14
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/bin/../embedded/gems/gems/vagrant-1.7.2/bin/vagrant"
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/bin/../embedded"
INFO global: VAGRANT_INSTALLER_VERSION="2"
INFO global: VAGRANT_DETECTED_OS="Darwin"
INFO global: VAGRANT_INSTALLER_ENV="1"
INFO global: VAGRANT_INTERNAL_BUNDLERIZED="1"
INFO global: VAGRANT_LOG="debug"

Keybase proof

I hereby claim:

  • I am paulustm on github.
  • I am dpaulus (https://keybase.io/dpaulus) on keybase.
  • I have a public key whose fingerprint is AF07 CA4D 9BC7 3CD3 F8C5 4EA1 7EA4 50B8 5E59 6B03

To claim this, I am signing this object:

@PaulusTM
PaulusTM / boot.sh
Created April 17, 2012 20:02
CentOS 6 chef bootstrap
#!/bin/bash
# Install by:
# curl -l <raw gist url> | bash
yum groupinstall -y "Development Tools"
yum install -y \
openssl-devel \
readline-devel \
curl-devel \
zlib-devel \
@PaulusTM
PaulusTM / boot.sh
Created April 17, 2012 20:00
CentOS 6 chef bootstrap
#!/bin/bash
yum update -y
yum groupinstall -y "Development Tools"
yum install -y \
openssl-devel \
readline-devel \
curl-devel \
zlib-devel \
@PaulusTM
PaulusTM / dev_setup.sh
Created January 31, 2012 15:00
Developer workspace setup
#!/usr/bin/env bash
echo "Checking for SSH key, generating one if it doesn't exist ..."
[[ -f ~/.ssh/id_rsa.pub ]] || ssh-keygen -t rsa
echo "Installing Homebrew, a good OS X package manager ..."
/usr/bin/ruby -e "$(curl -fsSL https://raw.github.com/gist/323731)"
brew update
echo "Installing ImageMagick, good for cropping and re-sizing images ..."
@PaulusTM
PaulusTM / passenger_status
Created October 27, 2011 08:37
passenger status for munin
#!/usr/bin/env ruby
# by Daniel Paulus | 27 - 10 - 2011
#
# put in /usr/share/munin/plugins/passenger_status
# chmod a+x /usr/share/munin/plugins/passenger_status
# ln -s /usr/share/munin/plugins/passenger_status /etc/munin/plugins/passenger_status
#
# add this to /etc/munin/plugin-conf.d/munin-node:
# [passenger_*]
# user root
@PaulusTM
PaulusTM / passenger_memory_stats
Created October 26, 2011 17:30
passenger memory stats for munin
#!/usr/bin/env ruby
# by Daniel Paulus | 27 - 10 - 2011
#
# put in /etc/munin/plugins/passenger_memory_stats
# chmod a+x /usr/share/munin/plugins/passenger_memory_stats
#
# add this to /etc/munin/plugin-conf.d/munin-node:
# [passenger_*]
# user root
# command ruby %c