Skip to content

Instantly share code, notes, and snippets.

Matt Dainty bodgit

Block or report user

Report or block bodgit

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@bodgit
bodgit / ES master node
Last active Aug 29, 2015
Elasticsearch configuration for EC2 cluster with remote tribe node
View ES master 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 Aug 29, 2015
RPM spec for Elasticsearch python bindings
View elasticsearch-1.2.0-urllib.patch
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 Aug 29, 2015
RPM spec for Elasticsearch Curator
View elasticsearch-curator-1.2.2-master-only.patch
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 / rubygem-mixlib-cli.spec
Created Sep 29, 2014
RPM spec for Sensu plugin gem
View rubygem-mixlib-cli.spec
%{?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}
@bodgit
bodgit / soekris.diff
Created Nov 21, 2014
Soekris net6501 GPIO & LED support on OpenBSD
View soekris.diff
Index: share/man/man4/gpio.4
===================================================================
RCS file: /cvs/src/share/man/man4/gpio.4,v
retrieving revision 1.22
diff -u -p -r1.22 gpio.4
--- share/man/man4/gpio.4 21 Jan 2014 11:02:00 -0000 1.22
+++ share/man/man4/gpio.4 21 Nov 2014 11:38:17 -0000
@@ -30,6 +30,7 @@
.Cd "gpio* at omgpio?" Pq armv7
.Cd "gpio* at pcagpio?"
View keybase.md

Keybase proof

I hereby claim:

  • I am bodgit on github.
  • I am bodgit (https://keybase.io/bodgit) on keybase.
  • I have a public key whose fingerprint is 16D4 7648 4A8A 93DC 6D77 AAC1 28FE 7C79 1F97 D933

To claim this, I am signing this object:

@bodgit
bodgit / openldap-translucent-double-free.patch
Created Mar 17, 2015
Patch for OpenLDAP 2.4.39 so pcache and translucent overlays work together
View openldap-translucent-double-free.patch
X-Git-Url: http://www.openldap.org/devel/gitweb.cgi?p=openldap.git;a=blobdiff_plain;f=servers%2Fslapd%2Foverlays%2Ftranslucent.c;h=d39fe38535b011b8dd8b7110158722efbfa4a199;hp=d9715cbf719382112bd3e456791873ac3515d003;hb=052aef59601068ccc63e403d84d70c0d5a6bc9ab;hpb=bfbc6fe4a6e515189962aebba517138d909fbfed
diff --git a/servers/slapd/overlays/translucent.c b/servers/slapd/overlays/translucent.c
index d9715cb..d39fe38 100644
--- a/servers/slapd/overlays/translucent.c
+++ b/servers/slapd/overlays/translucent.c
@@ -1109,7 +1109,8 @@ static int translucent_search(Operation *op, SlapReply *rs) {
filter2bv_x( op, fr, &op->ors_filterstr );
}
rc = ov->db.bd_info->bi_op_search(op, rs);
@bodgit
bodgit / xtables-addons-1.47.1-el6.patch
Last active Aug 31, 2015
RPM spec for xtables-addons
View xtables-addons-1.47.1-el6.patch
diff -up xtables-addons-1.47.1/extensions/compat_xtables.c.orig xtables-addons-1.47.1/extensions/compat_xtables.c
--- xtables-addons-1.47.1/extensions/compat_xtables.c.orig 2015-04-16 22:48:40.467146548 +0100
+++ xtables-addons-1.47.1/extensions/compat_xtables.c 2015-04-16 22:48:51.849146108 +0100
@@ -626,13 +626,4 @@ int xtnu_ipv6_skip_exthdr(const struct s
EXPORT_SYMBOL_GPL(xtnu_ipv6_skip_exthdr);
#endif
-#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 5, 0) && defined(WITH_IPV6)
-int xtnu_ipv6_find_hdr(const struct sk_buff *skb, unsigned int *offset,
- int target, unsigned short *fragoff, int *fragflg)
@bodgit
bodgit / kubernetes-1.0.6-glusterfs.patch
Created Sep 16, 2015
Kubernetes 1.0.6 on Mesos and GlusterFS
View kubernetes-1.0.6-glusterfs.patch
diff --git a/pkg/volume/glusterfs/glusterfs.go b/pkg/volume/glusterfs/glusterfs.go
index b3d5c4b..3ee9f38 100644
--- a/pkg/volume/glusterfs/glusterfs.go
+++ b/pkg/volume/glusterfs/glusterfs.go
@@ -17,8 +17,8 @@ limitations under the License.
package glusterfs
import (
- "math/rand"
"os"
View rabbitmq-server-plugins.spec
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
You can’t perform that action at this time.