Skip to content

Commit

Permalink
Make notifiers stateful
Browse files Browse the repository at this point in the history
  • Loading branch information
ferricoxide committed Mar 13, 2024
1 parent bf9a8d3 commit 6d1de77
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions ash-linux/el8/STIGbyID/cat1/RHEL-08-010140.sls
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ script_{{ stig_id }}-describe:
cmd.script:
- source: salt://{{ helperLoc }}/{{ stig_id }}.sh
- cwd: /root
- statueful: True
{%- if stig_id in skipIt %}
notify_{{ stig_id }}-skipSet:
Expand Down
1 change: 1 addition & 0 deletions ash-linux/el8/STIGbyID/cat1/RHEL-08-010150.sls
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ script_{{ stig_id }}-describe:
cmd.script:
- source: salt://{{ helperLoc }}/{{ stig_id }}.sh
- cwd: /root
- statueful: True
{%- if stig_id in skipIt %}
notify_{{ stig_id }}-skipSet:
Expand Down
2 changes: 2 additions & 0 deletions ash-linux/el8/STIGbyID/cat1/files/RHEL-08-010140.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ diag_out " RHEL 8 must require authenticated"
diag_out " user in order to access single-"
diag_out " user and maintenance modes"
diag_out "--------------------------------------"

printf "\nchanged=no comment=''Informational Only''\n"'
2 changes: 2 additions & 0 deletions ash-linux/el8/STIGbyID/cat1/files/RHEL-08-010150.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,5 @@ diag_out " RHEL 8 must require authenticated"
diag_out " user in order to access single-"
diag_out " user and maintenance modes"
diag_out "--------------------------------------"

printf "\nchanged=no comment=''Informational Only''\n"'

0 comments on commit 6d1de77

Please sign in to comment.