Overriding default providers

29 views
Skip to first unread message

Paul.S...@barcap.com

unread,
Oct 12, 2012, 3:19:18 AM10/12/12
to puppet...@googlegroups.com
Hello,
 
I have a need to extend a default provider. Now whilst I can/will raise a request to add the required functionality to the blastwave.rb provider in the short-term what would be the best way to use my extended version.
 
I can add the updated provider to my global module which drops my custom versions in and pluginsync pulls that into $libdir fine.
 
But what is the lookup path list. Will Puppet go to $rubysitedir/... before $libdir or will my synced version get used first consistently ?
 
Thanks
Paul

jcbollinger

unread,
Oct 12, 2012, 9:29:14 AM10/12/12
to puppet...@googlegroups.com

You can test and see whether your custom provider gets chosen.  The choice should be consistent, at least as long as the set of other providers remains constant.   Safer, though, would be to explicitly specify the provider to use via your resources' 'provider' parameter.


John

Reply all
Reply to author
Forward
0 new messages