Fixes debian
Description:
- update debian12 profiles
- update a chronyd rule to handle debian /etc sub-directories organization.
- fix a regex in sysctl template
Hi @a-skr. Thanks for your PR.
I'm waiting for a ComplianceAsCode member to verify that this patch is reasonable to test. If it is, they should reply with /ok-to-test on its own line. Until that is done, I will not automatically test new commits in this PR, but the usual testing commands by org members will still work. Regular contributors should join the org to skip this step.
Once the patch is verified, the new status will be reflected by the ok-to-test label.
I understand the commands that are listed here.
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository.
Start a new ephemeral environment with changes proposed in this pull request:
rhel8 (from CTF) Environment (using Fedora as testing environment)
:robot: A k8s content image for this PR is available at:
ghcr.io/complianceascode/k8scontent:12084
This image was built from commit: ded9af26205d36aab9a08383a502528c9387c1a2
Click here to see how to deploy it
If you alread have Compliance Operator deployed:
utils/build_ds_container.py -i ghcr.io/complianceascode/k8scontent:12084
Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and:
CONTENT_IMAGE=ghcr.io/complianceascode/k8scontent:12084 make deploy-local
/packit build
Code Climate has analyzed commit ded9af26 and detected 0 issues on this pull request.
The test coverage on the diff in this pull request is 100.0% (50% is the threshold).
This pull request will bring the total coverage in the repository to 59.4% (0.0% change).
View more on Code Climate.
Automatus passes locally
$ ./automatus.py rule --datastream ../build/ssg-rhel9-ds.xml --remediate-using bash --libvirt qemu:///system automatus_rhel9_4 chronyd_specify_remote_server
Setting console output to log level INFO
INFO - The base image option has not been specified, choosing libvirt-based test environment.
INFO - Logging into /home/mburket/Developer/ComplianceAsCode/content/tests/logs/rule-custom-2024-08-02-1247/test_suite.log
INFO - xccdf_org.ssgproject.content_rule_chronyd_specify_remote_server
INFO - Script correct.pass.sh using profile (all) OK
INFO - Script correct_pool.pass.sh using profile (all) OK
INFO - Script file_empty.fail.sh using profile (all) OK
INFO - Script file_missing.fail.sh using profile (all) OK
INFO - Script line_missing.fail.sh using profile (all) OK
INFO - Script multiple_servers.pass.sh using profile (all) OK
INFO - Script server_not_specified.fail.sh using profile (all) OK