Forge Home

android

Android SDK module for Puppet

23,876 downloads

12,452 latest version

5.0 quality score

Version information

  • 1.3.1 (latest)
  • 1.2.0
  • 1.1.17
  • 1.1.16
  • 1.1.15
  • 1.1.14
  • 1.1.13
  • 1.1.12
  • 1.1.11
  • 1.1.10
  • 1.1.9
  • 1.1.8
  • 1.1.7
  • 1.1.6
  • 1.1.5
  • 1.1.4
  • 1.1.3
  • 1.1.2
  • 1.1.1
  • 1.1.0
  • 1.0.1
  • 1.0.0 (deleted)
released Dec 24th 2015
This version is compatible with:
  • Puppet Enterprise >=3.2.0
  • Puppet >=3.0.0
  • RedHat
    ,
    CentOS
    ,
    OracleLinux
    ,
    Scientific
    ,
    SLES
    ,
    Debian
    ,
    Ubuntu
    ,
    Solaris
    ,
    AIX
    ,
    Darwin

Start using this module

  • r10k or Code Manager
  • Bolt
  • Manual installation
  • Direct download

Add this module to your Puppetfile:

mod 'maestrodev-android', '1.3.1'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add maestrodev-android
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install maestrodev-android --version 1.3.1

Direct download is not typically how you would use a Puppet module to manage your infrastructure, but you may want to download the module in order to inspect the code.

Download
Tags: android, sdk, mobile

Documentation

maestrodev/android — version 1.3.1 Dec 24th 2015

Puppet Module for Android SDK

Build Status

This Puppet module is used to install the Android SDK and NDK, along with platforms and other add-ons. You may need to install Java separately.

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.

class { 'java': } ->
class { 'android': }

You can also change the default parameters like so:

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

You can install the Android NDK like so:

class { 'android::ndk' :
  ndk_version => 'android-ndk-r10c-linux-x86_64.bin'
}

Note that the NDK is downloaded and executed, so only newer NDK versions are supported. The older tar archives will not work properly.

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.