Skip to content

Instantly share code, notes, and snippets.

View chriseckhardt's full-sized avatar

Christopher Eckhardt chriseckhardt

View GitHub Profile
@chriseckhardt
chriseckhardt / gist:8100057
Last active January 1, 2016 05:39
logstashy stuff
# sender:/etc/logstash/shipper.conf
input {
stdin {
debug => true
type => "host-agent-input"
}
}
output {
rabbitmq {
# Start the old vagrant
$ vagrant init centos-6.3
$ vagrant up
# You should see a message like:
# [default] The guest additions on this VM do not match the install version of
# VirtualBox! This may cause things such as forwarded ports, shared
# folders, and more to not work properly. If any of those things fail on
# this machine, please update the guest additions and repackage the
# box.
@chriseckhardt
chriseckhardt / gist:7736693
Created December 1, 2013 16:55
clojurescript failed to build on 10.9
# First encountered using 1.7 JDK from Oracle, then continued
# after downgrading to Apple's latest 1.6 + rebooting
# (http://support.apple.com/kb/dl1572)
$ java -version
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
$ brew update
# Description:
# spit out random meme images
#
# Dependencies:
# None
#
# Configuration:
# None
#
# Commands:
Renew Puppet CA cert.
Not the perfect idea, but should alleviate the need to resign every cert.
What you need from existing puppet ssl directory:
ca/ca_crt.pem
ca/ca_key.pem
Create an openssl.cnf:
[ca]