HomePhorge

(#8412) Add optional type-level validation of the source parameter
878ea2543270Unpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

(#8412) Add optional type-level validation of the source parameter

We need to be able to make the source parameter required for the MSI
provider, since the .msi is directly used for installation, and
uninstallation of the package.

To accomplish this we add a validate_source method to the base package
provider class that treats source as always valid to ensure there is
no behavioral change with any of the existing providers, and we will
override this in the MSI provider to make sure that it is set, and not
an empty-string.

Details

Provenance
Jacob Helwig <jacob@puppetlabs.com>Authored on
vanmeeuwenPushed on Jun 2 2015, 2:22 PM
Parents
rPUdad075d090e7: Correct grammar in parameter comment
Branches
Unknown
Tags
Unknown

Event Timeline

Jacob Helwig <jacob@puppetlabs.com> committed rPU878ea2543270: (#8412) Add optional type-level validation of the source parameter (authored by Jacob Helwig <jacob@puppetlabs.com>).Aug 26 2011, 9:47 PM