Experts,
I am in a situation where I want to use a resource (file) provided by chef but I want to write my own provider for that I will pass with 'provider' attribute for 'file' resource.
I do not want to write an LWRP (resource and provider). I just want to use a resource that is there but the provider should be the one that I am defining.
How can I just write a provider and override the provider provided by chef for a resource? What are the classes that I need to use/inherit? Where do I put my class on chef-server?