s3

contributions requested
This module adds s3 download capability with file resource controls

9,619 downloads

9,003 latest version

3.9 quality score

Support the Puppet Community by contributing to this module

You are welcome to contribute to this module by suggesting new features, currency updates, or fixes. Every contribution is valuable to help ensure that the module remains compatible with the latest Puppet versions and continues to meet community needs. Complete the following steps:

  1. Review the module’s contribution guidelines and any licenses. Ensure that your planned contribution aligns with the author’s standards and any legal requirements.
  2. Fork the repository on GitHub, make changes on a branch of your fork, and submit a pull request. The pull request must clearly document your proposed change.

For questions about updating the module, contact the module’s author.

Version information

  • 99.99.99 (latest)
  • 0.1.6 (deleted)
  • 0.1.5 (deleted)
  • 0.1.0 (deleted)
released May 15th 2015
This version is compatible with:
  • RedHat|OracleLinux
    ,
    Ubuntu

Start using this module

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

Add this module to your Puppetfile:

mod 'marsupermammal-s3', '99.99.99'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add marsupermammal-s3
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install marsupermammal-s3 --version 99.99.99

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

marsupermammal/s3 — version 99.99.99 May 15th 2015

Depricating this module. Turns out the wheel didn't need reinventing. Please see nanliu/staging.

Function: This module is used to pull files from AWS S3 locations using the aws ruby SDK, aws cli, or curl mechanisms. It supports both single file and recursive directory sync. It also allows you to manage the files pulled from S3 with common parameters of the Puppet file resource, such as owner, group and mode.

Usage: In the desired manifest, add include s3 class { 's3': } or to control installing the awscli class { s3: include_tools => true, } Then declare resources: Single file: s3::cp { 'name of file to be created':
bucket => 's3 bucket location, in format s3://bucket_name', source => 'path after bucket in s3', dest_path => 'path the file should be copied to locally', s3name => 'name of file on s3', owner => 'owner_name', group => 'group_name', mode => 'mode', }

Recursive Directory: s3::sync { 'name of directory to sync "equiv to $source above"': bucket => 's3 bucket location, in format s3://bucket_name', dest_path => 'top level location to sync directories, should be parent dir of $source/$namevar', owner => 'owner_name', group => 'group_name', mode => 'mode', }