Last active
August 29, 2015 13:59
-
-
Save imesh/10805779 to your computer and use it in GitHub Desktop.
Copy ActiveMQ libraries required for Stratos 4.0.0 to a target path
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
activemq_version=5.8.0 | |
activemq_home=/home/ubuntu/packages/apache-activemq-5.8.0 | |
copy_libs() { | |
target_lib_path=$1 | |
cp ${activemq_home}/lib/activemq-broker-${activemq_version}.jar ${target_lib_path} | |
cp ${activemq_home}/lib/activemq-client-${activemq_version}.jar ${target_lib_path} | |
cp ${activemq_home}/lib/geronimo-j2ee-management_1.1_spec-1.0.1.jar ${target_lib_path} | |
cp ${activemq_home}/lib/geronimo-jms_1.1_spec-1.1.1.jar ${target_lib_path} | |
cp ${activemq_home}/lib/hawtbuf-1.9.jar ${target_lib_path} | |
} | |
copy_libs "/etc/puppet/modules/agent/files/activemq/" | |
copy_libs "/etc/puppet/modules/lb/files/activemq/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment