Permalink
Browse files

student2 に用意しておくモジュール追加

- Text::Xslate
- Data::Section::Simple
  • Loading branch information...
dragon3 committed Dec 6, 2012
1 parent f071a3e commit 3f24566f39a6dc6e59121c266d432f7650b834b8
Showing with 15 additions and 1 deletion.
  1. +15 −1 vagrant/cookbooks/perlbrew/recipes/default.rb
@@ -63,6 +63,20 @@
bash "install-Plack" do
not_if { File.exists?('/home/student2/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/Plack.pm') }
code <<-EOH
-su - student2 -c 'cpanm -n Plack'
+su - student2 -c 'cpanm Plack'
+EOH
+end
+
+bash "install-Text-Xslate" do
+ not_if { File.exists?('/home/student2/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/i386/Text/Xslate.pm') }
+ code <<-EOH
+su - student2 -c 'cpanm Text::Xslate'
+EOH
+end
+
+bash "install-Data-Section-Simple" do
+ not_if { File.exists?('/home/student2/perl5/perlbrew/perls/perl-5.16.2/lib/site_perl/5.16.2/Data/Section/Simple.pm') }
+ code <<-EOH
+su - student2 -c 'cpanm Data::Section::Simple'
EOH
end

0 comments on commit 3f24566

Please sign in to comment.