android

Android SDK module for Puppet

krakatoa1987

krakatoa

8,765 downloads

8,639 latest version

3.5 quality score

Version information

  • 1.1.13 (latest)
  • 1.1.12
released May 9th 2014

Start using this module

Tags: android

Documentation

krakatoa/android — version 1.1.13 May 9th 2014

Puppet Module for Android SDK

This Puppet module is used to install the Android SDK, along with platforms and other add-ons.

Supported platforms:

  • Linux (RedHat, Debian families)
  • Mac OS X

Examples

To install the Android SDK in the default location (/usr/local/android on both Linux and Mac OS X) you simply include the android class like so.

  include android

You can also change the default parameters like so:

  class { 'android':
    user       => 'someuser',
    group      => 'somegroup',
    installdir => '/path/to/your/dir',
  }

To install an android platform, do it like so:

  android::platform { 'android-16': }

You can also install add-ons:

  android::addon { 'addon-google_apis-google-16': }

Or extra's:

  android::extra { 'extra-google-play_billing' }

To install Android SDK Build-tools, revision 19.0.1

  android::build_tools { 'build-tools-19.0.1': }

Tip: to get the appropriate name of the add-ons/extras run the following command:

/usr/local/android/android-sdk-macosx/tools/android list sdk -u --all --extended|grep " or "

License

  Copyright 2012-2014 MaestroDev

  Licensed under the Apache License, Version 2.0 (the "License");
  you may not use this file except in compliance with the License.
  You may obtain a copy of the License at

      http://www.apache.org/licenses/LICENSE-2.0

  Unless required by applicable law or agreed to in writing, software
  distributed under the License is distributed on an "AS IS" BASIS,
  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  See the License for the specific language governing permissions and
  limitations under the License.