Skip to content

Commit

Permalink
Add option to include ssm agent
Browse files Browse the repository at this point in the history
  • Loading branch information
maddocash committed Sep 19, 2023
1 parent eb9bb26 commit e7216d7
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ After any change made to the base manifest, there's three things that need to be

## Changelog

### v1.46

- Add option to include/exclude ssm-agent

### v1.45

- Update unnecessary package list to not remove snapd on newer ubuntu images
Expand Down
5 changes: 4 additions & 1 deletion manifests/init.pp
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
class octo_base (
$awscli_version = '1.25.46',
$aws_inspector = true,
$amazon_ssm_agent = true,
) {
# Validate params
if !$awscli_version {
Expand Down Expand Up @@ -101,7 +102,9 @@
}
}

include 'octo_base::amazon_ssm_agent'
if $amazon_ssm_agent == true {
include 'octo_base::amazon_ssm_agent'
}
}

# lint:ignore:140chars
Expand Down
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "octoenergy-octo_base",
"version": "1.45",
"version": "1.46",
"author": "Octopus Energy",
"license": "BSD",
"summary": "Base machine functionality for Octopus Energy",
Expand Down

0 comments on commit e7216d7

Please sign in to comment.