AWS CodeDeploy Puppet Module
Table of Contents
- Overview
- Module Description - What the module does and why it is useful
- Setup - The basics of getting started with codedeploy
- Usage - Configuration options and additional functionality
- Limitations - OS compatibility, etc.
Overview
This module installs and enables the AWS CodeDeploy agent.
Module Description
The AWS Codedeploy allows you to automatically deploy applications to AWS instances from S3 or GitHub. This module installs any required packages followed by the CodeDeploy agent. It then enables the codedeploy-agent service and ensures that it is running.
Setup
What codedeploy affects
- Packages
- codedeploy-agent
- awscli (Debian)
- Services
- codedeploy-agent daemon
Usage
The codedeploy-agent package requires a version of Ruby > 2.0.x to be installed under /usr/bin/ruby. This dependency must be satisfied prior to installing the codedeploy-agent package. The recommended way of doing this is via the puppetlabs/ruby module.
Install the AWS CodeDeploy agent and ensure the agent is running
include '::ruby'
include '::codedeploy'