Pass resource to blocks in augopen when yield_resource=true
Use define_augmethod in nrpe_command provider