Skip to content

Instantly share code, notes, and snippets.

View Thermi's full-sized avatar

Thermi Thermi

  • Switzerland
View GitHub Profile
From c694a83d871855bf8e26bcb6f7b3d85503753ca9 Mon Sep 17 00:00:00 2001
From: Noel Kuntze <noel@familie-kuntze.de>
Date: Mon, 19 Jun 2017 17:30:56 +0200
Subject: [PATCH] Fix compiler warnings in usl_timer.c
---
usl/usl_timer.c | 12 +++++++-----
1 file changed, 7 insertions(+), 5 deletions(-)
diff --git a/usl/usl_timer.c b/usl/usl_timer.c
@Thermi
Thermi / main.cf
Last active May 20, 2017 20:49 — forked from kitikonti/main.cf
# Only bind to 127.0.0.1 and ::1 so local SMTP clients (msmtp) can connect to it
inet_interfaces = localhost
# Use IPv4 and IPv6
inet_protocols = all
myorigin = $myhostname
smtp_sender_dependent_authentication = yes
smtp_sasl_auth_enable = yes
@Thermi
Thermi / PKGBUILD
Created April 25, 2017 07:00
Current working status of the PKGBUILD for ocfs2-tools 1.8.5
# Maintainer: Thermi <noel at familie-kuntze dot de>
pkgname=ocfs2-tools
pkgver=1.8.5
pkgrel=1
pkgdesc="ocfs2 tool chain by Oracle, including mkfs, tunefs, fsck, debugfs and utilities for ocfs2"
arch=('x86_64' 'i686')
url="https://github.com/markfasheh/ocfs2-tools/"
license=('GPL2')
optdepends=('pacemaker' 'corosync')
@Thermi
Thermi / PKGBUILD
Created October 4, 2016 23:16
An improved version of the ansible-git PKGBUILD on the AUR
# Maintainer: Paul Nicholson <brenix@gmail.com>
# Contributor: Michel Blanc <mblanc@erasme.org>
# Contributor: Scott Hansen https://github.com/firecat53
# Contributor: Buce <dmbuce@gmail.com>
# Contributor: Bartłomiej Piotrowski <b@bpiotrowski.pl>
# Contributor: cgtx <carl@carlgeorge.us>
# Contributor: Daniel Wallace <danielwallace@gtmanfred.com>
# Contributor: John Gosset <john.gosset@gmail.com>
# Contributor: Joshua Lund <josh@joshlund.com>
# Contributor: Matt Klich <matt.klich@readytalk.com>
@Thermi
Thermi / es-cluster.yml
Created October 3, 2016 19:44
ansible playbook
# https://docs.ansible.com/ansible/playbooks_best_practices.html#content-organization
# https://www.elastic.co/guide/en/elasticsearch/plugins/2.4/index.html
# https://www.elastic.co/guide/en/elasticsearch/plugins/2.4/cloud-aws-best-practices.html
# https://www.elastic.co/guide/en/elasticsearch/plugins/2.4/cloud-aws-testing.html
- hosts: master_nodes
roles:
- centos7-setup
- { role: elasticsearch, es_instance_name: "cluster-master-1", es_heap_size: "1g",
es_config: {
cluster.name: "monitoring-cluster",
[WARNING]: While constructing a mapping from /home/thermi/UNITS/Rimoto/ansible/es-cluster.yml, line 8, column 16, found a duplicate dict key (discovery.zen.ping.multicast.enabled).[49/2466]
last defined value only.
[WARNING]: While constructing a mapping from /home/thermi/UNITS/Rimoto/ansible/es-cluster.yml, line 39, column 16, found a duplicate dict key (discovery.zen.ping.multicast.enabled). Using
last defined value only.
[WARNING]: While constructing a mapping from /home/thermi/UNITS/Rimoto/ansible/es-cluster.yml, line 56, column 16, found a duplicate dict key (discovery.zen.ping.multicast.enabled). Using
last defined value only.
[WARNING]: While constructing a mapping from /home/thermi/UNITS/Rimoto/ansible/es-cluster.yml, line 86, column 16, found a duplicate dict key (discovery.zen.ping.multicast.enabled). Using