landcareresearch-amazon_s3

Manages mounting s3 buckets.


License
GPL-3.0+
Install
puppet module install landcareresearch-amazon_s3 --version 6.0.0

Documentation

amazon_s3

Puppet Forge Bitbucket Build Status

Overview

Manages mounting s3 buckets.

Module Description

Compiles and installs s3fs-fuse (from source) to provide support for mounting S3 buckets. See: s3fs-fuse.

Using the system packages is now an option if compilation is not required.

Setup

Requirements for amazon_s3

Beginning with amazon_s3

To install s3fs and setup the configuration for mounting with default parameters. Note, its recommended to NOT store the access key or secret key in your puppet manifest. Its a good practice to use hiera and eyaml.

   class {'amazon_s3':
    aws_access_key    => 'ACCESS_KEY',
    secret_access_key => 'SECRET_KEY',
   }

Creates a mount with default parameters.

   amazon_s3::s3_mount{'s3_mount':
    mount_point => '/mnt/s3_mount',
    require     => Class['amazon_s3'],
   }

Limitations

Only works with debian and redhat based OS's.

Development

The module is open source and available on Bitbucket. Please fork!