Forge Home

gcloudsdk

Installs Google Cloud SDK with selected tools

12,271 downloads

12,016 latest version

3.5 quality score

We run a couple of automated
scans to help you access a
module's quality. Each module is
given a score based on how well
the author has formatted their
code and documentation and
modules are also checked for
malware using VirusTotal.

Please note, the information below
is for guidance only and neither of
these methods should be considered
an endorsement by Puppet.

Version information

  • 1.2.0 (latest)
  • 1.1.0
  • 1.0.0
  • 0.1.0 (deleted)
released May 11th 2016
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 3.8.4 < 5.0.0
  • CentOS, Ubuntu, Debian

Start using this module

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

Add this module to your Puppetfile:

mod 'RanjithKumar45-gcloudsdk', '1.2.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add RanjithKumar45-gcloudsdk
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install RanjithKumar45-gcloudsdk --version 1.2.0

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

Documentation

RanjithKumar45/gcloudsdk — version 1.2.0 May 11th 2016

gcloudsdk

Table of Contents

  1. Overview
  2. Module Description
  3. Usage
  4. Authors
  5. Development

Overview

Download and Install Google Cloud Sdk.

Module Description

Google Cloud SDK is a set of tools that you can use to manage resources and applications hosted on Google Cloud Platform.

These tools include:

  • gcloud
  • gsutil
  • core
  • bq
  • kubectl
  • app-engine-python
  • app-engine-java
  • beta
  • alpha
  • pubsub-emulator
  • gcd-emulator

Usage

If you just want a Google Cloud SDK installation with the default options you can run :

By default, Install Latest Version of SDK with following tools:

  • gcloud
  • gsutil
  • core
  • bq
include gcloudsdk

If you need to customize version and install_dir configuration option you need to do the following:

class { 'gcloudsdk':
     version   => '108.0.0',
     install_dir = '/opt'
}

If you need to customize tools installation option you need to do the following:

class { 'gcloudsdk':
     is_install_gcloud => true
     is_install_gsutil => true
     is_install_core => true
     is_install_bq => true
     is_install_kubectl => false
     is_install_app_engine_python => true
     is_install_app_engine_java => true
     is_install_beta => false
     is_install_alpha => false
     is_install_pubsub_emulator => false
     is_install_gcd_emulator => false
}

Restart the shell or terminal after gsutil package is installed. This will set the path of gsutil in the default environment path variable.

Alternatively, you can source install_gsutil.sh shell script by executing the following command or export the path to configure gsutil to work without restarting the shell.

      source /etc/profile.d/gcloud_path.sh
      export PATH=$PATH:${install_dir}/google-cloud-sdk/bin

Authors

This module is based on work by Ranjith Kumar.

Development

Interested contributors can touch base with Ranjith (kumar.sree45@gmail.com)