Skip to content

Commit 5d68582

Browse files
committed
further fixes
1 parent 2607b1b commit 5d68582

25 files changed

+108
-79
lines changed

linux_os/guide/auditing/var_audit_backlog_limit.var

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description: |-
88
records can be held in the backlog queue before the audit daemon
99
starts processing them.
1010

11-
type: string
11+
type: number
1212

1313
operator: greater than or equal
1414

shared/templates/grub2_bootloader_argument/ansible.template

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
# complexity = medium
55
# disruption = low
66

7-
{{% if ARG_VARIABLE %}}
7+
{{% if ARG_MINIMAL_VALUE %}}
8+
{{{ ansible_instantiate_variables(ARG_MINIMAL_VALUE) }}}
9+
{{% set ARG_NAME_VALUE = ARG_NAME ~ "={{ " ~ ARG_MINIMAL_VALUE ~ " }}" %}}
10+
{{% elif ARG_VARIABLE %}}
811
{{{ ansible_instantiate_variables(ARG_VARIABLE) }}}
912
{{% set ARG_NAME_VALUE = ARG_NAME ~ "={{ " ~ ARG_VARIABLE ~ " }}" %}}
1013
{{% endif %}}

shared/templates/grub2_bootloader_argument/bash.template

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,10 @@
44
Product-specific categorization should be synced across all template content types
55
-#}}
66

7-
{{%- if ARG_VARIABLE %}}
7+
{{%- if ARG_MINIMAL_VALUE %}}
8+
{{{- bash_instantiate_variables(ARG_MINIMAL_VALUE) }}}
9+
{{%- set ARG_NAME_VALUE = ARG_NAME ~ "=$" ~ ARG_MINIMAL_VALUE %}}
10+
{{%- elif ARG_VARIABLE %}}
811
{{{- bash_instantiate_variables(ARG_VARIABLE) }}}
912
{{%- set ARG_NAME_VALUE = ARG_NAME ~ "=$" ~ ARG_VARIABLE %}}
1013
{{% endif %}}

shared/templates/grub2_bootloader_argument/blueprint.template

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# platform = multi_platform_rhel,multi_platform_fedora,multi_platform_ol,multi_platform_rhv,multi_platform_ubuntu,multi_platform_sle,multi_platform_almalinux
2-
{{%- if ARG_VARIABLE %}}
2+
{{%- if ARG_MINIMAL_VALUE %}}
3+
{{%- set ARG_NAME_VALUE = ARG_NAME ~ "=(blueprint-populate " ~ ARG_MINIMAL_VALUE ~ ")" -%}}
4+
{{%- elif ARG_VARIABLE %}}
35
{{%- set ARG_NAME_VALUE = ARG_NAME ~ "=(blueprint-populate " ~ ARG_VARIABLE ~ ")" -%}}
46
{{%- endif %}}
57
[customizations.kernel]

shared/templates/grub2_bootloader_argument/kickstart.template

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@
44
# complexity = medium
55
# disruption = low
66

7-
{{%- if ARG_VARIABLE %}}
7+
{{%- if ARG_MINIMAL_VALUE %}}
8+
{{%- set ARG_NAME_VALUE = ARG_NAME ~ "=(kickstart-populate " ~ ARG_MINIMAL_VALUE ~ ")" -%}}
9+
{{%- elif ARG_VARIABLE %}}
810
{{%- set ARG_NAME_VALUE = ARG_NAME ~ "=(kickstart-populate " ~ ARG_VARIABLE ~ ")" -%}}
911
{{%- endif %}}
1012

shared/templates/grub2_bootloader_argument/tests/arg_not_in_entries.fail.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/bin/bash
22

3+
{{% if ARG_MINIMAL_VALUE %}}
4+
# platform = Not Applicable
5+
{{% else %}}
36
# platform = multi_platform_fedora,multi_platform_rhel
7+
{{% endif %}}
48
# packages = grub2,grubby
59

610
{{%- if ARG_VARIABLE %}}

shared/templates/grub2_bootloader_argument/tests/arg_not_in_etcdefaultgrub.fail.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/bin/bash
22

3+
{{% if ARG_MINIMAL_VALUE %}}
4+
# platform = Not Applicable
5+
{{% else %}}
36
# platform = multi_platform_all
7+
{{% endif %}}
48

59
{{%- if ARG_VARIABLE %}}
610
# variables = {{{ ARG_VARIABLE }}}=correct_value

shared/templates/grub2_bootloader_argument/tests/arg_not_in_etcdefaultgrub_recovery_disabled.fail.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/bin/bash
22

3+
{{% if ARG_MINIMAL_VALUE %}}
4+
# platform = Not Applicable
5+
{{% else %}}
36
# platform = multi_platform_all
7+
{{% endif %}}
48
{{%- if ARG_VARIABLE %}}
59
# variables = {{{ ARG_VARIABLE }}}=correct_value
610
{{%- set ARG_NAME_VALUE= ARG_NAME ~ "=correct_value" %}}

shared/templates/grub2_bootloader_argument/tests/arg_not_in_grubenv_and_not_referenced.pass.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/bin/bash
22

3+
{{% if ARG_MINIMAL_VALUE %}}
4+
# platform = Not Applicable
5+
{{% else %}}
36
# platform = Oracle Linux 8,Red Hat Enterprise Linux 8
7+
{{% endif %}}
48
# packages = grub2,grubby
59

610
{{%- if ARG_VARIABLE %}}

shared/templates/grub2_bootloader_argument/tests/arg_not_in_grubenv_but_referenced.fail.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
#!/bin/bash
22

3+
{{% if ARG_MINIMAL_VALUE %}}
4+
# platform = Not Applicable
5+
{{% else %}}
36
# platform = Oracle Linux 8,Red Hat Enterprise Linux 8
7+
{{% endif %}}
48
# packages = grub2,grubby
59
{{%- if ARG_VARIABLE %}}
610
# variables = {{{ ARG_VARIABLE }}}=correct_value

0 commit comments

Comments
 (0)