Permalink
Browse files

Add erlang-history

  • Loading branch information...
1 parent f29f2ed commit 3e85474c98617987a111ed87fdabc1a007d78957 @jvliwanag jvliwanag committed Dec 17, 2012
Showing with 13 additions and 0 deletions.
  1. +8 −0 bin/installerlanghistory
  2. +5 −0 manifests/base.pp
View
@@ -0,0 +1,8 @@
+#!/bin/bash -x
+
+rm -Rf /tmp/erlang-history
+git clone https://github.com/ferd/erlang-history.git /tmp/erlang-history
+
+cd /tmp/erlang-history
+sed -i 's/sudo //g' Makefile
+make install
View
@@ -59,6 +59,11 @@
package {'genghisapp': ensure => installed, provider => 'gem'}
+exec {'/home/vagrant/bin/installerlanghistory':
+ creates => '/usr/lib/erlang/lib/kernel-2.15.2/ebin/group.beam.backup-pre-shell-history',
+ path => '/bin:/usr/bin'
+}
+
# Home
file { '/home/vagrant/.bashrc':

0 comments on commit 3e85474

Please sign in to comment.