Use grains dict directly when not traversing subdict

This commit is contained in:
jeanluc 2024-06-24 08:34:21 +02:00 committed by Daniel Wozniak
parent c2e0b57ba9
commit 6463994b4d

View file

@ -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