Skip to content

Instantly share code, notes, and snippets.

@bodgit
bodgit / rabbitmq-server-plugins.spec
Created August 14, 2011 18:39 — forked from dcarley/rabbitmq-server-plugins.spec
RPM SPEC for RabbitMQ plugins
Name : rabbitmq-server-plugins
Version : 2.6.1
Release : 1
Summary : Plugins for RabbitMQ server
Group : Development/Libraries
Source0 : http://www.rabbitmq.com/releases/plugins/v%{version}/amqp_client-%{version}.ez
Source1 : http://www.rabbitmq.com/releases/plugins/v%{version}/rabbitmq_stomp-%{version}.ez
Source2 : http://www.rabbitmq.com/releases/plugins/v%{version}/rabbitmq_management_agent-%{version}.ez
Source3 : http://www.rabbitmq.com/releases/plugins/v%{version}/rabbitmq_management-%{version}.jquery-fix.ez
@bodgit
bodgit / Portfile
Created August 27, 2011 20:45
MacPorts Portfile for Marionette Collective
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
PortGroup ruby 1.0
name mcollective
version 1.2.1
categories net sysutils
platforms darwin
@bodgit
bodgit / Portfile
Created September 16, 2011 11:24
MacPorts Portfile for NetAddr Ruby Gem
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
PortGroup ruby 1.0
ruby.setup netaddr 1.5.0 gem {} rubyforge_gem
categories-append net
platforms darwin
maintainers nomaintainer
@bodgit
bodgit / librabbitmq.spec
Created February 19, 2012 18:46
RPM spec for RabbitMQ C library
Name : librabbitmq
Version : 0.0.1
Release : 2.20120121hg281
Summary : RabbitMQ C AMQP client library
Group : Development/Libraries
Source0 : %{name}-%{version}.tar.gz
URL : http://www.rabbitmq.com/c-client.html
License : GPLv2
Packager : Matt Dainty <[email protected]>
@bodgit
bodgit / output
Last active December 16, 2015 05:49
libevent 2.0.21 / OS X 10.8.3 test case
events = 80
Connected to 127.0.0.1:2003
events = 21
Error connecting to 127.0.0.1:2003
events = 80
Connected to 192.168.255.128:2003
events = 20
Error connecting to 127.0.0.1:2003
<5 second pause>
events = 20
@bodgit
bodgit / ES master node
Last active August 29, 2015 13:58
Elasticsearch configuration for EC2 cluster with remote tribe node
### MANAGED BY PUPPET ###
---
action:
auto_create_index: +logstash-*,-*
bootstrap:
mlockall: true
cloud:
aws:
access_key: abc123
region: ap-southeast-2
@bodgit
bodgit / elasticsearch-1.2.0-urllib.patch
Last active August 29, 2015 14:02
RPM spec for Elasticsearch python bindings
diff -up elasticsearch-1.2.0/elasticsearch.egg-info/requires.txt.orig elasticsearch-1.2.0/elasticsearch.egg-info/requires.txt
--- elasticsearch-1.2.0/elasticsearch.egg-info/requires.txt.orig 2014-08-12 10:09:32.219400798 +0000
+++ elasticsearch-1.2.0/elasticsearch.egg-info/requires.txt 2014-08-12 10:09:36.809346008 +0000
@@ -1 +1 @@
-urllib3>=1.8, <2.0
\ No newline at end of file
+urllib3>=1.5, <2.0
diff -up elasticsearch-1.2.0/setup.py.orig elasticsearch-1.2.0/setup.py
--- elasticsearch-1.2.0/setup.py.orig 2014-08-12 10:08:38.643339969 +0000
+++ elasticsearch-1.2.0/setup.py 2014-08-12 10:08:44.712437366 +0000
@bodgit
bodgit / elasticsearch-curator-1.2.2-master-only.patch
Last active August 29, 2015 14:02
RPM spec for Elasticsearch Curator
diff -up elasticsearch-curator-1.2.2/curator/curator.py.orig elasticsearch-curator-1.2.2/curator/curator.py
--- elasticsearch-curator-1.2.2/curator/curator.py.orig 2014-08-20 11:24:42.750639539 +0000
+++ elasticsearch-curator-1.2.2/curator/curator.py 2014-08-20 11:25:12.530602535 +0000
@@ -714,8 +714,8 @@ def main():
check_version(client)
if arguments.master_only and not is_master_node(client):
- logger.fatal('Master-only flag detected. Connected to non-master node. Aborting.')
- sys.exit(1)
+ logger.info('Master-only flag detected. Connected to non-master node. Aborting.')
@bodgit
bodgit / mod_proxy_wstunnel.c
Last active December 6, 2020 01:08
mod_proxy_wstunnel package for Apache on CentOS 6.x
/* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
@bodgit
bodgit / rubygem-mixlib-cli.spec
Created September 29, 2014 16:04
RPM spec for Sensu plugin gem
%{?scl:%scl_package rubygem-%{gem_name}}
%{!?scl:%global pkg_name %{name}}
# Generated from mixlib-cli-1.5.0.gem by gem2rpm -*- rpm-spec -*-
%global gem_name mixlib-cli
Summary: A simple mixin for CLI interfaces, including option parsing
Name: %{?scl_prefix}rubygem-%{gem_name}
Version: 1.5.0
Release: 1%{?dist}