choco sources/choco source was introduced in v0.9.8.20 and has had at least two very significant changes since it was introduced:
- Setting user/password - v0.9.9.0
- Setting explicit priority - v0.9.9.9
The docs related to source are located at https://github.com/chocolatey/choco/wiki/CommandsSources
On first converge it is to be able to install Chocolatey, set source configuration AND install packages using that configuration set. This means it must be done as a custom type so that one can discover what version of Chocolatey was just installed, as custom types are the only thing that always runs client side.
This is evaluated as a 5 over a 3 (other similar tickets) due to its need to provide backwards compatibility with older POSH choco clients.