summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vagrant_support/devtools.yml11
-rw-r--r--vagrant_support/playbook.yml2
-rwxr-xr-xvagrant_support/re.pl6
3 files changed, 19 insertions, 0 deletions
diff --git a/vagrant_support/devtools.yml b/vagrant_support/devtools.yml
index bfc62cb2a..f9fb3e94f 100644
--- a/vagrant_support/devtools.yml
+++ b/vagrant_support/devtools.yml
@@ -2,3 +2,14 @@
- name: copy bashrc
copy: src=bashrc dest=/home/vagrant/.bashrc mode=0644
+- cpanm: name=Devel::REPL notest=true locallib=/home/vagrant/perl executable=/usr/local/bin/cpanm
+- cpanm: name=Term::ReadLine::Gnu notest=true locallib=/home/vagrant/perl executable=/usr/local/bin/cpanm
+- cpanm: name=PPI notest=true locallib=/home/vagrant/perl executable=/usr/local/bin/cpanm
+- cpanm: name=Data::Dumper::Concise notest=true locallib=/home/vagrant/perl executable=/usr/local/bin/cpanm
+- cpanm: name=File::Next notest=true locallib=/home/vagrant/perl executable=/usr/local/bin/cpanm
+- cpanm: name=Sys::SigAction notest=true locallib=/home/vagrant/perl executable=/usr/local/bin/cpanm
+- cpanm: name=Lexical::Persistence notest=true locallib=/home/vagrant/perl executable=/usr/local/bin/cpanm
+
+- name: copy re.pl
+ copy: src=re.pl dest=/usr/local/bin/re.pl mode=0755
+
diff --git a/vagrant_support/playbook.yml b/vagrant_support/playbook.yml
index 093444143..94d9325a3 100644
--- a/vagrant_support/playbook.yml
+++ b/vagrant_support/playbook.yml
@@ -136,6 +136,8 @@
- pkgconfig
- rpm-build
- graphviz
+ - ncurses-devel
+ - readline-devel
- name: fetch cpanm
get_url:
diff --git a/vagrant_support/re.pl b/vagrant_support/re.pl
new file mode 100755
index 000000000..d6deeca8c
--- /dev/null
+++ b/vagrant_support/re.pl
@@ -0,0 +1,6 @@
+#!/bin/bash
+
+exec perl \
+ -I$HOME/perl/lib/perl5 \
+ -I/vagrant/local/lib/perl5 \
+ $HOME/perl/bin/re.pl "$@"