Version information
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
Add this module to your Puppetfile:
mod 'jetstack-aws_ebs', '0.5.3'
Learn more about managing modules with a PuppetfileDocumentation
jetstack/aws_ebs — version 0.5.3 Dec 21st 2018
aws_ebs
Table of Contents
Description
This module is part of Tarmak and should currently be considered alpha.
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',
}
Dependencies
- puppetlabs-stdlib (>= 4.2.0 < 5.0.0)