Closed PierreR closed 9 years ago
Because package is in the list of defaultTypes, the validation nativePackage does not seem to have any effect.
package
defaultTypes
nativePackage
For instance this works without error:
package { 'stash': ensure => $version, coco => 'toto', }
Another issue is the fact that the validation for ensure on the package nativetype is too strict. According to https://docs.puppetlabs.com/references/latest/type.html#package-attribute-ensure, a version string might be used.
ensure
Could you review these changes ? Thx
Looks good to me !
Because
package
is in the list ofdefaultTypes
, the validationnativePackage
does not seem to have any effect.For instance this works without error:
Another issue is the fact that the validation for
ensure
on the package nativetype is too strict. According to https://docs.puppetlabs.com/references/latest/type.html#package-attribute-ensure, a version string might be used.