We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d3f0ab commit a20943aCopy full SHA for a20943a
1 file changed
shared/templates/file_owner/tests/incorrect_owner.fail.sh
@@ -2,7 +2,10 @@
2
{{%- if NO_REMEDIATION %}}
3
# remediation = none
4
{{%- endif %}}
5
+
6
useradd testuser_123
7
8
+{{% set OWNERS=UID_OR_NAME.split("|") %}}
9
{{%- for own in OWNERS %}}
10
id "{{{ own }}}" &>/dev/null || useradd {{{ own }}}
11
{{%- endfor %}}
0 commit comments