Skip to content

Instantly share code, notes, and snippets.

input {
exec {
type => "dstat"
command => "dstat -cdngypms --nocolor 1 0"
interval => 13
}
exec {
type => "apache-benchmark"
input {
file {
path => [ "/var/log/messages", "/var/log/kern.log" ]
type => "linux-syslog"
}
file {
path => "/var/log/apache2/access.log"
type => "apache-access"
}
worker_processes 1;
events {
worker_connections 1024;
}
http {
include mime.types;
default_type application/octet-stream;
sendfile on;
@stevepereira
stevepereira / README.md
Created October 23, 2012 01:42 — forked from silas/README.md
Vagrant and devstack

Download and install VirtualBox

Download and install Vagrant

Clone devstack repository

    git clone git://github.com/openstack-dev/devstack.git

Switch to devstack directory

@stevepereira
stevepereira / initialize.pp
Created January 31, 2012 17:19 — forked from jperras/initialize.pp
Initialization puppet script for puppetmasterless puppet setup.
user { "git":
home => "/var/git",
ensure => present
}
file {
"/var/git":
ensure => directory,
owner => "git",
group => "git",