Skip to content

Instantly share code, notes, and snippets.

View mattyjones's full-sized avatar

Matt Jones mattyjones

  • Northeast-US
View GitHub Profile

Open Source Software Development

Overview

This will be a progressive 6 week program to learn about basic open source software development tools and methodologies. We will explore common tools used in open source software development as well as concepts surrounding the open source community.

The core concept will be learning to program using the Python language. Ancillary concepts that will be explored include:

  • problem solving
  • how to ask the right questions and find the answers using common online sites

Defining A Telegraf Plugin In Elzar

This serves as a style and example guide for configuring chef attriutes to install and manage telegraf plugins.

Setting the attribute name

Set the top level attribute naming scheme, this is used for plugins going out to the entire cookbook and will be the most commmon example.

default['devops_artifactory']['telegraf']['inputs'] = {}
@mattyjones
mattyjones / linux_vpn.sh
Created October 30, 2016 21:28
Start and stop strongswan vpn's in linux in a sane manner
#! /bin/bash
# Manage our vpn connections from the commandline in an IAC way. This script
# should just be alias'd in your shell rc file for ease of use.
# TODO:
#
# validate consul datacenters
# ensure only one vpn connection is up
# provide vpn details if requested

Keybase proof

I hereby claim:

  • I am mattyjones on github.
  • I am mattyjones (https://keybase.io/mattyjones) on keybase.
  • I have a public key whose fingerprint is F494 E301 1F64 0BA5 664B BA9A 079C 9247 5474 C24B

To claim this, I am signing this object:

Ingredients

  • 2lb turkey burger
  • 5 Green Peppers cleaned
  • 1 Sweet Onion diced
  • 1/2c BBQ sauce
  • 2c cooked brown rice

Prep

#!/bin/bash +e
#
# DevOps - Auto-generated by Chef for XXX
#
# /etc/init.d/sensu-graceful-shutdown
# Subsystem for notifying the sensu server that a graceful shutdown has been initiated
#
# chkconfig: 12345 05 05
# description: Notify the sensu server that a graceful shutdown has been initiated
#

Sensu-Plugins Development Environment

Components

  • Chef
  • Vagrant
  • GIR

Chef

@mattyjones
mattyjones / groups.md
Last active August 29, 2015 14:04
Icinga 1x Core Configuration File Written In Markdown

Icinga Groups Configuration File

Dependency Servicegroups

Details:

The groups are used to set dependency conditions environment wide. Details on specific dependencies can be found in dependencies.md

Example: