opened
dwmarshall
username_0
chefspec regards the target of a notification in a guarded resource as having been notified. See 878b562c5b80933fcecbaec1f0421dda0ded0617 for a demonstration. Unfortunately, I don't have the chefspec-fu needed to propose a fix, sorry.
Problem with Guarded Notifications
issue
created
jeffbyrnes
username_1
@username_0 I realize this question is from ages ago, but I dealt with this behavior, so maybe I can help. Chef regards a notification as overriding any guard, based on my anecdotal experience.

I had to change how I handled certain resources as a result of this; I had assumed that a guard would “win out” over a notification or subscription.
comment