Skip to content

Commit

Permalink
Update platforms in docs and workshops
Browse files Browse the repository at this point in the history
  • Loading branch information
Mab879 committed Jun 26, 2024
1 parent 6084040 commit 2bd7a38
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/manual/developer/03_creating_content.md
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ their `product.yml` file using `benchmark_root` key. For example,

$ cat products/rhel9/product.yml
product: rhel9
full_name: Red Hat Enterprise Linux 7
full_name: Red Hat Enterprise Linux 9
type: platform

benchmark_root: "../linux_os/guide"
Expand Down
2 changes: 1 addition & 1 deletion docs/manual/developer/06_contributing_with_content.md
Original file line number Diff line number Diff line change
Expand Up @@ -1021,7 +1021,7 @@ of supported platforms.
Following, you can see an example of a bash remediation that sets the
maximum number of days a password may be used:
# platform = Red Hat Enterprise Linux 7
# platform = Red Hat Enterprise Linux 10
{{{ bash_instantiate_variables("var_accounts_maximum_age_login_defs) }}}
grep -q ^PASS_MAX_DAYS /etc/login.defs && \
Expand Down
2 changes: 1 addition & 1 deletion docs/workshop/data/accounts_tmout/bash/shared.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# platform = Red Hat Enterprise Linux 7,Red Hat Enterprise Linux 8,multi_platform_fedora,multi_platform_ol
# platform = Red Hat Enterprise Linux 8,multi_platform_fedora,multi_platform_ol
{{{ bash_instantiate_variables("var_accounts_tmout") }}}

if grep --silent ^TMOUT /etc/profile ; then
Expand Down
4 changes: 2 additions & 2 deletions tests/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ The header consists of comments (starting by `#`). Possible keys are:
for any platform-specific names in the `platform_package_overrides` field.
- `platform` is a comma-separated list of platforms where the test scenario can
be run. This is similar to `platform` used in our remediations. Examples of
values: `multi_platform_rhel`, `Red Hat Enterprise Linux 7`,
values: `multi_platform_rhel`, `Red Hat Enterprise Linux 10`,
`multi_platform_all`. If `platform` is not specified in the header,
`multi_platform_all` is assumed.
- `profiles` is a comma-separated list of profiles to which this scenario is
Expand Down Expand Up @@ -205,7 +205,7 @@ Using `platform` and `variables` metadata:

```bash
#!/bin/bash
# platform = Red Hat Enterprise Linux 7,multi_platform_fedora
# platform = Red Hat Enterprise Linux 9,multi_platform_fedora
# variables = auth_enabled=yes,var_example_1=value_example

echo "KerberosAuthentication $auth_enabled" >> /etc/ssh/sshd_config
Expand Down

0 comments on commit 2bd7a38

Please sign in to comment.