Skip to content

Commit

Permalink
Redefine oscap prerequisite for upstream (theforeman#3159)
Browse files Browse the repository at this point in the history
  • Loading branch information
Lennonka authored and apinnick committed Jul 25, 2024
1 parent 0efb6f7 commit 83dce3f
Show file tree
Hide file tree
Showing 6 changed files with 28 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif::[]
ifndef::satellite[]
For more information, see xref:Installing_the_OpenSCAP_Plugin_{context}[].
endif::[]
include::snip_prerequisite-rhel-repositories.adoc[]
include::snip_prerequisite-repositories-with-oscap.adoc[]
* You have enabled and synced the {project-client-name} repository to {Project}, and enabled it on the hosts.
* You have xref:Creating_a_Compliance_Policy_{context}[created a compliance policy] with the Ansible deployment option and assigned the host group.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif::[]
ifndef::satellite[]
For more information, see xref:Installing_the_OpenSCAP_Plugin_{context}[].
endif::[]
include::snip_prerequisite-rhel-repositories.adoc[]
include::snip_prerequisite-repositories-with-oscap.adoc[]
* You have enabled and synced the {project-client-name} repository to {Project}, and enabled it on the hosts.
* You have xref:Creating_a_Compliance_Policy_{context}[created a compliance policy] with the Puppet deployment option and assigned the host group.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif::[]
ifndef::satellite[]
For more information, see xref:Installing_the_OpenSCAP_Plugin_{context}[].
endif::[]
include::snip_prerequisite-rhel-repositories.adoc[]
include::snip_prerequisite-repositories-with-oscap.adoc[]
* You have enabled and synced the {project-client-name} repository to {Project}, and enabled it on the host.
* You have xref:Creating_a_Compliance_Policy_{context}[created a compliance policy] with the Ansible deployment option.

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ endif::[]
ifndef::satellite[]
For more information, see xref:Installing_the_OpenSCAP_Plugin_{context}[].
endif::[]
include::snip_prerequisite-rhel-repositories.adoc[]
include::snip_prerequisite-repositories-with-oscap.adoc[]
* You have enabled and synced the {project-client-name} repository to {Project}, and enabled it on the host.
* You have xref:Creating_a_Compliance_Policy_{context}[created a compliance policy] with the Puppet deployment option.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
ifdef::foreman-el,foreman-deb[]
* Ensure that a repository that provides the `openscap-scanner` package and its dependencies is enabled on the host.
endif::[]
ifndef::foreman-el,foreman-deb[]
* Repositories for the operating system version of the host are synchronized on {ProjectServer} and enabled on the host.
ifdef::client-content-dnf[]
ifndef::satellite[]
For example, for {EL} you might require:
endif::[]
** {EL} 9 BaseOS and Appstream RPMs repositories
** {EL} 8 BaseOS and Appstream RPMs repositories
** {EL} 7 Server and Extras RPMs repositories
endif::[]
endif::[]
ifndef::client-content-dnf[]
You might require:
** For Ubuntu 24.04 "Noble": Suite `noble` and components `main universe`
** For Debian 12 "Bookworm": Suite `bookworm` and component `main`
endif::[]
ifndef::satellite[]

+
You need repositories that provide the `openscap-scanner` package and its dependencies.
endif::[]

This file was deleted.

0 comments on commit 83dce3f

Please sign in to comment.