Skip to content

Instantly share code, notes, and snippets.

View Pryz's full-sized avatar
🏴‍☠️

Julien Fabre Pryz

🏴‍☠️
View GitHub Profile
@Pryz
Pryz / gist:7900486
Created December 10, 2013 21:25 — forked from stephenc/gist:3053561

Puppet with Jenkins

Setup Jenkins

With Puppet:

puppet module install rtyler-jenkins

puppet apply -v -e "include jenkins"

#
# Perform the Puppet master migration by changing the server value in
# puppet.conf
# and reset nodes certificates
#
class puppet::migrate ( $puppetmaster ) {
if $puppetmaster == undef {
fail('You must define the targeted Puppet master to perform the migration')
}
set nocompatible " be iMproved, required
filetype off " required
" Snippets variables
let g:snips_author='Julien Fabre'
let g:author='Julien Fabre'
let g:snips_email='julien.fabre@tubemogul.com'
let g:email='julien.fabre@tubemogul.com'
let g:snips_github='https://github.com/Pryz'
@Pryz
Pryz / puppet_reports.json
Created July 1, 2015 15:26
Puppet Reports dashboard with Kibana 3
{
"title": "Puppet Reports",
"services": {
"query": {
"list": {
"0": {
"query": "status = failed",
"alias": "",
"color": "#BF1B00",
"id": 0,
@Pryz
Pryz / gist:4ec221a82411d3fb1f6db7b2e909d0d7
Created September 13, 2016 00:09
Sensu_filter_keepalive
// The filter !
{
"filters": {
"after_5_occurrences": {
"attributes": {
"occurrences": "eval: value > 5"
}
}
}
}

Keybase proof

I hereby claim:

  • I am Pryz on github.
  • I am pryz (https://keybase.io/pryz) on keybase.
  • I have a public key whose fingerprint is B967 F4BA 8A78 450B 4B33 2C54 3831 9297 8EDF F715

To claim this, I am signing this object:

#!/usr/bin/env bash
# MongoDB port
PORT=27017
# Consul key to setup the lock
MONGO_KEY="mongodb/replicaset"
#
# Retrieve MongoDB instance IPs from Consul
#
Error applying plan:
1 error(s) occurred:
* module.clusters.module.security.module.security.aws_autoscaling_group.main: aws_autoscaling_group.main: diffs didn't match during apply. This is a bug with Terraform and should be reported as a GitHub Issue.
Please include the following information in your report:
Terraform Version: 0.9.5
Resource ID: aws_autoscaling_group.main
set nocompatible " be iMproved, required
filetype off " required
let mapleader = ','
let g:mapleader = ','
if has('nvim')
let s:editor_root=expand("~/.nvim")
else
let s:editor_root=expand("~/.vim")
endif
set nocompatible " be iMproved, required
filetype off " required
let mapleader = ','
let g:mapleader = ','
if has('nvim')
let s:editor_root=expand("~/.nvim")
else
let s:editor_root=expand("~/.vim")
endif