This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
psmith joined the chat room. | |
psmith: bbh tomorrow night, yes? | |
psmith: 'cause my tolerance is waaaaaaay low right now | |
heath: who the fuck is psmith? | |
crunchy: I see psmith as: psmith@irc.websages.com | |
psmith left the chat room. | |
jamison: haha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class rsyslog { | |
class aptsetup { | |
file { "evax-rsyslog-lucid.list": | |
ensure => "file", | |
owner => "root", | |
group => "root", | |
mode => 0644, | |
path => "/etc/apt/sources.list.d/evax-rsyslog-lucid.list", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
A Service is composed of States and Nodes. A change in state fires *..* Protocol Messages to Nodes. | |
Create the ability to have a defined proxy object in code. We'll call this object a service. The service's job is to route messages between nodes subscribed to a specific topic within a middle tier (RabbitMQ or ActiveMQ or ... - would make sense to leverage mCollective for this action). This service should be able to exist on a separate node within a puppet infrastructure. | |
Each service will maintain a state table. This state table should have the ability to be managed internally or hook into external monitoring system state table (a la: nagios/zabbix/ca/openview/bleg) | |
Each service will the ability to define different node types that subscribe/respond to different protocol messages. | |
To subscribe to a service, a node must identify the type of node it is (service node definition). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Updating the box | |
apt-get -y update | |
apt-get -y install linux-headers-$(uname -r) build-essential | |
apt-get -y install zlib1g-dev libssl-dev libreadline5-dev | |
apt-get clean | |
#Setting up sudo | |
cp /etc/sudoers /etc/sudoers.orig | |
sed -i -e 's/%admin ALL=(ALL) ALL/%admin ALL=NOPASSWD:ALL/g' /etc/sudoers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Updating the box | |
apt-get -y update | |
#apt-get -y upgrade | |
apt-get -y remove apparmor | |
apt-get -y install linux-headers-$(uname -r) build-essential | |
apt-get -y install zlib1g-dev libssl-dev libreadline5-dev | |
apt-get clean | |
#Setting up sudo | |
cp /etc/sudoers /etc/sudoers.orig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Update the box | |
apt-get -y update | |
apt-get -y install linux-headers-$(uname -r) build-essential | |
apt-get -y install zlib1g-dev libssl-dev libreadline5-dev | |
apt-get -y install curl unzip | |
apt-get clean | |
# Set up sudo | |
cp /etc/sudoers /etc/sudoers.orig | |
sed -i -e 's/%sudo ALL=(ALL) ALL/%sudo ALL=NOPASSWD:ALL/g' /etc/sudoers |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
yum -y install gcc bzip2 make kernel-devel-`uname -r` | |
#yum -y update | |
#yum -y upgrade | |
yum -y install gcc-c++ zlib-devel openssl-devel readline-devel sqlite3-devel | |
yum -y erase wireless-tools gtk2 libX11 hicolor-icon-theme avahi freetype bitstream-vera-fonts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Define default prompt to <username>@<hostname>:<path><"($|#) "> | |
# and print '#' for user "root" and '$' for normal users. | |
# | |
PS1='${LOGNAME}@$(/usr/bin/hostname):$( | |
[[ "${LOGNAME}" == "root" ]] && printf "%s" "${PWD/${HOME}/~}# " || | |
printf "%s" "${PWD/${HOME}/~}\$ ")' | |
# set no beep | |
set nobeep |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
total 36 | |
drwxr-xr-x 6 root root 4096 2011-06-28 13:37 . | |
drwxr-xr-x 77 root root 4096 2011-06-28 13:08 .. | |
drwxr-x--- 2 root openldap 4096 2011-06-28 13:08 domains | |
-rw-r----- 1 root openldap 130 2011-06-28 13:08 domains.conf | |
-rw-r--r-- 1 root root 245 2010-08-06 19:31 ldap.conf | |
drwxr-x--- 2 root openldap 4096 2011-06-28 13:08 replication | |
-rw-r----- 1 root openldap 0 2011-06-28 13:08 replication.conf | |
drwxr-xr-x 2 root root 4096 2011-03-30 12:12 sasl2 | |
drwxr-xr-x 2 root root 4096 2011-06-28 13:08 schema |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# here are the per-package modules (the "Primary" block) | |
password [success=1 default=ignore] pam_unix.so obscure sha512 | |
# here's the fallback if no module succeeds | |
password requisite pam_deny.so | |
# prime the stack with a positive return value if there isn't one already; | |
# this avoids us returning an error just because nothing sets a success code | |
# since the modules above will each just jump around | |
password required pam_permit.so | |
# and here are more per-package modules (the "Additional" block) | |
# end of pam-auth-update config |