Forge Home

aws_ebs

Attaches, formats and mounts AWS EBS disks

20,062 downloads

4,981 latest version

4.3 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.

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

  • 0.5.3 (latest)
  • 0.5.2
  • 0.5.1
  • 0.5.0
  • 0.5.0-rc2 (pre-release)
  • 0.5.0-rc1 (pre-release)
  • 0.5.0-alpha3
  • 0.5.0-alpha2
  • 0.5.0-alpha1
  • 0.4.1
  • 0.4.1-rc1 (pre-release)
  • 0.4.0
  • 0.4.0-rc4 (pre-release)
  • 0.4.0-rc3 (pre-release)
  • 0.4.0-rc2 (pre-release)
  • 0.4.0-rc1 (pre-release)
  • 0.3.0
  • 0.3.0-rc5 (pre-release)
  • 0.3.0-rc4 (pre-release)
  • 0.3.0-rc3 (pre-release)
  • 0.3.0-rc2 (pre-release)
  • 0.2.1
  • 0.2.0
  • 0.2.0-rc5 (pre-release)
  • 0.2.0-rc3 (pre-release)
  • 0.2.0-rc2 (pre-release)
  • 0.1.2
  • 0.1.2-rc3 (pre-release)
  • 0.1.2-rc2 (pre-release)
released Dec 21st 2018
This version is compatible with:
  • Puppet Enterprise 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >=4.0.0 <5.0.0
  • ,

Start using this module

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

Add this module to your Puppetfile:

mod 'jetstack-aws_ebs', '0.5.3'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add jetstack-aws_ebs
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install jetstack-aws_ebs --version 0.5.3

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

jetstack/aws_ebs — version 0.5.3 Dec 21st 2018

aws_ebs

Table of Contents

  1. Description
  2. Classes
  3. Defined Types

Description

This module is part of Tarmak and should currently be considered alpha.

Travis

Classes

aws_ebs

This module attaches, formats (if needed) and mounts EBS volumes in AWS. This base class just makes sure that all the necessary dependencies are met. To actually attach & mount a volume you have to use the defined type aws_ebs::mount

Parameters

bin_dir
  • path to the binary directory for helper scripts
  • Type: String
  • Default: '/opt/bin'
systemd_dir
  • path to the directory where systemd units should be placed
  • Type: String
  • Default: '/etc/systemd/system'

Examples

Declaring the base class
include ::aws_ebs
Override binary directory (needs to exist)
class{'aws_ebs':
  bin_dir => '/usr/local/sbin',
}

DefinedTypes

aws_ebs::mount

This defined type attaches, formats (if needed) and mounts a single EBS volume in AWS.

Parameters

volume_id
  • the volume id of the AWS EBS volume
  • Type: String
dest_path
  • where to mount the device (needs to exists)
  • Type: String
device
  • block device to attach to (should be /dev/xvd[a-z])
  • Type: String
filesystem
  • select the filesystem to initialize a volume
  • Type: Enum['xfs']
  • Default: 'xfs'

Examples

Attach, format & mount EBS volume
aws_ebs::mount{'data':
  volume_id => 'vol-deadbeef',
  device    => '/dev/xvdd',
  dest_path => '/mnt',
}