aws_ebs

Attaches, formats and mounts AWS EBS disks

Jetstack Ltd

jetstack

15,293 downloads

3,476 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
  • RedHat
    ,
    CentOS

Start using this module

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',
}