Forge Home

aws_ebs

Attaches, formats and mounts AWS EBS disks

17,478 downloads

4,651 latest version

4.3 quality score

Version information

  • 0.5.3 (latest)
  • 0.5.2
  • 0.5.1
  • 0.5.0-rc2
  • 0.5.0-rc1
  • 0.5.0-alpha3
  • 0.5.0-alpha2
  • 0.5.0-alpha1
  • 0.5.0
  • 0.4.1-rc1
  • 0.4.1
  • 0.4.0-rc4
  • 0.4.0-rc3
  • 0.4.0-rc2
  • 0.4.0-rc1
  • 0.4.0
  • 0.3.0-rc5
  • 0.3.0-rc4
  • 0.3.0-rc3
  • 0.3.0-rc2
  • 0.3.0
  • 0.2.1
  • 0.2.0-rc5
  • 0.2.0-rc3
  • 0.2.0-rc2
  • 0.2.0
  • 0.1.2-rc3
  • 0.1.2-rc2
  • 0.1.2
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',
}