Gsutil puppet module installs, configures gsutils to access Google cloud storage through command line.
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
1.Create a puppet manifest in the puppet master.
2.Include the gsutil package inside the manifest.
include gsutil3.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 -d4.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/gsutilTested on CentOS6. To be tested on other flavors.
This module is based on work by Gobu Natarajan, Sree Hari Krishna and Ram Vittal.
Interested contributors can touch base with Gobu ([email protected]) or Ram Vittal ([email protected])