Skip to content

Instantly share code, notes, and snippets.

@ctnpull
ctnpull / logger0.pp
Created June 10, 2012 11:14 — forked from jedi4ever/logger0.pp
rabbitmq - plugins - puppet - provider
rabbitmq_plugin { $rabbitmq_plugin_list:
ensure => present,
require => Class['rabbitmq::server'],
provider => 'rabbitmq_plugins',
state => enabled
}
@ctnpull
ctnpull / postfix-config-aws-ses.txt
Created June 10, 2012 07:44 — forked from zapnap/postfix-config-aws-ses.txt
postfix config for AWS-SES
# /etc/postfix/main.cf
smtpd_banner = $myhostname ESMTP $mail_name (Ubuntu)
biff = no
append_dot_mydomain = no
readme_directory = no
# See /usr/share/doc/postfix/TLS_README.gz in the postfix-doc package for
@ctnpull
ctnpull / ssh-known-hosts-mgmt.sh
Created June 4, 2012 03:45 — forked from bradland/ssh-known-hosts-mgmt.sh
SSH known_hosts tools
# This is a short collection of tools that are useful for managing your
# known_hosts file. In this case, I'm using the '-f' flag to specify the
# global known_hosts file because I'll be adding many deploy users on this
# system. Simply omit the -f flag to operate on ~/.ssh/known_hosts
# Add entry for host
ssh-keyscan -H github.com > /etc/ssh/ssh_known_hosts
# Scan known hosts
ssh-keygen -f /etc/ssh/ssh_known_hosts -H -F github.com