I write a custom Lightweight resource. But the notifies and only_if is not recognized.
Anyone else get this working?
I use these in opsworks supplies resources. So I know I am using them correctly. Unfortunately proprietary code, so I can't post the code.
Ok. RTFM. Well not really. I did not find this specific issue covered. If you write your own light weight resource and want to be able to use notifies, then use
new_resource.updated_by_last_action(false) or
new_resource.updated_by_last_action(true)
in your resource action code.
notifies will then happen (true) or not happen(false).