vcsrepo will disply warning if multiple version control executables are installed
|Status:||Merged - Pending Release||Start date:||02/22/2011|
on the machine, both cvs and svn are installed
warning: Found multiple providers for vcsrepo: svn, cvs; using svn
#4 Updated by micah - over 1 year ago
I get this message on a system that only has git installed, yet it still picks the default as ‘svn’.
I agree with Nan Liu’s comment 5 months ago, there is no sense is guessing what the provider should be, the type of repository should just be a required parameter.
#5 Updated by Aaron Stone 8 months ago
I just posted about this in #16598 — reading the code, I suspect there’s a way we can mark which provider will be the default in the event of multiple providers being “suitable” (meaning: they have the requisite binaries available).
This does not appear to have anything to do with not specifying a provider in an instance of vcsrepo — rather, puppet’s types system always wants to figure what might be the default provider for a type.