Puppet module providing common functionality for Octopus Energy machines.
After any change made to the base manifest, there's three things that need to be done to push the change to production.
-
The change needs to be committed and pushed to the
octo_base
repo. -
The version number in the
metadata.json
file needs to be incremented. -
The octo_base repository needs to have a new release created. Once your change has been merged, including the version number change, you can create a release here.
The tag should match the version you specified in the
metadata.json
file, including thev.
, so if you incremented the version tov1.38
you need to tag it asv1.38
. The same applies to the release title. The assets are generated automatically, so no need to zip / upload anything. -
In the
kraken-core
repo, you need to change the version for theoctoenergy-octo_base
module to match the version specified above. There's two places this change is made: In the Puppetfile, only the version line needs to change. In the Puppetfile.lock, the version number and the SHA need to change. You can get the SHA of the release on the releases page of the octo_base repo.
- Add option to include/exclude ssm-agent
- Update unnecessary package list to not remove snapd on newer ubuntu images
- Add puppet tooling
- $vagrant must be set to 1 to work
- Fix pip install of awscli
- Update awscli from v1.16.119 to v1.25.46
- Update libssl from v1.1 to v3
- Ensure AWS Inspector installs on Ubuntu 22.04
- Fix broken CW agent config
- Switch CW agent to run as root
- Fixed missing comma
- Change CW Agent logfile location
- Change dpkg.log to apt logfile
- Add
omit hostname
and aggregate based onInstanceName
- Fix namespace and CW dimensions
- Remove awslogs and replace it with CW Agent
- Add another DiskUsedPercentage Cloudwatch metric with new dimensions
- Ensure AWS Inspector installs on Ubuntu 20.04
- Allow AWS Inspector to be optional
- Fix bug with how dimensions are associated with metrics
- Forward system log files to Cloudwatch
- Batch Cloudwatch PutMetricData to a single AWSCLI call for
collect-system-metrics.sh
- Disable AWS Inspector in Vagrant builds
- Set default umask to 027
- Actually fix CIS hardening problem with
/var/log/
.
- Attempts to fix CIS hardening problem with
/var/log/
.
- Exclude
/etc/cron.d/
from CIS permission tightening
- Fix for sysctl not loading late enough in the boot sequence
- CIS Level 1 Server
- Fix broken AWS inspector key
- CIS hardening
- Add SSM agent.
- Add AWS inspector.
- Add region variable to accommodate deployments in other regions.
- Ensure AWS logs nanny is not installed unnecessarily.
- Ensure AWS logs config updates correctly.
- Correct memory calculations for Ubuntu 18.04 in metrics script
- Remove changes from 1.10 (found a better way to solve same problem)
- Use Python 3 for
awscli
- Purge unattended updates at start (to allow other apt commands to not get locked out).
- Use lower min versions in dependency version ranges
- Use version ranges in dependencies
- Fix (another) bug in metrics script around disk usage
- Install packages required for monitoring script in Ubuntu 16:04 and later
- Fix bug in metrics script around disk usage
- Fix issue with
apt-get upgrade
returning a exit code of 100
- Use
--fix-missing
when callingapt-get upgrade
.
- Call
autoremove
afterupdate
andupgrade
- Make
upgrade
call more robust using a timeout and retrying
- Extend system monitoring script to work in Ubuntu 16.04
- Add locking to the system metrics file
- AWSCLI version bump
- Cloudwatch logs integration
- AWSCLI version bump
- Unattended upgrades installed by default.
Initial version