A diabetes script package for Hubot
Run npm install --save hubot-diabetes
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby -I/private/tmp/shitlib/.bundle/gems/rspec-core-3.0.4/lib:/private/tmp/shitlib/.bundle/gems/rspec-support-3.0.4/lib -S /private/tmp/shitlib/.bundle/gems/rspec-core-3.0.4/exe/rspec ./spec/shitlib_spec.rb | |
Shitlib | |
has a version number | |
does something useful (FAILED - 1) | |
Failures: | |
1) Shitlib does something useful | |
Failure/Error: expect(false).to eq(true) |
# Description: | |
# A port of http://motivate.im/ | |
# | |
# Dependencies: | |
# None | |
# | |
# Configuration: | |
# None | |
# | |
# Commands: |
#!/usr/bin/env sh | |
set -e | |
tmpfile='/tmp/softwareupdate-list' | |
[ -f $tmpfile ] || softwareupdate --list 2>&1 | tee $tmpfile | |
if grep -q '\[recommended\]' $tmpfile ; then | |
sudo softwareupdate --install --recommended |
#!/usr/bin/env sh | |
set -e | |
srcdir=/usr/src/puppet | |
controldir=$HOME/src/control | |
sudo mkdir -p $srcdir | |
sudo chown $USER $srcdir |
# -*- mode: ruby -*- | |
# vi: set ft=ruby : | |
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! | |
VAGRANTFILE_API_VERSION = "2" | |
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| | |
config.vm.box = "puppetlabs/centos-6.5-64-nocm" | |
config.vm.provider "virtualbox" do |vb| | |
vb.customize ["modifyvm", :id, "--memory", "2048"] |
# Copyright (c) 2014 Greg Kitson https://github.com/awaxa | |
# | |
# Permission is hereby granted, free of charge, to any person obtaining a copy | |
# of this software and associated documentation files (the "Software"), to deal | |
# in the Software without restriction, including without limitation the rights | |
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | |
# copies of the Software, and to permit persons to whom the Software is | |
# furnished to do so, subject to the following conditions: | |
# | |
# The above copyright notice and this permission notice shall be included in |
commit 977070885f7eec10487256006e2bc1c9684faad8 | |
Author: Greg Kitson <greg.kitson@gmail.com> | |
Date: Fri Sep 5 06:36:00 2014 -0700 | |
add envpuppet to /etc/profile | |
diff --git a/modules/people/manifests/awaxa/puppet.pp b/modules/people/manifests/awaxa/puppet.pp | |
index 7bbbcb3..ae9e925 100644 | |
--- a/modules/people/manifests/awaxa/puppet.pp | |
+++ b/modules/people/manifests/awaxa/puppet.pp |
#!/bin/sh | |
puppet='puppet-3.4.3' | |
facter='facter-1.7.5' | |
hiera='hiera-1.3.2' | |
cache='/vagrant/dmg' | |
source='http://downloads.puppetlabs.com/mac' | |
set -ex |