diff --git a/README.md b/README.md index 19ce8f7..efd2e1d 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/manifests/init.pp b/manifests/init.pp index 292c8af..a03e542 100644 --- a/manifests/init.pp +++ b/manifests/init.pp @@ -1,6 +1,7 @@ class octo_base ( $awscli_version = '1.25.46', $aws_inspector = true, + $amazon_ssm_agent = true, ) { # Validate params if !$awscli_version { @@ -101,7 +102,9 @@ } } - include 'octo_base::amazon_ssm_agent' + if $amazon_ssm_agent == true { + include 'octo_base::amazon_ssm_agent' + } } # lint:ignore:140chars diff --git a/metadata.json b/metadata.json index fa6bcc5..dc0b263 100644 --- a/metadata.json +++ b/metadata.json @@ -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",