hw-cookbooks/aptly — pull request #13 by serjs (2014-09-29 13:23:44+00:00)
Title: Use exact matches in provider not_if checks

Hi!

I just realized that some resource naming can skipped with not_if chef guard due partly matching of grep pipeline. I suggest use exact matching with ^$ for checking resource existence in my pr.

Maybe it's not best refined method, but can work for almost all cases. Nearly variant for this is -Fx for grep, but it may depends from different grep versions on various distributions.