Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix rule chronyd_or_ntpd_set_maxpoll #11960

Merged
merged 1 commit into from
May 8, 2024

Conversation

jan-cerny
Copy link
Collaborator

Rule chronyd_or_ntpd_set_maxpoll was failing Ansible remediation in the STIG profile.

The reason was that the configuration was changed by a remediation for chronyd_specify_remote_server which was executed later than remediation for chronyd_or_ntpd_set_maxpoll. This problem will be fixed by explicit ordering for the rule chronyd_specify_remote_server, which will be put before chronyd_or_ntpd_set_maxpoll. This change will put chronyd_specify_remote_server before other rules in the ntp group.

Fixes: #11934

This change will put chronyd_specify_remote_server before
other rules in the ntp group.

Fixes: ComplianceAsCode#11934
@jan-cerny jan-cerny added the productization-issue Issue found in upstream stabilization process. label May 7, 2024
Copy link

github-actions bot commented May 7, 2024

Start a new ephemeral environment with changes proposed in this pull request:

Fedora Environment
Open in Gitpod

Oracle Linux 8 Environment
Open in Gitpod

Copy link

github-actions bot commented May 7, 2024

🤖 A k8s content image for this PR is available at:
ghcr.io/complianceascode/k8scontent:11960
This image was built from commit: 58d8c88

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:11960

Otherwise deploy the content and operator together by checking out ComplianceAsCode/compliance-operator and:
CONTENT_IMAGE=ghcr.io/complianceascode/k8scontent:11960 make deploy-local

Copy link

codeclimate bot commented May 7, 2024

Code Climate has analyzed commit 58d8c88 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.

@Mab879 Mab879 self-assigned this May 7, 2024
@Mab879
Copy link
Member

Mab879 commented May 7, 2024

/packit retest-failed

@Mab879 Mab879 merged commit 954ec3e into ComplianceAsCode:master May 8, 2024
113 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
productization-issue Issue found in upstream stabilization process.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

chronyd_or_ntpd_set_maxpoll is not remediated by Ansible
2 participants