Skip to content

Instantly share code, notes, and snippets.

@ColCh
Created December 10, 2015 22:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ColCh/a70754d71cd607b31938 to your computer and use it in GitHub Desktop.
Save ColCh/a70754d71cd607b31938 to your computer and use it in GitHub Desktop.
Install puppet, java and android-sdk
#!/bin/bash
# Installs puppet, java and android-sdk
curl -sS https://raw.githubusercontent.com/hashicorp/puppet-bootstrap/master/ubuntu.sh | sh
puppet module install 7terminals-java
puppet module install maestrodev-android
manifest_path="/tmp/manifest-sdk.pp"
echo <<EOF > $manifest_path
class { 'java': } ->
class { 'android': }
EOF
puppet apply $manifest_path
rm $manifest_path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment