Forge Home

ssm_agent

Install, deploysm, and configures AWS ssm agent services.

61,980 downloads

60,776 latest version

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

Version information

  • 0.1.4 (latest)
  • 0.1.3
  • 0.1.2
  • 0.1.1
  • 0.1.0
released May 22nd 2017
This version is compatible with:
  • Puppet Enterprise 2023.6.x, 2023.5.x, 2023.4.x, 2023.3.x, 2023.2.x, 2023.1.x, 2023.0.x, 2021.7.x, 2021.6.x, 2021.5.x, 2021.4.x, 2021.3.x, 2021.2.x, 2021.1.x, 2021.0.x, 2019.8.x, 2019.7.x, 2019.5.x, 2019.4.x, 2019.3.x, 2019.2.x, 2019.1.x, 2019.0.x, 2018.1.x, 2017.3.x, 2017.2.x, 2017.1.x, 2016.5.x, 2016.4.x
  • Puppet >= 4.0.0
  • , , ,

Start using this module

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

Add this module to your Puppetfile:

mod 'shazi7804-ssm_agent', '0.1.0'
Learn more about managing modules with a Puppetfile

Add this module to your Bolt project:

bolt module add shazi7804-ssm_agent
Learn more about using this module with an existing project

Manually install this module globally with Puppet module tool:

puppet module install shazi7804-ssm_agent --version 0.1.0

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

shazi7804/ssm_agent — version 0.1.0 May 22nd 2017

ssm_agent

Table of Contents

  1. Description
  2. Setup - The basics of getting started with ssm_agent
  3. Usage - Configuration options and additional functionality
  4. Reference - An under-the-hood peek at what the module is doing and how
  5. Limitations - OS compatibility, etc.
  6. Development - Guide for contributing to the module

Description

The ssm agent module installs, configures, and manages the AWS ssm agent service across a range of operating systems and distributions.

Setup

Beginning with ssm_agent

include '::ssm_agent' is enough to get you up and running. To pass in parameters specifying which download url to use:

class { '::ssm_agentntp':
  ssm_agent_url => 'https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_amd64/amazon-ssm-agent.deb',
}

Usage

All parameters for the ntp module are contained within the main ::ssm_agent class, so for any function of the module, set the options you want. See the common usages below for examples.

Install and enable SSM Agent

include '::ssm_agent'

Change SSM Agent download package

class { '::ssm_agent':
  ssm_agent_url => 'https://s3.amazonaws.com/ec2-downloads-windows/SSMAgent/latest/debian_amd64/amazon-ssm-agent.deb',
}

Configuring SSM Agent to Use a Proxy

class { '::ssm_agent':
  http_proxy  => 'http://change.proxy.com:3128',
  no_proxy    => '169.254.169.254',
}

Install at On-Premises

class { '::ssm_agent::onpremises':
  aws_access_key_id      => 'change your aws access key id',
  aws_secret_access_key  => 'change your aws secret access key',
  aws_output             => 'json',
  aws_region             => 'us-west-2'
}

Reference

Classes

Public classes

  • ssm_agent: Main class, includes all other classes.

Private classes

  • ssm_agent::install: Handles the packages.
  • ssm_agent::config: Handles the configuration file.
  • ssm_agent::service: Handles the service.
  • ssm_agent::onpremises: Handles the On-Premises setting.

Limitations

This is where you list OS compatibility, version compatibility, etc. If there are Known Issues, you might want to include them under their own heading here.

Development

Since your module is awesome, other users will want to play with it. Let them know what the ground rules for contributing are.

Release Notes/Contributors/Etc. Optional

If you aren't using changelog, put your release notes here (though you should consider using changelog). You can also add any additional sections you feel are necessary or important to include here. Please use the ## header.