- From: Yvonne Lam <
>
- To:
- Subject: [chef] Re: Overriding chef built-in providers
- Date: Fri, 21 Mar 2014 18:10:03 -0700
I just today learned how to override one of chef's providers with a
heavyweight provider, code snippet here:
https://gist.github.com/yzl/9699474
HTH
On Thu, Mar 20, 2014 at 8:40 AM, Guy Matz
<
>
wrote:
>
Hi! I would like to override the mount provider so that it does try to mount
>
in my dev environment . . I was hoping to add a mount cookbook with a
>
provider that would simply check the chef environment and make super calls
>
if the environment is not dev.
>
>
Is this stupid? Anyone have a better way? If this doesn't sound terrible,
>
then can someone say if what I want to do is possible? I couldn't find
>
anything on the nets about overriding providers . .
>
>
Thanks a lot,
>
Guy
Archive powered by MHonArc 2.6.16.