Skip to content

Instantly share code, notes, and snippets.

View reidmv's full-sized avatar

Reid Vandewiele reidmv

View GitHub Profile
#!/bin/sh
NEXUS=$HOME/supernexus
branch="PECVD_Master"
lock="/tmp/githooklock"
if mkdir $lock; then
echo "Locking nexus superproject succeeded" >&2
else
@reidmv
reidmv / buildsource.pp
Created May 4, 2012 19:01
Puppet build define
#
# Depends on: puppetlabs/stdlib
#
define buildsource(
$dir = $title,
$user = 'root',
$path = '/usr/bin:/bin',
$timeout = '0',
$options = ''
) {