Overview

Gsutil puppet module installs, configures gsutils to access Google cloud storage through command line.

Module Description

Gsutil puppet module helps the users to install the gsutil utility automatically in puppet agent using the manifest configured in puppet master, avoids human intervention and hassle free installation of gsutil command line utility to access the Google cloud storage

Setup

1.Create a puppet manifest in the puppet master.

2.Include the gsutil package inside the manifest.

       include gsutil

3.Retrieve the catalog changes from puppet agent in case if its manually configured or wait for the runtime interval configured in case if its automatically configured.

       puppet agent -t -d

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

5.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/install_gsutil.sh
      export PATH=$PATH:/opt/gsutil

Limitations

Tested on CentOS,Ubuntu and Debian. To be tested on other flavors.

Authors

This module is based on work by Gobu Natarajan, Sree Hari Krishna, Pradeep Kumar and Ram Vittal.

Development

Interested contributors can touch base with Gobu (gobu.natarajan@gmail.com) or Ram Vittal (ramvittal@gmail.com)