- From: Christopher Armstrong <
>
- To:
- Subject: [chef] Using platform_family in a provider?
- Date: Tue, 24 Dec 2013 14:14:05 -0500
Ohai Chefs,
I'm doing some Christmas Eve hacking, and I think I'm not approaching something properly.
Essentially, I need to conditionalize code in a provider based on the node's platform_family, but I don't believe I have access to the node objects or methods within a provider. I could pass it in as a parameter, but that seems clunky - the user of the provider shouldn't care about this detail. It's something I want to abstract.
Could someone point me in the right direction? I still get confused about what Chef methods are available in recipes, libraries, providers, etc.
Happy Holidays!
Chris
- [chef] Using platform_family in a provider?, Christopher Armstrong, 12/24/2013
Archive powered by MHonArc 2.6.16.