Created
November 4, 2011 23:44
-
-
Save raygunsix/1340810 to your computer and use it in GitHub Desktop.
chef recipe for installing aapt
This file contains hidden or 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
# Install 32 bit java and set path (if needed) | |
case node[:kernel][:machine] | |
when 'i686','i386','i586' | |
# do nothing | |
when 'x86_64' | |
ey_cloud_report "install" do | |
message "installing 32 bit compat libs" | |
end | |
package "app-emulation/emul-linux-x86-baselibs" do | |
action :install | |
end | |
package "app-emulation/emul-linux-x86-java" do | |
action :install | |
end | |
# execute "set PATH" do | |
# command "echo 'PATH=$PATH:/opt/emul-linux-x86-java-1.6.0.15/bin/' >> /home/deploy/.bashrc" | |
# action :run | |
# end | |
else | |
Chef::Log.error("I don't understand your arch yet: #{node.kernel.machine}") | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment