Skip to content

Commit

Permalink
Use grains dict directly when not traversing subdict
Browse files Browse the repository at this point in the history
  • Loading branch information
lkubb authored and dwoz committed Oct 8, 2024
1 parent c2e0b57 commit 6463994
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/ref/states/requisites.rst
Original file line number Diff line number Diff line change
Expand Up @@ -563,7 +563,7 @@ The ``onfail`` requisite is applied in the same way as ``require`` and ``watch``
notify-build_failure:
hipchat.send_message:
- room_id: 123456
- message: "Building website fail on {{ salt['grains.get']('id') }}"
- message: "Building website fail on {{ grains['id'] }}"
The default behavior of the ``onfail`` when multiple requisites are listed is
Expand Down

0 comments on commit 6463994

Please sign in to comment.