Permalink
Browse files

Adding some hoopla-discovered helpers.

  • Loading branch information...
1 parent 3249fe2 commit c4d4629e449c0bf2ea0fea41a6511e00e447873b @hoopla hoopla committed Apr 2, 2010
Showing with 18 additions and 0 deletions.
  1. +2 −0 Linux/ruby.conf
  2. +12 −0 chef.conf
  3. +2 −0 environment.conf
  4. +2 −0 rails.conf
View
@@ -0,0 +1,2 @@
+[ -d /var/lib/gems/1.8/bin ] && export PATH="/var/lib/gems/1.8/bin:$PATH"
+
View
@@ -0,0 +1,12 @@
+function cook() {
+ local provisioning
+ provisioning="$HOME/code/provisioning"
+
+ if [ -z "$1" ]; then
+ sudo $(which chef-solo) -c "${provisioning}/config/solo.rb" -j "${provisioning}/config/local.json"
+ else
+ cd "${provisioning}"
+ spatula cook "$1.hoopla.net" "$1"
+ cd -
+ fi
+}
View
@@ -3,6 +3,8 @@ bind "set completion-ignore-case on"
export RSYNC_RSH="ssh"
alias rsync='rsync -v --progress --partial'
+alias less="less -R"
+
export PYTHONSTARTUP="$HOME/.pythonrc.py"
export GREP_OPTIONS='--color=auto'
export GREP_COLOR='1;32'
View
@@ -0,0 +1,2 @@
+alias single-test="ruby -Itest"
+

0 comments on commit c4d4629

Please sign in to comment.