stschulte/puppet — comment on commit 9686de4ad6a0d9c29be67a7d0d9c2f502cb56789
File: spec/unit/type_spec.rb line 626
By stschulte:

You're right about the first one. I will remove that method from the provider. About the second one: The instances method of the type first assumes that there are providers to get instances from. In case there are no providers (=providerless type) the type developer has to overwrite the instances method (like the current `yumrepo` type does). So if I remove the unsuitable provider, puppet will throw the following error: `foo has no providers and has not overridden 'instances'`