~mertkirpici/charm-nrpe:topic/cpu_governor_check

Last commit made on 2022-08-11
Get this branch:
git clone -b topic/cpu_governor_check https://git.launchpad.net/~mertkirpici/charm-nrpe
Only Mert Kirpici can upload to this branch. If you are Mert Kirpici please log in for upload directions.

Branch merges

Branch information

Name:
topic/cpu_governor_check
Repository:
lp:~mertkirpici/charm-nrpe

Recent commits

b050270... by Mert Kirpici

tests/unit: add tests for cpu governor check

Signed-off-by: Mert Kırpıcı <email address hidden>

f8d459c... by Mert Kirpici

nrpe_helpers: set default cpu governor checks

From now on we are setting a default check of the value "performance"
for selected principle charms within the nrpe charm code. The old
behavior was to get this default value through the
nrpe-external-master relation.

One side effect to note is that `juju config` will report empty
configuration, however that was also the case for the previous
implementation. This new approach is saving us from updating every
single charm code that we want to introduce a default behavior.

Signed-off-by: Mert Kırpıcı <email address hidden>

89ab360... by Mert Kirpici

Make unittests and lint targets green again

Reviewed-on: https://code.launchpad.net/~mertkirpici/charm-nrpe/+git/charm-nrpe/+merge/428201
Reviewed-by: Eric Chen <email address hidden>

0b2353f... by Mert Kirpici

tests/unit: adjust cis_audit default arg change

Related: #1983350
Signed-off-by: Mert Kırpıcı <email address hidden>

83d4ab4... by Mert Kirpici

lint: add line break in check_ro_filesystem.py

Signed-off-by: Mert Kırpıcı <email address hidden>

39071e1... by Nikita Koltsov

Change default value for max-age to fix 1983350

Reviewed-on: https://code.launchpad.net/~nkoltsov/charm-nrpe/+git/charm-nrpe/+merge/427713
Reviewed-by: Eric Chen <email address hidden>

12724fd... by Felipe Reyes

Add Jammy support.

Reviewed-on: https://code.launchpad.net/~freyes/charm-nrpe/+git/nrpe-charm/+merge/425257
Reviewed-by: Eric Chen <email address hidden>
Reviewed-by: Przemyslaw Lal <email address hidden>
Reviewed-by: Corey Bryant <email address hidden>

63eaa23... by Nikita Koltsov

Change default value for max-age to fix 1983350

dcbb810... by Felipe Reyes

Add Jammy support.

- Add a bundle to test jammy
- Add jammy to metadata.yaml
- Add 22.04 to run-on in charmcraft.yaml

67c10fb... by Felipe Reyes

Update get_partitions_check to handle jammy.

The version of lsblk available in jammy gives a different output than
the one in earlier ubuntu versions, now the mount point is a list
available in the "mountpoints" key, while in the past it was a single
string in the "mountpoint" key.