Chef 12.6 introduced :before, use it to enable extension before migration or database seed.

Merged Marin Jankovski requested to merge enable_pg_trgm_with_before_run into master

With !704 (merged) , Chef got upgraded to 12.6.

That version has a new feature to run a notification before resource is ran.

Use this feature to resolve #1189 (closed) .(and similar)

Edited by GitLab Release Tools Bot