Commit ed3fffa
Guard OVAL def-group for debian/ubuntu/sle products only
Wrap <def-group> inside the existing {{% if %}} block in
pwhistory_remember and pwquality_enabled shared.xml files so that
products without /etc/pam.d/common-password (e.g. RHEL8/UBI8) produce
empty OVAL output instead of a Jinja2 undefined-variable error.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 4389109 commit ed3fffa
2 files changed
Lines changed: 3 additions & 2 deletions
File tree
- linux_os/guide/system/accounts/accounts-pam
- locking_out_password_attempts/accounts_password_pam_pwhistory_remember/oval
- password_quality/password_quality_pwquality/accounts_password_pam_pwquality_enabled/oval
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | 3 | | |
5 | 4 | | |
6 | 5 | | |
| |||
56 | 55 | | |
57 | 56 | | |
58 | 57 | | |
| 58 | + | |
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
0 commit comments