Skip to content

Commit a9d1044

Browse files
committed
Add Apache Camel. Closes #4
1 parent ace4d52 commit a9d1044

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

install/Vagrantfile

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
2020

2121
config.vm.provision :shell, :path => "install.sh"
2222
config.vm.provision :shell, :path => "solr.sh"
23+
config.vm.provision :shell, :path => "camel.sh"
2324

2425
# Disable automatic box update checking. If you disable this, then
2526
# boxes will only be checked for updates when the user runs

install/camel.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
echo "Installing Apache Camel"
2+
3+
CAMEL_VERSION=2.14.1
4+
CAMEL_PATH=/usr/share/camel
5+
6+
mkdir $CAMEL_PATH
7+
cd /tmp
8+
wget http://mirror.csclub.uwaterloo.ca/apache/camel/apache-camel/"$CAMEL_VERSION"/apache-camel-"$CAMEL_VERSION".tar.gz
9+
tar -xzvf apache-camel-"$CAMEL_VERSION".tar.gz
10+
cd apache-camel-"$CAMEL_VERSION"
11+
mv -v * $CAMEL_PATH
12+
chown -hR tomcat7:tomcat7 $CAMEL_PATH

0 commit comments

Comments
 (0)