Skip to content

Instantly share code, notes, and snippets.


Florian Heigl FlorianHeigl

View GitHub Profile

Chef Bootstrapper For SuSE/SLES


Note: Run this script as the root user (no sudo calls are used in the script).

You will need the curl package installed, though I would have no idea why it wouldn't be installed by default:

zypper --non-interactive install curl

Vagrant Setup

This tutorial guides you through creating your first Vagrant project.

We start with a generic Ubuntu VM, and use the Chef provisioning tool to:

  • install packages for vim, git
  • create user accounts, as specified in included JSON config files
  • install specified user dotfiles (.bashrc, .vimrc, etc) from a git repository

Afterwards, we'll see how easy it is to package our newly provisioned VM

FlorianHeigl / gist:f976f5bdf5ae41426c8d
Last active Aug 29, 2015
poudriere setup script for quarterlies
View gist:f976f5bdf5ae41426c8d
BRANCHES="2014Q2 2015Q1"
ARCHS="i386 amd64"
VERSIONS="9.1 9.3 10.1"
FlorianHeigl / gist:6318736
Created Aug 23, 2013
Partitioning: backup VM1 ....i still hate github haha
View gist:6318736
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/vg00-lvol00 992M 497M 445M 53% /
/dev/mapper/vg00-lvol04 4.9G 1.2G 3.5G 25% /usr
/dev/mapper/vg00-lvol02 1.4G 563M 731M 44% /var
/dev/mapper/vg00-lvol03 496M 61M 410M 13% /var/log
/dev/mapper/vg00-lvol07 496M 19M 452M 4% /opt
/dev/mapper/vg00-lvol06 248M 11M 226M 5% /home
/dev/mapper/vg00-lvol05 496M 19M 452M 4% /tmp
/dev/xvda1 190M 33M 148M 18% /boot
tmpfs 512M 0 512M 0% /dev/shm
FlorianHeigl / pacemaker groups
Created Sep 8, 2013
Home Cluster Resource groups.
View pacemaker groups
cluster consists of 3 nodes:
nexus (Nexus7 tablet, running ubuntu 12)
nsa (NSA325 Nas, running custom fw, with debian wheezy chroot)
pi (Raspi 512M, running debian wheezy)
pri xinetd
pri csync2??
FlorianHeigl /
Created May 9, 2016 — forked from stevenhaddox/
Bootstrap Synology DS215j DSM 5.x provisioner steps

Boostrap the Synology DS215j with optware, ipkg, and sudo

Inspired mostly from the Bootstrap DS215j blog post

Download & Install ipkg in a persistent manner

# Create a directory that won't get nuked during DSM security updates
mkdir /volume1/@optware
cd /volume1/@optware
View reading list
i would like to think about the _really_ important IT books.
funny enough most of them will come cheap since they're decades old.
building internet firewalls
snmp, snmpv2 and rmon
high availability network fundamentals
optimizing nfs performance
unix shell objects
FlorianHeigl / 05-hostname.rhel
Created Nov 16, 2016
cleaned up(?) script for rhel
View 05-hostname.rhel
function set_hostname() {
[ -n "$NAME" ] || exit 0
sed -i '/^HOSTNAME=.*$/d' $CONFIG_FILE
FlorianHeigl / 05-hostname.deb
Created Nov 16, 2016
cleaned up(?) script for deb
View 05-hostname.deb
. /tmp/
function set_hostname() {
[ -n "$NAME" ] || exit 0
View gist:73871f8a334aa34fccc65f181a765d33
Rudder Inventory Flow
Managed Node:
rudder agent inventory
cf-agent -KI -Dforce_inventory